通达信买卖盘副图指标 贴图

[复制链接]
查看56 | 回复0 | 2021-8-20 02:36:43 | 显示全部楼层 |阅读模式

以下是通达信买卖盘副图指标 贴图(无源码的请下载附件导入)

红色买盘,绿色卖盘,可以看买卖的强弱对比


 量:VOL,VOLSTICK;

VAR1:=DYNAINFO(17)*REF(MA(VOL,5),1);
 VAR2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;

预测量:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2);
 STICKLINE(IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2),0,VAR1,4,1);

TT:=IF(HOUR>12,(HOUR-13)*60+MINUTE+120,(HOUR-9)*60+MINUTE-30);
 P:=IF(ISLASTBAR,BARSLAST(TT=1),0);
 T:=BACKSET(P,P+1);
 VV:=IF(T=1,V,0);

量比:100*DYNAINFO(17)*(SUM(VV,TT)/TT)/(DYNAINFO(8)/FROMOPEN),;
换手率%:VOL/CAPITAL*100;

AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED;
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),COLORGREEN;
主动买盘%:主动买盘/VOL*100,COLOR6600FF,NODRAW;
主动卖盘%:ABS(主动卖盘/VOL*100),COLOR008800,NODRAW;

STICKLINE(VOL>0,0,VOL,0.8,0),COLOR008800;
 STICKLINE(主动买盘>0,0,主动买盘,0.8,0),COLOR6600FF;


221199914.png

221199914.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则