布林_均线
整合而已 自认为三十分钟看盘不错 高手请优化
{P:0 10 2; M1:0 500 24; M2:0 500 80; M3:0 500 160;}
{BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLOR00FF00;{多空线}}
MID中轨:=MA(CLOSE,M1);
MA80:MA(CLOSE,M2);
MA160:MA(CLOSE,M3);
VART1:=POW((C-MID中轨),2);
VART2:=MA(VART1,M1);
VART3:=SQRT(VART2);
UPPER:=MID中轨+P*VART3;
LOWER:=MID中轨-P*VART3;
BOLL:=REF(MID中轨,1);
UPPEB上轨:REF(UPPER,1),COLOR333333,LINETHICK2;
LOWEB下轨:REF(LOWER,1),COLOR333333,LINETHICK2;
{变色中轨}
AA:=MID中轨;
BB:AA>REF(AA,1),LINETHICK0;
MID中轨,COLORFFFFFF,DOTLINE;
IF(BB,MID中轨,DRAWNULL),COLORRED,DOTLINE;
STICKLINE(CLOSE>=OPEN AND CLOSE<=MID中轨,OPEN,CLOSE,2,0),COLOR000077;
STICKLINE(CLOSE>=OPEN AND CLOSE<=MID中轨,H,L,0,0),COLOR000077;
STICKLINE(OPEN>CLOSE AND CLOSE<=MID中轨,OPEN,CLOSE,2,0),COLOR777700;
STICKLINE(OPEN>CLOSE AND CLOSE<=MID中轨,H,L,0,0),COLOR777700;
STICKLINE(CROSS(CLOSE,MID中轨),CLOSE,OPEN,0.5,0),COLOR0080FF;
2141399697.jpg
|