当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是通达信短主力资金副图源码(无源码的请下载附件导入)
通达信短主力资金副图源码
{公式在线提供:www.gszx.com.cn}
C/C++ Code复制内容到剪贴板
- 总额:AMOUNT/100000000,NODRAW;
- VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
- 流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
- 流出亿:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
- 差:(流入亿+流出亿),NODRAW;
- 强:=EMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2);
- 主力:=EMA(差,1),COLORFF00FF,LINETHICK5;
- 差A:3*EMA(EMA(EMA(EMA(强,2),2),2),2),NODRAW;
- 净流:3*EMA(EMA(EMA(EMA(差A,1),2),2),2), COLORRED,NODRAW;
- STICKLINE(净流<0,0,净流,4,0),COLORFF6600;
- STICKLINE(净流<0,0,净流,3,0),COLORFF9900;
- STICKLINE(净流<0,0,净流,1.5,0),COLORFFCC00;
- STICKLINE(净流<0,0,净流,0.5,0),COLORCYAN;
- STICKLINE(净流>0,0,净流,4,0),COLOR000099;
- STICKLINE(净流>0,0,净流,3,0),COLOR0000CC;
- STICKLINE(净流>0,0,净流,1.5,0),COLOR0000FF;
- STICKLINE(净流>0,0,净流,0.5,0),COLORCC66FF;
- STICKLINE(净流<REF(净流,1)AND 净流>0,0,净流,4,0),COLOR009999;
- STICKLINE(净流<REF(净流,1)AND 净流>0,0,净流,3,0),COLOR00BBBB;
- STICKLINE(净流<REF(净流,1)AND 净流>0,0,净流,2,0),COLOR00DDDD;
- STICKLINE(净流<REF(净流,1)AND 净流>0,0,净流,1,0),COLOR00FFFF;
- STICKLINE(净流>REF(净流,1)AND 净流<0,0,净流,4,0),COLOR000099;
- STICKLINE(净流>REF(净流,1)AND 净流<0,0,净流,3,0),COLOR0000BB;
- STICKLINE(净流>REF(净流,1)AND 净流<0,0,净流,1.5,0),COLOR0000DD;
- STICKLINE(净流>REF(净流,1)AND 净流<0,0,净流,0.5,0),COLOR0000FF;
- DRAWTEXT(CROSS(0,净流),0+0,'空'),COLORRED;
- DRAWTEXT(CROSS(REF(净流,1),净流),净流-0,'注意'),COLORMAGENTA;
- DRAWTEXT(CROSS(净流,0),0,'关注 资金介入'),COLORWHITE;
- DRAWTEXT(CROSS(净流,0),0,'买'),COLORFF00FF;
上一篇:通达信买卖捕捉通达信副图说明源码 下一篇:通达信交易指标原创源码