VAR14:=MA(CLOSE,5);VAR15:=MA(CLOSE,10);VAR16:=MA(CLOSE,60);VAR17:=SMA(100*(VAR14-VAR16)/VAR16,5,1);VAR18:=OSS(REF(VAR17,1),VAR17) AND VAR17>10;VAR19:=COUNT(VAR18,3) AND VAR15
[REF(VAR15,1);VAR1C:=IF(VAR19,-6,IF(VAR1B,6,0));DRAWTEXT(FILTER(VAR1C,3)>0,LOW,'买'),COLORRED;
]