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;