运行指向:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORYELLOW,LINETHICK2;
介入:IF(REF(运行指向,2)>REF(运行指向,1) AND 运行指向>REF(运行指向,1),1,0);
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF(VAR9>100,VAR9-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,8);
大仓持有:EMA(VAR12,13),POINTDOT,COLORRED;
介入1:IF(REF(大仓持有,2)>REF(大仓持有,1) AND 大仓持有>REF(大仓持有,1),1,0);
XG:大仓持有>REF(大仓持有,1);
STICKLINE(VAR12-大仓持有>0,VAR12,大仓持有,3.5,0),COLORRED;
STICKLINE(VAR12-大仓持有< 0,VAR12,大仓持有,3.5,0),COLORGREEN;
短:100*(CLOSE-LLV(LOW,5))/(HHV(CLOSE,5)-LLV(LOW,5)),COLORGRAY;
中:100*(CLOSE-LLV(LOW,10))/(HHV(CLOSE,10)-LLV(LOW,10)),COLORLIGRAY;
中长:100*(CLOSE-LLV(LOW,20))/(HHV(CLOSE,20)-LLV(LOW,20)),COLORBROWN;
长:100*(CLOSE-LLV(LOW,30))/(HHV(CLOSE,30)-LLV(LOW,30)),COLORRED,LINETHICK3;
20,POINTDOT;
50,POINTDOT;
80,POINTDOT;
甲:DRAWTEXT(短< 10 AND 长>60,80,2),COLORCYAN;
乙:DRAWTEXT(短< 6 AND 中< 6 AND 长< 6,50,6),COLORCYAN;
丙:DRAWTEXT(短=0 AND 中=0 AND 长=0,20,27),COLORCYAN;
丁:DRAWTEXT(短=100 AND 中=100 AND 长=100,80,28),COLORCYAN;