{日月征途趋势通道主图}
N:=20;
M:=60;
UPPER:MA(CLOSE,N)*(1+0.05);
LOWER:MA(CLOSE,N)*(1-0.05);
MID:MA(CLOSE,M);
STICKLINE(C>UPPER,H,L,0,0),COLORRED;
STICKLINE(C>UPPER,C,O,3,0),COLORRED;
STICKLINE(C<LOWER,H,L,0,0),COLORGREEN;
STICKLINE(C<LOWER,C,O,3,0),COLORGREEN;
STICKLINE(C>=LOWER AND C<=UPPER,H,L,0,0),COLORYELLOW;
STICKLINE(C>=LOWER AND C<=UPPER,C,O,3,0),COLORYELLOW;