通达信自适应交易通道主图指标公式
2020/6/3 18:48:46
M:=60;
PC:=7/16*MA(C,5)+5/16*MA(C,10)+3/16*MA(C,20)+1/16*MA(C,60);
D:=IF((H>PC AND L>=PC) OR (L<PC AND H<=PC),MAX((H/PC-1)*100,(PC/L-1)*100),((H/PC-1)+(PC/L-1))/2*100);
PD:=MA(D,M);
PCR:REF(PC,1),DOTLINE,COLORGRAY;
UW1:REF(PC*(1+PD/100),1),COLORBLUE;
LW1:REF(PC*(1-PD/100),1),COLORRED;
UW2:REF(PC*(1+1.5*PD/100),1),COLORCYAN;
LW2:REF(PC*(1-1.5*PD/100),1),COLORYELLOW;
投股 票网 www.tou18 .cn
股市公式下载推荐