通达信VOL-TDX 虚拟成交量主图源码

 2023-09-02 11:22:56    通达信指标网  

M1=5   

M2=10   

  

VOLUME:VOL,VOLSTICK;   

V5:MA(VOLUME,5);   

V10:MA(VOLUME,10);   

V20:MA(VOLUME,20);   

V60:MA(VOLUME,60);   

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

主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),colorred,POINTDOT;   

主卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;   

  •  标签:  

原文链接:https://www.tdxzb.com/?id=1566

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服