N:=14;
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),COLORRED,LINETHICK1;
VAR2:8,COLORCYAN,LINETHICK1;
上升在即: IF(crOSS(VAR1,VAR2),50,0),STICK,COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(VAR1,VAR2),50,'买'),COLORWHITE;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=ema((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),80,100) ,COLORFFFF00,LINETHICK1;
0,LINETHICK2 ,COLORFFCC00;
IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),COLORWHITE,LINETHICK2;
IF(VAR1<REF(VAR1,1),VAR1,DRAWNULL),COLORFF9900,LINETHICK2;