优化后BOLL(布林)通道主图(修改版)...
优化后BOLL(布林)通道主图(修改版)——通达信指标,不懂可在下方留言解答
DRAWBAND(MA(C,20),RGB(185,20,30),MA(C,60),RGB(0,100,100));
DRAWTEXT_FIX(1,0.58,0,0,'BOLL(布林)通道'),COLORRED;
BOLL:MA(CLOSE,20),,COLORYELLOW,LINETHICK4;
UPPER:BOLL+2*STD(CLOSE,20),COLORRED,LINETHICK2;
LOWER:BOLL-2*STD(CLOSE,20),COLORGREEN,LINETHICK2;
持币区:IF(BOLL<REF(BOLL,1),BOLL,DRAWNULL),COLORGREEN,LINETHICK4;
CXHZB:=EMA(CLOSE,2);
CXHZB1:=EMA(SLOPE(CLOSE,9)*20+CLOSE,37);
CXHZB2:=CROSS(CXHZB,CXHZB1);
CXHZB3:=CROSS(CXHZB1,CXHZB);
DRAWICON(CXHZB2,LOW*0.97,1);
DRAWICON(CXHZB3,HIGH*1.03,2);
STICKLINE(CXHZB>=CXHZB1,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(CXHZB>=CXHZB1,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(CXHZB<CXHZB1,LOW,HIGH,0.01,0),COLORFFDD00;
STICKLINE(CXHZB<CXHZB1,CLOSE,OPEN,2,0),COLORCYAN;
STICKLINE(CROSS(CXHZB,CXHZB1),OPEN,CLOSE,0.3,0),COLORYELLOW;