通达信20日:EMA(EMA(EMA(C,2),2),2),COLOR1010FF;
均线公式:EMA(EMA(EMA(C,3),3),3),COLOR2020FF;
ccccss4:EMA(EMA(EMA(C,4),4),4),COLOR3030FF;
PB5:=EMA(EMA(EMA(C,5),5),5);
ccccss5:PB5,COLOR4040FF;{选股公式-选股指标www.gs6699.com}
ccccss6:EMA(EMA(EMA(C,6),6),6),COLOR5050FF;
ccccss7:EMA(EMA(EMA(C,7),7),7),COLOR6060FF;
ccccss8:EMA(EMA(EMA(C,8),8),8),COLOR7070FF;
PB9:=EMA(EMA(EMA(C,9),9),9);
ccccss9:PB9,COLOR8080FF;
ccccss10:EMA(EMA(EMA(C,10),10),10),COLOR00FF00;
ccccss11:EMA(EMA(EMA(C,11),11),11),COLOR00FF00;
ccccss12:EMA(EMA(EMA(C,12),12),12),COLOR00FF00;
PB13:=EMA(EMA(EMA(C,13),13),13);
ccccss13:PB13,COLOR00FF00;
ccccssa1:=MA(C,100);
ccccssa2:ccccssa1,COLORFFFFFF,LINETHICK2;
rrrdd1:=(PB5-ccccssa1)/ccccssa1*100;
rrrdd2:=MA(C,13)+MA(C,13)-REF(MA(C,13),1);
rrrdd3:=IF(MA(C,13)<rrrdd2,rrrdd2,MA(C,13));
rrrdd4:=rrrdd3-(EMA(C,3)-rrrdd3);
rrrdd5:=PB5>ccccssa1 AND PB5>PB9 AND PB9>ccccssa1 AND rrrdd1<25 AND PB5>REF(PB5,1);
rrrdd6:=IF(rrrdd5 AND rrrdd4>PB9,PB9,DRAWNULL);
rrrdd7:=IF(rrrdd5 AND rrrdd4>PB5,PB9,DRAWNULL);
DRAWBAND(PB5,RGB(250,0,0),rrrdd6,0);
DRAWBAND(PB5,RGB(250,250,0),rrrdd7,0);
DRAWKLINE(H,O,L,C);