以下是通达信鸳鸯双响刀源码附图(无源码的请下载附件导入)
HJ_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
HJ_2:=EMA(HJ_1,9);
HJ_3:=2*(HJ_1-HJ_2);
HJ_4:=BARSLAST(LONGCROSS(0,HJ_2,5));
HJ_5:=BARSLAST(COUNT(HJ_2>0,5)=5);
HJ_6:=MA(CLOSE,20);
HJ_7:=COUNT(CLOSE<HJ_6,5)>3;
HJ_8:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH;
HJ_9:=COUNT(HJ_8,3)=2 AND HJ_8;
HJ_10:=REF(CLOSE,1)/REF(CLOSE,2)<1.02;
HJ_11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HJ_12:=SMA(HJ_11,3,1);
HJ_13:=SMA(HJ_12,3,1);
HJ_14:=3*HJ_12-2*HJ_13;
HJ_15:=CLOSE/REF(CLOSE,1)>1.095;
HJ_4 AND HJ_15 AND HJ_10 AND REF(HJ_14,2)<=80 AND CLOSE>=REF(HIGH,1) AND VOL<REF(VOL,1);
{-----------------------------------}
623599035.jpg
|