以下是通达信经典中的经典主图指标源码(无源码的请下载附件导入)
DRAWBAND(MA(CLOSE,5),RGB(155,150,150),MA(CLOSE,24),RGB(83,123,68));
DRAWBAND(MA(CLOSE,24),RGB(155,50,50),MA(CLOSE,55),RGB(83,123,68));
DRAWBAND(MA(CLOSE,55),RGB(250,250,50),MA(CLOSE,89),RGB(83,123,68));
DRAWBAND(MA(CLOSE,89),RGB(240,100,50),MA(CLOSE,188),RGB(83,123,68));
DRAWBAND(MA(CLOSE,188),RGB(158,97,177),MA(CLOSE,240),RGB(83,123,68));
DRAWKLINE(H,O,L,C);
涨停:=IF(REF(C,1)*1.095-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW;
621444811.png
|