根据薛斯通道优化的——《运行通道》,看看炒不炒(有图有代码)通达信公式

2017-07-07    来源:网络    编辑:翔博软件
ZF:=(C-REF(C,1))/REF(C,1)*100; AA:=MA((2*CLOSE+HIGH+LOW)/4,5); 通道1:=AA*N/100; 通道2:=AA*(200-N)/100; CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); DD:=

ZF:=(C-REF(C,1))/REF(C,1)*100;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5); 
通道1:=AA*N/100; 
通道2:=AA*(200-N)/100; 
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); 
DD:=DMA(CLOSE,CC); 
通道3:=(1+M/100)*DD; 
通道4:=(1-M/100)*DD;
短中轨:=(通道1+通道2)/2;
薛斯中轨:=(通道3+通道4)/2;
DRAWBAND(CONST(薛斯中轨),RGB(39,0,39),通道1,205);
DRAWBAND(CONST(通道4),RGB(39,139,39),通道2,90);
DRAWKLINE(H,O,L,C);
T1:通道1;
T2:通道2;
T3:IF(CURRBARSCOUNT<120,CONST(通道3),通道3);
T4:IF(CURRBARSCOUNT<120,CONST(通道4),通道4);
T5:短中轨;
T6:CONST(MA(T5,5));
T7:IF(CURRBARSCOUNT<120,CONST(薛斯中轨),薛斯中轨);
XG:=COUNT((C>通道4),10)=10 AND CROSS(通道4,L) AND 通道4>REF(通道4,1) AND SUM(ZF>9.9,3)<1 AND REF(C,1)/L>1.03;
DRAWICON(CROSS(通道4,L) AND 通道4>REF(通道4,1),L,5);
DRAWICON(CROSS(C,通道4) AND C>REF(C,1),L,5);
DRAWICON(CROSS(C,T5) AND C>REF(C,1),L,3);
DRAWICON(CROSS(C,T7) AND C>REF(C,1),L,9);
{n 0 200 102
m 0 50 7}
1
3
点击进入翔博软件旗下官方微店--指标超市