当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是真实成交量能(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 【手】: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;
上一篇:分时指标,愿赌服输四段分时! 下一篇:【恶狼决策】主图、增加配套全仓选股