XA_1:=MA(CLOSE,20);
XA_2:=XA_1>REF(XA_1,1);
XA_3:=EVERY(XA_2,10);
XA_4:=REF(HHV(CLOSE,10),2);
XA_5:=CLOSE<=XA_4 AND CLOSE>=XA_1 AND (CLOSE-XA_1)/XA_1*100<=5 AND (XA_4-XA_1)/XA_1*100<=10 AND CLOSE>OPEN;
潜伏金山:XA_3 AND XA_5 AND DYNAINFO(4)>0;
九毛八公式解读
XA_1赋值:收盘价的20日简单移动平均 XA_2赋值:XA_1>1日前的XA_1 XA_3赋值:最近10日一直存在XA_2 XA_4赋值:2日前的10日内收盘价的最高值 XA_5赋值:收盘价<=XA_4 AND 收盘价>=XA_1 AND (收盘价-XA_1)/XA_1*100<=5 AND (XA_4-XA_1)/XA_1*100<=10 AND 收阳线 输出潜伏金山:XA_3 AND XA_5 AND 开盘价>0