DRAWTEXT_FIX(ISLASTBAR ,0.01,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.01,0.1,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.01,0.2,0,GNBLOCK),COLORYELLOW;
TS:=BARSCOUNT(CLOSE)>=10;
MM:EMA((3*CLOSE+HIGH+LOW+OPEN)/6,20),COLORGRAY,LINETHICK1;
FL:HHV(MM,5),LINETHICK1,COLORYELLOW;
FS:MM-(FL-MM),LINETHICK1;
DRAWICON(FL=FS AND REF(FL,1)>REF(FS,1) AND TS ,L,42);
DRAWICON(FL>FS AND REF(FL,1)=REF(FS,1) AND TS,H*1.008,43);
|