以下是通达信金牛舵手源码副图(无源码的请下载附件导入)
HJ_1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
HJ_2:=(HJ_1-LLV(HJ_1,27))/(HHV(HJ_1,27)-LLV(HJ_1,27))*4*25;
HJ_3:=(HJ_1-LLV(HJ_1,9))/(HHV(HJ_1,9)-LLV(HJ_1,9))*4*25;
HJ_4:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
HJ_5:=SMA(HJ_4,3,1);
HJ_6:=SMA(HJ_5,3,1);
HJ_7:=INTPART(HJ_5);
HJ_8:=INTPART(HJ_6);
HJ_9:=HJ_7+HJ_8;
HJ_10:=HJ_9-REF(HJ_9,1);
HJ_11:=EMA(WINNER(CLOSE)*40,3);
HJ_12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
HJ_13:=HJ_12/(HJ_11+HJ_12)*100;
HJ_14:=HJ_11/(HJ_11+HJ_12)*100;
HJ_15:=EMA(HJ_13,55);
HJ_16:=EMA(HJ_14,55);
HJ_17:=HHV((HIGH+LOW)/2,120);
HJ_18:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
HJ_19:=MA(CLOSE,27);
HJ_20:=VOL/FINANCE(7)*100;
HJ_21:=TMA(HJ_20,1-HJ_20,1);
HJ_22:=DMA((CLOSE+OPEN)/2,HJ_20/TMA(HJ_20,1-HJ_20,1));
HJ_23:=BARSLAST(CLOSE>HJ_22*POW(1.1,0.9));
HJ_24:=BARSLAST(CLOSE<HJ_22*POW(1.1,(-0.9)));
HJ_25:=CROSS(HJ_23,HJ_24) OR CROSS(HJ_24,HJ_23) OR BARSSINCE(HJ_23+1)=0 OR BARSSINCE(HJ_24+1)=0 OR BARSCOUNT(CLOSE)=0;
HJ_26:=REF(HJ_22,BARSLAST(HJ_25));
HJ_27:=LN(CLOSE/HJ_26)/LN(1.1)*10;
HJ_28:=WINNER(CLOSE/1.2)*100;
HJ_29:=WINNER(CLOSE/1.25)*100;
HJ_30:=EMA(EMA(CLOSE,1),5);
HJ_31:=EMA(HHV(HJ_30,5),1);
HJ_32:=EMA(HHV(HJ_31,21),1);
HJ_33:=EMA(HHV(HJ_32,21),2);
HJ_34:=EMA(HHV(HJ_33,21),3);
HJ_35:=EMA(HHV(HJ_34,21),4);
HJ_36:=EMA(HHV(HJ_35,21),5);
HJ_37:=CLOSE;
HJ_38:=EMA(HHV(HJ_36,21),6);
HJ_39:=VOL;
HJ_40:=MA(HJ_39,5);
HJ_41:=MA(HJ_39,135);
HJ_42:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
HJ_43:=SMA(HJ_42,3,1);
HJ_44:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HJ_45:=SMA(HJ_44,5,1)-8;
HJ_46:=HJ_45-HJ_43;
HJ_47:=CROSS(HJ_37,HJ_38);
HJ_48:=(CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1);
HJ_49:=HHV(HIGH,10);
HJ_50:=LLV(LOW,10);
HJ_51:=(HJ_49/HJ_50-1)*100;
HJ_52:=DYNAINFO(4)=0;
HJ_53:=IF(HJ_18>HJ_19 AND HJ_12<HJ_11 AND HJ_2>50,(-40),0);
HJ_54:=IF(COUNT(HJ_47,20) AND HJ_11>HJ_12 AND HJ_14>HJ_16 AND HJ_18>HJ_19 AND HJ_37>HJ_38 AND HJ_29>30 AND HJ_2>50 AND HJ_48>=1.5 AND MAX(CLOSE,HJ_18) AND COUNT(CLOSE>HJ_18,10),18,0);
HJ_55:=IF(HJ_12>HJ_11,(-40),0);
选股:COUNT(HJ_54>10,10)>=1 AND NOT(HJ_52) AND COUNT(HJ_53=(-40),10)>=1 AND HJ_51<=30 AND HJ_46>50 AND HJ_37>HJ_38 AND HJ_18>HJ_19 AND COUNT(HJ_55>(-30),10)>=10 AND COUNT(HJ_48>(-1.5),10)>=5 AND COUNT(HJ_2>50,10)>=5;
{-----------------------------------}
628533965.jpg
|