n:=27;
var1:4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1),COLORYELLOW,linethick1;
var2:8,colorgreen,linethick0;
上升在即: IF(CROSS(var1,var2),50,0),stick,ColorGreen,linethick2;
: IF(var1<=8,25,0),stick,COLORwhite,linethick2;
DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLORRED;
Varo5:=LLV(LOW,27);
Varo6:=HHV(HIGH,34);
Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25;
建仓区: IF((Varo7<10),80,100) ,ColorGreen,linethick1;
0,linethick0 ,colorffcc00;
DRAWTEXT(cross(85,var1),85,'▼'),colorred;
DRAWTEXT(CROSS(var1,35),35,'▲'),colorgreen;