以下是通达信XY挡板主图(公式源码贴图)(无源码的请下载附件导入)
通达信公式 XY挡板主图
GL:=LOG(EXP(INDEXC/REF(INDEXC,1)*REF(C,1)/C));
上板:DRAWBAND(EMA(EMA(EMA(EMA(MA(C,20)+GL*STD(C+SUM(C-REF(C,5),5)/5,30),20),20),20),20),RGB(125,125,255),EMA(EMA(EMA(EMA(MA(C,20)+GL*STD(C,60),20),20),20),20),RGB(125,125,255));
DWMA:=EMA(EMA(EMA(EMA(EMA(EMA(MA(C,20)-GL*STD(C,60),20),60),30),20),10),5);
下板:EMA(EMA(EMA(O,30)*(1+GL)/1.5,5),10); |