真实成交量能-精品通达信指标公式源码分享

通达信免费指标 10-18 阅读:81 评论:0

image.png

【手】:VOL,LINETHICK,COLOR00FFFF;   

CC:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);   

虚拟成交:STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,CC,0,-1,-1),COLOR00C0C0;   

CB:=IF(CAPITAL>1,AMOUNT/VOL/100,(HIGH+LOW+2*CLOSE)/4);   

空1:=IF((HIGH-LOW)>0 AND CLOSE>CB, ((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CLOSE)   

/(HIGH-CB))*((HIGH-CB)/(HIGH-LOW)*VOL) ,0);   

多1:=IF((HIGH-LOW)>0 AND CLOSE>CB, VOL-空1 ,0);   

多2:=IF((HIGH-LOW)>0 AND CLOSE<=CB, ((CLOSE-LOW)/(CB-LOW))*((CLOSE-LOW)   

/(CB-LOW))*((CB-LOW)/(HIGH-LOW)*VOL) ,0);   

空2:=IF((HIGH-LOW)>0 AND CLOSE<=CB, VOL-多2 ,0);   

多3:=IF((HIGH-LOW)=0 AND CLOSE>REF(CLOSE,1), VOL,0);   

空3:=IF((HIGH-LOW)=0 AND CLOSE<=REF(CLOSE,1), VOL,0);   

多方量:=(多1+多2+多3)/1.15;   

STICKLINE(CLOSE>REF(CLOSE,1),【手】,0,2.5,0),COLOR003388;   

STICKLINE(CLOSE>REF(CLOSE,1),【手】,0,1.0,0),COLOR0066DD;   

STICKLINE(CLOSE>REF(CLOSE,1),【手】,0,0,0),COLOR00AADD;   

STICKLINE(CLOSE<=REF(CLOSE,1),【手】,0,2.5,0),COLOR666600;   

STICKLINE(CLOSE<=REF(CLOSE,1),【手】,0,1.0,0),COLOR999900;   

STICKLINE(CLOSE<=REF(CLOSE,1),【手】,0,0,0),COLOR99AA00;   

STICKLINE(多方量,多方量,O,2.5,0),COLOR000099;   

STICKLINE(多方量,多方量,O,1,0),COLOR0000DD;   

STICKLINE(多方量,多方量,O,0,0),COLORAA33DD;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服