C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
- STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;
- VOLUME:VOL,VOLSTICK;
- V5:MA(VOLUME,5);
- V10:MA(VOLUME,10);
- V135:MA(VOLUME,135);
- 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;
- STICKLINE(主买>0,0,主买,2,0),COLORRED;
- {STICKLINE(主卖>0,主买,VOL,2,1),COLOR00FF80;}
- STICKLINE(主买<REF(主买,1)AND 主买>0,0,主买,2,0),COLOR00FFFF;
- 换手:VOL/CAPITAL*100,POINTDOT;
- 二十日换手:SUM(换手,20);
- IF(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),VOLUME*5,0),COLORYELLOW,LINETHICK2;