N:=34;M:=3;
28,COLORFFFFFF;
VAR1:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),M)/4,COLORFFFF00,LINETHICK2;
VAR2:IF(VAR1>23.16,VAR1,0),COLOR00FFFF,LINETHICK1;
BB:IF(VAR1<2,6,0),COLOR00FFFF,LINETHICK4;
DD:IF(VAR1>21.5,25.5,28),COLOR0000FF,LINETHICK4;
AA:IF(VAR1>23.16,24.5,28),colorred,LINETHICK4;
STICKLINE(C>0,2,2,2,0),COLORFF00FF;
STICKLINE(C>0,5,5,2,0),COLOR00FFFF;
STICKLINE(C>0,23.16,23.16,2,0),COLORFF0000;
顶底线:VAR1,,COLORFFFF00,LINETHICK2;
DRAWICON(CROSS(顶底线,2),2,23);
DRAWICON(CROSS(顶底线,5),5,13);
DRAWICON(CROSS(21.5,顶底线),21.5,14);
DRAWICON(CROSS(23.16,顶底线),23.16,15);