N:=13;N1:=102;M:=7;
VAR2:=CLOSE*VOL;
VAR3:=EMA((EXPMA(VAR2,3)/EXPMA(VOL,3)+EXPMA(VAR2,6)/EXPMA(VOL,6)+EXPMA(VAR2,12)/EXPMA(VOL,12)+EXPMA(VAR2,24)/EXPMA(VOL,24))/4,N);
SUP:1.06*VAR3,NODRAW,;
SDN:VAR3*0.94,NODRAW,;
VAR4:=EXPMA(CLOSE,9);
LUP:EXPMA(VAR4*1.14,5),COLORBLUE;
LDN:EXPMA(VAR4*0.86,5),COLORBLUE;
DRAWBAND(LUP,RGB(112,22,32),SUP,RGB(112,22,32));
DRAWBAND(SUP,RGB(0,0,64),VAR4,RGB(0,0,64));
DRAWBAND(SDN,RGB(50,100,230),VAR4,RGB(50,100,230));
DRAWBAND(LDN,RGB(0,64,0),SDN,RGB(0,64,0));
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;
薛斯中轨:(通道3+通道4)/2,COLORGREEN;
DRAWKLINE(H,O,L,C);
201561516125521962.jpg
|