薛斯通道2叠加3
T1:=(1,100,30);T2:=(1,100,3);P1:=(1,100,15);P2:=(1,100,3);
N1:=102;
UPPERL: MA(HIGH,T1)*(1+P1/100),COLORWHITE;
UPPERS: MA(HIGH,T2)*(1+P2/100),COLORYELLOW;
LOWERS: MA(LOW,T2)*(1-P2/100),COLORFF00FF;
LOWERL: MA(LOW,T1)*(1-P1/100),COLOR00FF00;
DRAWBAND(UPPERL,RGB(15,15,158),LOWERL,RGB(15,15,158));
DRAWBAND(UPPERS,RGB(46,99,46),LOWERS,RGB(46,99,46));
中轨: (MA(HIGH,T1)*(1+P1/100)+MA(LOW,N1)*(1-P1/100))/2,COLORGRAY,LINETHICK1;
N2:=(80,120,102);M2:=(2,20,7);
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AA*N2/100;
通道2:=AA*(200-N2)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+M2/100)*DD,LINETHICK2,COLORYELLOW;
通道4:(1-M2/100)*DD,LINETHICK2,COLORYELLOW;
短中轨:(通道1+通道2)/2,LINETHICK1,COLORLIRED,NODRAW;
薛斯中轨:(通道3+通道4)/2,COLORGREEN,NODRAW;
DRAWKLINE(H,O,L,C);