MA5:MA(CLOSE,5),COLORFF8D1E;
MA10:MA(CLOSE,10),COLOR0CAEE6;
MA20:MA(CLOSE,20),COLORE970DC;
MA30:MA(CLOSE,30),COLOR0080FF;
MA60:MA(CLOSE,60),COLOR22C57E;
MA120:MA(CLOSE,120),COLORFF6060;
MA250:MA(CLOSE,250),COLOR13FFFF;
移动:=1;
STICKLINE(CURRBARSCOUNT=5+移动,CONST(LLV(L,120)),CONST(HHV(H,120)), 0.001,0), COLORFF8D1E;
STICKLINE(CURRBARSCOUNT= 10 +移动,CONST(LLV(L,120)),CONST(HHV(H,120)), 0.001,0), COLOR0CAEE6;
STICKLINE(CURRBARSCOUNT= 20 +移动,CONST(LLV(L,120)),CONST(HHV(H,120)), 0.001,0), COLORE970DC;
STICKLINE(CURRBARSCOUNT=60+移动,CONST(LLV(L,120)),CONST(HHV(H,120)), 0.001,0), COLOR22C57E;
STICKLINE(CURRBARSCOUNT=120+移动,CONST(LLV(L,120)),CONST(HHV(H,120)), 0.001,0),COLORFF6060;
位置:=CONST(LLV(L,120));
DRAWTEXT(CURRBARSCOUNT=5+移动,位置,'5天');
DRAWTEXT(CURRBARSCOUNT= 10 +移动,位置,'10天');
DRAWTEXT(CURRBARSCOUNT= 20 +移动,位置,'20天');
DRAWTEXT(CURRBARSCOUNT=60+移动,位置,'60天');
DRAWTEXT(CURRBARSCOUNT=120+移动,位置,'120天');
STICKLINE(CURRBARSCOUNT= 5 +移动, CLOSE, CLOSE-0.001,10000,0), COLORFF8D1E;
STICKLINE(CURRBARSCOUNT= 10 +移动, CLOSE, CLOSE-0.001,10000,0), COLOR0CAEE6;
STICKLINE(CURRBARSCOUNT= 20 +移动, CLOSE, CLOSE-0.001,10000,0), COLORE970DC;
STICKLINE(CURRBARSCOUNT= 60 +移动, CLOSE, CLOSE-0.001,10000,0), COLOR22C57E;
SD:=20;
WIDTHA:=2.0330625;
WIDTH:=2;
DIS:=STDP(CLOSE,SD);
MID:MA(CLOSE,SD), COLORCCCCCC;
UPPER:MID+ WIDTH*DIS, COLORCCCCCC;
LOWER:MID-WIDTH*DIS, COLORCCCCCC;