源码
N1:=5;N2:=10;
200 ,pointdot,linethick2 ,colorbbbbbb;
-200, pointdot,linethick2 ,colorf0f000;
TYP := (HIGH + LOW + CLOSE)/3;
JG1:=(TYP-MA(TYP,N1))/(0.015*AVEDEV(TYP,N1));
JG2:=(TYP-MA(TYP,N2))/(0.015*AVEDEV(TYP,N2));
JGA:=EMA(JG1,13 );
JGB:=EMA(JG2,13);
aa:=cross(jg2,-200) and jg1>-100;
s1:stickline(jga> jgb,jga,jgb,6,1), colorred;
s2:stickline(jga< jgb,jgb,jga,6,1), color00ff00;
drawtext(cross(jgb,jga)and jgb>0,150,'$逃顶'),linethick2 ,color9999ff;
drawtext(filter(aa,5)=1,0,'$抄底'),linethick2, coloryellow;
stickline(cross(jgb,jga)and jgb>0,80,200,10,0),color00ff00 ;
stickline(filter(aa,5)=1,0,-200,10,0),colorred;