大智慧控盘情况指标公式(源码、副图、贴图)
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘<0,控盘,0,4,0),COLORWHITE;
A10:=CROSS(控盘,0);
无庄控盘:=IF(控盘<0,控盘,0);
开始控盘:IF(A10,10,0),colorcyan;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,4,0),COLORRED;
有庄控盘:=IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0);
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,4,0),COLORFF00FF;
高度控盘:=IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0);
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,4,0),COLOR00FF00;
主力出货:=IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0);
VAR3:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR4:=SMA(SMA(VAR3,3,1),3,1)/28.57;
VAR5:=EMA(VAR4,5);
操盘:=3*VAR4-2*VAR5;
A1:=CROSS(操盘,VAR4) AND VAR4<2.1 AND C>O;
STICKLINE(A1,30,10,2,0),Color00FFFF;
DRAWTEXT(A1,25,' 全仓'),Color00FFFF;
DRAWTEXTREL(0,0,'(一)无庄控盘。'),COLORWHITE,linethick2;
DRAWTEXTREL(100,0,'(二)开始控盘。'),colorcyan,linethick2;
DRAWTEXTREL(200,0,'(三)有庄控盘。'),COLORRED,linethick2;
DRAWTEXTREL(300,0,'(四)高度控盘。'),COLORFF00FF,linethick2;
DRAWTEXTREL(400,0,'(五)主力出货。'),COLORGREEN,linethick2;
|