以下是通达信精准买进源码附图(无源码的请下载附件导入)
HJ_1:=CLOSE-REF(CLOSE,1);
HJ_2:=100*EMA(EMA(HJ_1,6),6)/EMA(EMA(ABS(HJ_1),6),6);
HJ_3:=10;
HJ_4:=21;
HJ_5:=EMA(CLOSE,HJ_3);
HJ_6:=EMA(CLOSE,HJ_4);
HJ_7:=DRAWLINE(LOW=LLV(LOW,BARSLAST(CROSS(HJ_6,HJ_5))+1),LLV(LOW,BARSLAST(CROSS(HJ_6,HJ_5))+1),HIGH=HHV(HIGH,BARSLAST(CROSS(HJ_5,HJ_6))+1),HHV(HIGH,BARSLAST(CROSS(HJ_5,HJ_6))+1),0);
HJ_8:=DRAWLINE(HIGH=HHV(HIGH,BARSLAST(CROSS(HJ_5,HJ_6))+1),HHV(HIGH,BARSLAST(CROSS(HJ_5,HJ_6))+1),LOW=LLV(LOW,BARSLAST(CROSS(HJ_6,HJ_5))+1),LLV(LOW,BARSLAST(CROSS(HJ_6,HJ_5))+1),0);
买进:LLV(HJ_2,2)=LLV(HJ_2,7) AND COUNT(HJ_2<0,2) AND CROSS(HJ_2,MA(HJ_2,2)) AND REF(HJ_8,1)<REF(HJ_8,2) AND HJ_7>REF(HJ_8,1);
710555275.jpg
|