通达信底部买入即涨选股源码附图
-
相关简介:信号确认 买入必涨 A7:=C-REF(C,1); A8:=100*EMA(EMA(A7,5),5)/EMA(EMA(ABS(A7),5),5); SHORT:=3; LONG:=10; RMA:=EMA(CLOSE,SHORT); NMA:=EMA(CLOSE,LONG); 上升:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1) ,LLV(L,BARSLAST(CROSS(NMA,RMA))+1), H=HHV(H,BARSLAST(CROSS(RMA
-
文章来源:股海网作者:股海网发布时间:2020-05-05浏览次数:
信号确认 买入必涨
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,5),5)/EMA(EMA(ABS(A7),5),5);
SHORT:=3; LONG:=10;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
上升:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1)
,LLV(L,BARSLAST(CROSS(NMA,RMA))+1),
H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
下降:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),
HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1)
,LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
买进:(LLV(A8,5)=LLV(A8,7) AND COUNT(A8<0,5) AND
CROSS(A8,MA(A8,5))) AND REF(下降,1)<REF(下降,2) AND 上升>REF(下降,1);