通达信全能资金异动指标公式
2021/2/10 19:19:14
N:=5;
{================背景 ================};
DRAWGBK(ISLASTBAR, RGB(60,60,60),RGB(0,0,0),0,'0',0);
EDV:=IF(C>REF(C,1),V*100,-V*100);
EDV1:=IF(C>REF(C,1)*1.02,EDV*1.5,V);
EDV2:=IF(C>REF(C,1)*1.05,EDV*2,V);
EDV3:=IF(C>REF(C,1)*1.07,EDV*2.5,V);
EDVD:=MAX(MAX(EDV1,EDV2),EDV3);
SM:SUM(EDVD,N);
DRAWBAND(SM,180,CONST(MA(SM,20)),RGB(39,139,39));
STICKLINE(SM<=REF(SM,1) AND SM>CONST(MA(SM,20)),SM,CONST(MA(SM,20)),0,0),COLORGREEN;
XG:EDVD/REF(V,1)>200;
DRAWTEXT(XG=1,CONST(MA(SM,20)),'异动'),COLORYELLOW;
投股票 网 w ww.tou18.cn
股市公式下载推荐