把博易BOLL指标改为通达信
-
相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: (主图叠加) A:=EMA(CLOSE,20) - EMA(CLOSE,60); B:=EMA(A,8); D:=2*(A-B); FILLRGN(D0,MA(C,20),MA(C,20)+D),COLOR00FFFF; FILLRGN(D0,MA(C,20),MA(C,20)+D),COLORFF0000; MID:=MA(CLOSE,20); MID+2*STD(CLOSE,20),COLOR0000FF; MID-2
-
文章来源:股海网作者:股海网发布时间:2019-03-28浏览次数:
编写要求:
www.guhai.com.cn股海网解答:
网友求助:
(主图叠加)
A:=EMA(CLOSE,20) - EMA(CLOSE,60);
B:=EMA(A,8);
D:=2*(A-B);
A:=EMA(CLOSE,20) - EMA(CLOSE,60);
B:=EMA(A,8);
D:=2*(A-B);
FILLRGN(D>0,MA(C,20),MA(C,20)+D),COLOR00FFFF;
FILLRGN(D<0,MA(C,20),MA(C,20)+D),COLORFF0000;
MID:=MA(CLOSE,20);
MID+2*STD(CLOSE,20),COLOR0000FF;
MID-2*STD(CLOSE,20),COLOR00FF00;
解答如下:
A:=EMA(CLOSE,20) - EMA(CLOSE,60);
B:=EMA(A,8);
D:=2*(A-B);
DRAWBAND(MA(C,20),RGB(0,0,255),MA(C,20)+D,RGB(255,255,0));
MID:=MA(CLOSE,20);
MID+2*STD(CLOSE,20),COLOR0000FF;
MID-2*STD(CLOSE,20),COLOR00FF00;
B:=EMA(A,8);
D:=2*(A-B);
DRAWBAND(MA(C,20),RGB(0,0,255),MA(C,20)+D,RGB(255,255,0));
MID:=MA(CLOSE,20);
MID+2*STD(CLOSE,20),COLOR0000FF;
MID-2*STD(CLOSE,20),COLOR00FF00;