通达信真实成交量能公式

[复制链接]
查看190 | 回复0 | 2022-7-24 09:03:37 | 显示全部楼层 |阅读模式

 通达信真实成交量能公式

{牛牛指标网提供:www.tdx001.com}

复制内容到剪贴板
  1. 【手】:VOL,LINETHICK,COLOR00FFFF;   
  2. CC:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);   
  3. 虚拟成交:STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,CC,0,-1,-1),COLOR00C0C0;   
  4.   
  5. CB:=IF(CAPITAL>1,AMOUNT/VOL/100,(HIGH+LOW+2*CLOSE)/4);   
  6. 空1:=IF((HIGH-LOW)>0 AND CLOSE>CB, ((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CLOSE)   
  7. /(HIGH-CB))*((HIGH-CB)/(HIGH-LOW)*VOL) ,0);   
  8. 多1:=IF((HIGH-LOW)>0 AND CLOSE>CB, VOL-空1 ,0);   
  9. 多2:=IF((HIGH-LOW)>0 AND CLOSE<=CB, ((CLOSE-LOW)/(CB-LOW))*((CLOSE-LOW)   
  10. /(CB-LOW))*((CB-LOW)/(HIGH-LOW)*VOL) ,0);   
  11. 空2:=IF((HIGH-LOW)>0 AND CLOSE<=CB, VOL-多2 ,0);   
  12. 多3:=IF((HIGH-LOW)=0 AND CLOSE>REF(CLOSE,1), VOL,0);   
  13. 空3:=IF((HIGH-LOW)=0 AND CLOSE<=REF(CLOSE,1), VOL,0);   
  14. 多方量:=(多1+多2+多3)/1.15;   
  15. STICKLINE(CLOSE>REF(CLOSE,1),【手】,0,2.5,0),COLOR003388;   
  16. STICKLINE(CLOSE>REF(CLOSE,1),【手】,0,1.0,0),COLOR0066DD;   
  17. STICKLINE(CLOSE>REF(CLOSE,1),【手】,0,0,0),COLOR00AADD;   
  18. STICKLINE(CLOSE<=REF(CLOSE,1),【手】,0,2.5,0),COLOR666600;   
  19. STICKLINE(CLOSE<=REF(CLOSE,1),【手】,0,1.0,0),COLOR999900;   
  20. STICKLINE(CLOSE<=REF(CLOSE,1),【手】,0,0,0),COLOR99AA00;   
  21. STICKLINE(多方量,多方量,O,2.5,0),COLOR000099;   
  22. STICKLINE(多方量,多方量,O,1,0),COLOR0000DD;   
  23. STICKLINE(多方量,多方量,O,0,0),COLORAA33DD;  

A275833902.gif

A275833902.gif

 

 

回复

使用道具 举报

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

本版积分规则