金雕一号主图幅图选股公式 源码

[复制链接]
查看121 | 回复0 | 2021-8-19 22:10:00 | 显示全部楼层 |阅读模式

以下是金雕一号主图幅图选股公式 源码(无源码的请下载附件导入)

金雕一号主图幅图选股公式 源码

金雕1号主图:
XA_1:=IF(HHV(ABS(HHV(CLOSE,6)/LLV(CLOSE,6)-1),6)>10/100,3,6);
XA_2:=SUM(AMOUNT,XA_1)/SUM(VOL,XA_1)/100;
XA_3:=MA(CLOSE,5);
XA_4:=XA_3>REF(XA_3,1) AND HIGH/CLOSE<1.02;
XA_5:=REF(XA_3<REF(XA_3,1),1);
XA_6:=CLOSE>OPEN AND REF(CLOSE>OPEN,1) AND REF(CLOSE<OPEN,2) AND REF(OPEN/CLOSE>1.02,2);
XA_7:=IF(CROSS(CLOSE,REF(XA_2,1)),REF(XA_2,1),0);
XA_8:=HHV(XA_7>0,BARSLAST(IF(CROSS(REF(XA_2,1),CLOSE),REF(XA_2,1),0)>0)+1);
XA_9:=XA_8>REF(XA_8,1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,21));
XA_10:=XA_4 AND XA_5 AND XA_6 AND XA_9;
DRAWICON(XA_10,LOW-0.2,1);
STICKLINE(XA_10,OPEN,OPEN,300,0);


金雕1号副图:
XA_1:=IF(HHV(ABS(HHV(CLOSE,6)/LLV(CLOSE,6)-1),6)>10/100,3,6);
XA_2:=SUM(AMOUNT,XA_1)/SUM(VOL,XA_1)/100;
XA_3:=MA(CLOSE,5);
XA_4:=XA_3>REF(XA_3,1) AND HIGH/CLOSE<1.02;
XA_5:=REF(XA_3<REF(XA_3,1),1);
XA_6:=CLOSE>OPEN AND REF(CLOSE>OPEN,1) AND REF(CLOSE<OPEN,2) AND REF(OPEN/CLOSE>1.02,2);
XA_7:=IF(CROSS(CLOSE,REF(XA_2,1)),REF(XA_2,1),0);
XA_8:=HHV(XA_7>0,BARSLAST(IF(CROSS(REF(XA_2,1),CLOSE),REF(XA_2,1),0)>0)+1);
XA_9:=XA_8>REF(XA_8,1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,21));
XG:XA_4 AND XA_5 AND XA_6 AND XA_9;

选股:
XA_1:=IF(HHV(ABS(HHV(CLOSE,6)/LLV(CLOSE,6)-1),6)>10/100,3,6);
XA_2:=SUM(AMOUNT,XA_1)/SUM(VOL,XA_1)/100;
XA_3:=MA(CLOSE,5);
XA_4:=XA_3>REF(XA_3,1) AND HIGH/CLOSE<1.02;
XA_5:=REF(XA_3<REF(XA_3,1),1);
XA_6:=CLOSE>OPEN AND REF(CLOSE>OPEN,1) AND REF(CLOSE<OPEN,2) AND REF(OPEN/CLOSE>1.02,2);
XA_7:=IF(CROSS(CLOSE,REF(XA_2,1)),REF(XA_2,1),0);
XA_8:=HHV(XA_7>0,BARSLAST(IF(CROSS(REF(XA_2,1),CLOSE),REF(XA_2,1),0)>0)+1);
XA_9:=XA_8>REF(XA_8,1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,21));
XG:XA_4 AND XA_5 AND XA_6 AND XA_9;

 

回复

使用道具 举报

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

本版积分规则