P:=7;
DRAWKLINE(MA(H,4),MA(O,4),MA(L,4),MA(C,4));
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
MA1:EMA(CLOSE,P),COLORFFFFFF;
MID:MA(CLOSE,20),COLORYELLOW;
UPPER:MID+2*STD(CLOSE,20),COLORRED,DOTLINE;
LOWER:MID-2*STD(CLOSE,20),COLORGREEN,DOTLINE;
P:=7;
DRAWKLINE(MA(H,4),MA(O,4),MA(L,4),MA(C,4));
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
MA1:EMA(CLOSE,P),COLORFFFFFF;
MID:MA(CLOSE,20),COLORYELLOW;
UPPER:MID+2*STD(CLOSE,20),COLORRED,DOTLINE;
LOWER:MID-2*STD(CLOSE,20),COLORGREEN,DOTLINE;