将布林显示在主图介绍
将布林显示在主图
N:=20;
中:MA(CLOSE,N);
上:中+2*STD(CLOSE,N);
下:中-2*STD(CLOSE,N);
DRAWBAND(上,RGB(150,150,150),中,96);
DRAWBAND(中,RGB(0,88,256),下,1);
M13:MA(C,13),COLORYELLOW,LINETHICK1;
M3:MA(C,30),COLORBLUE,LINETHICK2;
M6:MA(C,60),COLORWHITE,LINETHICK2;
M9:MA(C,99),COLORRED,LINETHICK2;
M1:MA(C,144),COLORFF00FF,LINETHICK2;
{K线变色}
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00EE00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0.5,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,H ,L,0,0 ),COLOR00FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF88FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLORFFAAFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0) ,COLORFFBBFF;
STICKLINE(CLOSE>OPEN,H,L,0,0) ,COLORFFBBFF;
{涨跌停标注}
STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;
STICKLINE(REF(C,1)/C>1.095,C,O,2,0),COLORWHITE;
gd16566