通达信牛股框架主图指标公式源码

通达信牛股框架主图指标公式源码

MB1:MA(C,1),COLOR111111;

MB2:=EMA(C,3);

MB3:=EMA(C,26);

MB4:=MB2-MB3;

牵牛线:EMA(EMA(EMA(C,3),3),3)+MB4,COLORGREEN,,DOTLINE;

涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);

STICKLINE(涨停,OPEN,CLOSE,2,0),COLOR66EEEE;

STICKLINE(涨停,OPEN,CLOSE,1,0),COLORFF00FF;

STICKLINE(涨停,OPEN,CLOSE,0,1),COLOR8B8BFF;

DRAWTEXT_FIX(C>O,0.01,0.9,0,' 指标网 '),COLOR99EEEE;

寻牛线:MA(MA(L,3),3),COLORFF00FF;

上箱顶:HHV(寻牛线,60),COLOR77EEEE;

下箱底:LLV(寻牛线,20),COLORFFBB00;

IF(寻牛线>=REF(上箱顶,1),寻牛线,DRAWNULL),COLORRED,LINETHICK3;

 

牛股框架主图