VAR0:=(3 * CLOSE + LOW + OPEN + HIGH) / 6;
VAR1:=(20 * VAR0 + 19 * REF(VAR0,1) + 18 * REF(VAR0,2) + 17 * REF(VAR0,3) + 16 * REF(VAR0,4) + 15 * REF(VAR0,5) + 14 * REF(VAR0,6) + 13 * REF(VAR0,7) + 12 * REF(VAR0,8) + 11 * REF(VAR0,9) + 10 * REF(VAR0,10) + 9 * REF(VAR0,11) + 8 * REF(VAR0,12) + 7 * REF(VAR0,13) + 6 * REF(VAR0,14) + 5 * REF(VAR0,15) + 4 * REF(VAR0,16) + 3 * REF(VAR0,17) + 2 * REF(VAR0,18) + REF(VAR0,20)) / 210;
VAR2:=MA(VAR1,6);
STICKLINE(CLOSE > VAR1,2.5,4,8,0),LINETHICK2,colorRed;
STICKLINE(CLOSE < VAR2,2.5,4,8,0),LINETHICK2,colorGreen;
STICKLINE(VAR1 >= CLOSE AND CLOSE >= VAR2,2.5,4,8,0),LINETHICK2,colorGreen;
VAR6:=MAX(MA(CLOSE,60),MA(CLOSE,120));
VAR7:=MIN(MA(CLOSE,60),MA(CLOSE,120));
STICKLINE(CLOSE >= VAR6,0.5,2,8,0),LINETHICK2,colorRed;
STICKLINE(CLOSE <= VAR7,0.5,2,8,0),LINETHICK2,colorGreen;
STICKLINE(VAR6 >= CLOSE AND CLOSE >= VAR7,0.5,2,8,0),LINETHICK2,colorGreen;
VAR11:=MAX(MA(CLOSE,45),MA(CLOSE,90));
VAR12:=MIN(MA(CLOSE,45),MA(CLOSE,90));
STICKLINE(CLOSE > VAR11,-1.5,0,8,0),LINETHICK2,colorRed;
STICKLINE(CLOSE < VAR12,-1.5,0,8,0),LINETHICK2,colorGreen;
STICKLINE(VAR11 >= CLOSE AND CLOSE >= VAR12,-1.5,0,8,0),LINETHICK2,colorGreen;
VAR16:=MAX(MA(CLOSE,30),MA(CLOSE,60));
VAR17:=MIN(MA(CLOSE,30),MA(CLOSE,60));
STICKLINE(CLOSE > VAR16,-3.5,-2,8,0),LINETHICK2,colorRed;
STICKLINE(CLOSE < VAR17,-3.5,-2,8,0),LINETHICK2,colorGreen;
STICKLINE(VAR16 >= CLOSE AND CLOSE >= VAR17,-3.5,-2,8,0),LINETHICK2,colorGreen;
{------------------70822----com----------}