以下是通达信主力控筹指标源码副图附图(无源码的请下载附件导入)
主力控筹指标 (源码、副图、通达信、附图)
VAR2:=MA(CLOSE,60);
VAR3:=MA(CLOSE,2);
VAR6:=100*(WINNER(VAR2*1.1)-WINNER(VAR2*0.9));
VAR7:=100*(WINNER(VAR2*1.1)-WINNER(VAR3*0.85));
主力动向:=IF((VAR6-VAR7)*2>0,(VAR6-VAR7)*2,0);
主力控筹:=IF((0.1-WINNER(C/1.1))*100<0,(0.1-WINNER(C/1.1))*100,0);
生命线:=100*WINNER(CLOSE);
顶线:=ABS((COST(50)-CLOSE)/CLOSE*100);
庄筹:(WINNER(C)-WINNER(C*0.2))*100,COLORFFFFFF;
70,DOTLINE;
STICKLINE(主力控筹,70,70-主力控筹,1.1,1),COLORYELLOW;
操作线:=SMA(生命线,3,1);
黄金窝:IF(顶线>操作线,-顶线,0),COLORGREEN,DOTLINE;
STICKLINE(主力动向,黄金窝,黄金窝+主力动向,1.2,0),COLORRED;
STICKLINE(顶线>操作线,主力动向,主力动向+庄筹,1.2,0),COLOR0000FF;
723311549.png
|