各种柱子结合MACD及KDJ,把握波段准确率达85%
VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);
VAR6:=MA(VAR5,3);
开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;
STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF;
STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF;
VAR1:=EMA(EMA(CLOSE,3),1);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘<0,控盘,0,3.5,0),COLORAAFF00;
STICKLINE(控盘<0,控盘,0,3.5,2),colorcyan;
主力出货:0,colorcyan;
STICKLINE(控盘<0,控盘,0,0,0),colorcyan;
STICKLINE(控盘<0,控盘,0,2.5,0),colorcyan;
主力吸货:0,colorred;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),colorred;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),colorred;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),colorred;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),colorred;
STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),colorred;
STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),colorred;
对倒出货洗盘:0,COLOR00FF00;
STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),colorgreen;
STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),colorgreen;
黄色底部吸货:0,coloryellow;
STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3,0),coloryellow;
DRAWTEXT(CROSS(控盘,0),0-3,'买。追'),COLORFF00FF;
DRAWTEXT(CROSS(0,控盘),0-0,'卖'),colorgreen;
RSV2:=(CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*100;
K2:SMA(RSV2,3,1),colorred;
D2:SMA(K2,2,1);
STICKLINE(K2-D2>0,K2,D2,8,0),colorlired;
DIF1:EMA(CLOSE,6)*33-EMA(CLOSE,16)*33,colormagenta;
DEA1:EMA(DIF1,3);