买入
不错的公式!
有week函数,就是引用周线,是未来函数。
XA_1:=EMA(EMA(CLOSE-REF(CLOSE,1),8),8)/EMA(EMA(ABS(CLOSE-REF(CLOSE,1)),8),8)*100;
XA_2:=IF(LLV(XA_1,3)=LLV(XA_1,11) AND COUNT(XA_1<0,2) AND CROSS(XA_1,MA(XA_1,2)),1,0);
XA_3:=FILTER(XA_2=1,5);
XA_4:=EMA(HSCOL,12)-EMA(HSCOL,26);
XA_5:=EMA(XA_4,9);
XA_6:=(XA_4-XA_5)*2;
XA_7:=MA(XA_6,3);
XA_8:=MA(XA_6,10);
XA_9:=EMA(CLOSE,6)-EMA(CLOSE,13);
XA_10:=EMA(XA_9,9/2);
XA_11:=MA(KDJ.K#WEEK(9,3,3),5);
XA12:=XA_11>=REF(XA_11,1) AND XA_9>=XA_10 AND XA_7>0 AND XA_8>0;
买入:XA_3 AND XA12;