一直红 一直强
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;
一直红 一直强
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;