超级短线(短买、出定)
VAR3:=PEAKBARS(3,4,1)
VAR5:=IF(VAR3=1,2,0);
顶:=IF(VAR5=2,4,0);
AR1:=EMA(OPEN,7);
AR2:=EMA(AR1,21);
AR3:=CROSS(AR1,AR2);
AR5:=EMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,16)-LLV(LOW,20))*100,8,3),3);
短买:IF(TROUGHBARS(1,3,1)=0 AND HIGH LOW+0,30,4),COLORRED;
出定:IF(顶 REF(顶,1),0,26),COLORGREEN;
DRAWTEXT(短买=30,22,' 短买'),COLORRED;
DRAWTEXT(出定=0,7,' 出定!'),COLORGREEN;