Var1:=(2*CLOSE+HIGH+LOW)/4; Var2:=LLV(LOW,34);
Var3:=HHV(HIGH,34);
xx:EMA((Var1-Var2)/(Var3-Var2)*100,13),colorred;
yy:EMA(0.667*REF(xx,1)+0.333*xx,2),colorgreen;
STICKLINE(CROSS(xx,20) AND yy<xx,xx+19,xx-10,4,0),colorred;
DRAWTEXT(CROSS(xx,20) AND yy<xx,xx-5,'3% ');
STICKLINE(yy<xx,xx,yy,4,0),colorred;
STICKLINE(xx<yy,xx,yy,4,0),colorgreen;
选股:IF(CROSS(xx,yy) AND xx<20 ,30,0),coloryellow;
逃顶:IF(FILTER(CROSS(YY,XX) AND xx>80 ,3),60,90),colorgreen;
|
