N:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));
D1:=DATE;
DC:= IF(D1<20180131,1,0);
STICKLINE(C>=MA(C,N) AND DC,MA(C,N),MA(C,N*0.7),14,0),colorred;
//IF(D1<20180131,DRAWICON(C>=MA(C,N) AND REF(C,1) < MA(C,N),LOW,1),0);
STICKLINE(C
N:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));
D1:=DATE;
DC:= IF(D1<20180131,1,0);
STICKLINE(C>=MA(C,N) AND DC,MA(C,N),MA(C,N*0.7),14,0),colorred;
//IF(D1<20180131,DRAWICON(C>=MA(C,N) AND REF(C,1) < MA(C,N),LOW,1),0);
STICKLINE(C