金牛起航源码

[复制链接]
查看57 | 回复0 | 2021-8-19 18:37:25 | 显示全部楼层 |阅读模式

以下是金牛起航源码(无源码的请下载附件导入)

金牛起航源码

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:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
 HJ_43:=SUM(IF(CLOSE=REF(CLOSE,1),0,HJ_42),0);
 HJ_44:=HJ_43-MA(HJ_43,20);
 HJ_45:=(HJ_44-REF(HJ_44,1))/REF(HJ_44,1)*100;
 HJ_46:=CROSS(HJ_37,HJ_38);
 HJ_47:=(CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1);
 HJ_48:=DYNAINFO(4)=0;
 HJ_49:=IF(COUNT(HJ_46,20) AND HJ_11>HJ_12 AND HJ_14>HJ_16 AND HJ_29>30 AND HJ_2>HJ_14 AND HJ_2>60 AND HJ_47>=1.5 AND MAX(CLOSE,HJ_18) AND COUNT(CLOSE>HJ_18,10),18,0);
金牛起航:IF(HJ_49>10 AND HJ_47>=1.5,18,0);
 DRAWBAND(0,RGB(225,215,0),金牛起航,RGB(255,215,0));

{-----------------------------------}

627399243.jpg

627399243.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则