通达信涨停板上画线指标公式

涨停:=(C-REF(C,1))/REF(C,1)*100>9.88;
STICKLINE(涨停,C,O,3,0),COLORYELLOW;
STICKLINE(涨停,C,O,2,0),COLORYELLOW;
STICKLINE(涨停,C,O,1,0),COLORYELLOW;
AA:=REF(C,BARSLAST(涨停 AND CURRBARSCOUNT<365));
DRAWLINE(涨停,C,1,REF(AA,1),1),COLORYELLOW;
LIM2:=POW(FLOOR(C*C*REF(C,7)),1/3)/C;
{涨停板支撑价画横线}
Y2A:=C*LIM2;
Y2B:=REF(AA*LIM2,1);
DRAWLINE(涨停,Y2A,1,Y2B,1),COLORLIBLUE;
MA5:MA(C,5),COLORWHITE;
MA10:MA(C,10),COLORYELLOW;
MA60:MA(C,60),COLORMAGENTA;
MA200:MA(C,200),COLORGREEN;

(0)

相关推荐