VAR1:=EMA(EMA(CLOSE,9),9);
控盘:(VAR1-REF(VAR1,1))/REF(VAR1,1)*10000,COLORFFCCCC,POINTDOT;
STICKLINE(控盘 0,控盘,0,2,0),COLORWHITE;
KP2:MA(控盘,2),COLORGREEN,LINETHICK2;
KP5:MA(控盘,5),COLORMAGENTA,LINETHICK2;
无庄控盘:控盘 0,COLORWHITE;
STICKLINE(控盘 REF(控盘,1) AND 控盘 0,控盘,0,2,1),COLORRED;
有庄控盘: 控盘 REF(控盘,1) AND 控盘 0,COLORRED;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盘 REF(控盘,1) AND 控盘 0,控盘,0,2,0),COLOR00FF00;
出货: 控盘 REF(控盘,1) AND 控盘 0,COLOR00FF00;
STICKLINE(VAR2 50 AND COST(85) CLOSE AND 控盘 0,控盘,0,2,0),COLORFF00FF;
高度控盘: VAR2 50 AND COST(85) CLOSE AND 控盘 0,COLORFF00FF;
A10:=CROSS(控盘,0);
开始控盘:IF(A10,6,0),COLORYELLOW;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2,COLORSTICK,LINETHICK2;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
短期线:=B+100;
中期线:=D+100;
长期线:=A+100;
低位:=长期线 15 AND REF(长期线,1) 15 AND 中期线 18 AND 短期线 REF(短期线,1)
AND CROSS(短期线,长期线) AND 短期线 中期线
AND (REF(短期线,1) 5 OR REF(短期线,2) 5 ) AND (中期线 =长期线 OR REF( 短期线,1)
MA1:=MA(CLOSE,M1);MA2:=MA(CLOSE,M2);MA3:=MA(CLOSE,M3);
MA4:=MA(CLOSE,M4);MA5:=MA(CLOSE,M5);MA6:=MA(CLOSE,M6);MA7:=MA(CLOSE,M7);
DRAWICON((控盘 REF(控盘,1) AND 控盘 0) OR (VAR2 50 AND COST(85) CLOSE AND 控盘 0)
OR (KP5 REF(KP5,1) AND 控盘 -20) ,-1,1),COLORRED;
DRAWICON((KP2 KP5 AND KP2 REF(KP2,1) AND KP5 REF(KP5,1)) OR 控盘 -30 OR (控盘
REF( 控盘,1) AND 控盘 80) OR (KP2 REF(KP2,1) AND 控盘 REF( 控盘,1) AND REF( 控
盘,1) 0) ,1,2),COLORWHITE;
DRAWICON( KP5 REF(KP5,1) AND 控盘 0,1,2),COLORWHITE;
VAR312:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR412:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
洗盘调整完毕:(VAR312 -6 AND VAR412 -6 AND KDJ.J -6)+0.5,COLORFF00FF;
DRAWICON(VAR312 -6 AND VAR412 -6 AND KDJ.J -6,1.5,1);