一直红(副图 附图 源码)
2014-12-28 14:04:33点击:
BAR1:=EMA(CLOSE,2)-EMA(CLOSE,150);
BAR2:=EMA(BAR1,100);
BAR3:=2*(BAR1-BAR2);
BAR4:=POW(BAR3,3)*0.1+POW(BAR3,1);
黑码线:IF(BAR3>0.1,BAR4,0)*10,LINESTICK,COLORRED;
潜龙线:IF(BAR3<=0.1,BAR4,0)*10,LINESTICK,COLORGREEN;
BAR2:=EMA(BAR1,100);
BAR3:=2*(BAR1-BAR2);
BAR4:=POW(BAR3,3)*0.1+POW(BAR3,1);
黑码线:IF(BAR3>0.1,BAR4,0)*10,LINESTICK,COLORRED;
潜龙线:IF(BAR3<=0.1,BAR4,0)*10,LINESTICK,COLORGREEN;