金雕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;
上一篇:MACD看透主力幅图公 源码 下一篇:缠通套利主图公式 源码