N1:=IF(BARSCOUNT(C) =12,12,BARSCOUNT(C));
N:=IF(BARSCOUNT(C) =24,24,BARSCOUNT(C));
STICKLINE(C =MA(C,N),MA(C,N),MA(C,N*0.78),1,0),COLORRED;
STICKLINE(C MA(C,N),MA(C,N),MA(C,N*0.78),1,0),COLORGREEN;
N1:=IF(BARSCOUNT(C) =12,12,BARSCOUNT(C));
N:=IF(BARSCOUNT(C) =24,24,BARSCOUNT(C));
STICKLINE(C =MA(C,N),MA(C,N),MA(C,N*0.78),1,0),COLORRED;
STICKLINE(C MA(C,N),MA(C,N),MA(C,N*0.78),1,0),COLORGREEN;