把通达信的趋势彩带改成大趋智慧的
2020/1/15 18:26:57
公式编写说明:
请老师把通达信的趋势彩带改成大趋智慧的.AA:=MA((2*CLOSE+HIGH+LOW)/4,5); 通道1:=AA*102/100; 通道2:=AA*(200-102)/100; CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); DD:=DMA(CLOSE,CC); 通道3:=(1+7/100)*DD; 通道4:=(1-7/100)*DD;DRAWTEXT(CROSS(通道1,通道3),H*1.05,'逃'),COLORYELLOW;E5:=EMA(C,5);E13:=EMA(C,13);DRAWBAND(E5,RGB(200,0,0),E13,RGB(0,200,0));DRAWKLINE(H,O,L,C);
公式源码回答:
FILLRGN(EMA(C,5),EMA(C,13),EMA(C,5)>EMA(C,13),RGB(200,0,0),EMA(C,5)<EMA(C,13),RGB(0,200,0));
STICKLINE(c>o,c,o,7.8,1), COLORred;
STICKLINE(c>o,h,c,0.1,0), COLORred;
STICKLINE(c>o,l,o,0.1,0), COLORred;
STICKLINE(c<o,c,o,8,0), COLORffff00;
STICKLINE(c<o,h,o,0.1,0), COLORffff00;
STICKLINE(c<o,l,c,0.1,0), COLORffff00;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AA*102/100;
通道2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+7/100)*DD;
通道4:=(1-7/100)*DD;
DRAWTEXT(CROSS(通道1,通道3),H*1.03,'逃'),COLORYELLOW;
投 股票网 www. tou18.cn
股市公式下载推荐