【通达信】波段线(副图)-指标公式源码
P1:=0;
P2:= IF (CLOSE>MA(CLOSE,5),P1+10,P1-10);
P3:= IF (CLOSE>MA(CLOSE,10),P2+10,P2-10);
P4:= IF (CLOSE>MA(CLOSE,10),P3+10,P3-10);
P5:= IF (MA(CLOSE,5)>MA(CLOSE,10),P4+10,P4-10);
P6:= IF (MA(CLOSE,10)>MA(CLOSE,20),P5+10,P5-10);
BD:P6,COLORYELLOW;
STICKLINE(BD>=0,0,BD,3,0),COLORRED;
STICKLINE(BD<=50 AND BD>=30,30,BD,3,0),COLORYELLOW;
波段线:MA(BD,3),COLORFFF347,HICK2;
ZERO:0, COLORFF3333;
【通达信】波段线(副图)-指标公式效果图
下载次数: 0
2010-12-11 11:43
下载( KB)
2010-12-11 11:41
(文档来源:若水财经社区)
【股票指标公式下载】-【通达信】波段线(副图) 来自淘豆网m.daumloan.com转载请标明出处.