大智慧资金流2指标公式

12-01 00:03 资金指标公式

VAR1 :=AMOUNT/10000;
DF:=EMA(VAR1,12)-EMA(VAR1,26);
DA:=EMA(DF,9);
VAR2 :2*(DF-DA),linethick0;
VAR3:=VAR2 >REF(VAR2 ,1) AND VAR2 >0;
VAR4:=VAR2 >=0;
VAR5:=VAR2 <REF(VAR2 ,1) AND VAR2 <0;
VAR6:=VAR2 <=0;
STICKLINE(VAR3 or VAR4,VAR2 ,0,8,0),COLOR0055AA;
STICKLINE(VAR3 or VAR4,VAR2 ,0,5,0),COLOR0077CC;
STICKLINE(VAR3 or VAR4,VAR2 ,0,3,0),COLOR0099DD;
STICKLINE(VAR3 or VAR4,VAR2 ,0,1,0),colorwhite;
STICKLINE(VAR5 or VAR6,VAR2 ,0,8,0),COLOR006600;
STICKLINE(VAR5 or VAR6,VAR2 ,0,5,0),COLOR009900;
STICKLINE(VAR5 or VAR6,VAR2 ,0,3,0),COLOR00BB00;
STICKLINE(VAR5 or VAR6,VAR2 ,0,1,0),colorwhite;

DIFF:DF,colorff00ff,layer7;
DEA:DA,COLORFFFF00;
AA:=ma(AMOUNT,5)/10000;
BB:=ma(AMOUNT,10)/10000;
DRAWTEXTREL(710,40,'今日:'+NUMTOSTRN(VAR1,2)+' 万元'),colorff00ff,layer7;
DRAWTEXTREL(710,160,'五日均量:'+NUMTOSTRN(AA,2)+' 万元'),COLORFFFF00;
DRAWTEXTREL(710,280,'十日均量 :'+NUMTOSTRN(BB,2)+' 万元'),colorwhite;
DRAWGBK(C,STRIP(RGB(0,0,50),RGB(0,30,140),0));

大智慧资金流2指标公式

版权声明

本文仅代表作者观点,不代表无忧指标公式网立场。
本文系作者授权无忧指标公式网发表,未经许可,不得转载。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。本站无任何QQ群微信群