分时阶梯(分时主图、源码、附图)介绍
分时阶梯(分时主图、源码、附图)
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),0);
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),0);
STICKLINE(A1X>=0,多方,突破,10,0),COLOR000099;
STICKLINE(A1X<0,空方,突破,10,0),COLOR00CC66;
{然后加上分时均线源码:}
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
gd17052