换人间主图之买选股指标公式

VAR14:=MA(CLOSE,5);

VAR15:=MA(CLOSE,10);

VAR16:=MA(CLOSE,60);

VAR17:=SMA(100*(VAR14-VAR16)/VAR16,5,1);

VAR18:=crOSS(REF(VAR17,1),VAR17) AND VAR17>10;

VAR19:=COUNT(VAR18,3) AND VAR15<REF(VAR15,1);

VAR1A:=VAR17<-18 AND CROSS(VAR17,REF(VAR17,1));

VAR1B:=COUNT(VAR1A,3) AND VAR15>REF(VAR15,1);

VAR1C:=IF(VAR19,-6,IF(VAR1B,6,0));

DRAWTEXT(FILTER(VAR1C,3)>0,LOW,'买'),COLORRED;