理想金钻指标评测系列 十战七胜选股指标 附指标源码
{十战七胜源码}
A1:=((CLOSE)/(REF(CLOSE,10)))/((INDEXC)/(REF(INDEXC,10)));
A2:=((CLOSE)/(REF(CLOSE,20)))/((INDEXC)/(REF(INDEXC,20)));
A3:=((CLOSE)/(REF(CLOSE,55)))/((INDEXC)/(REF(INDEXC,55)));
A4:=((CLOSE)/(REF(CLOSE,144)))/((INDEXC)/(REF(INDEXC,144)));
A5:=(((MA(CLOSE,5) > MA(CLOSE,10))) AND ((VOL < MA(VOL,3)))) AND (((HHV(VOL,10))/(LLV(VOL,10)) < 3.8));
A6:=(((MA(CLOSE,8))/(REF(MA(CLOSE,8),1)) >= 1.007)) OR (((MA(CLOSE,8))/(REF(MA(CLOSE,8),2)) >= 1.014));
A7:=(((A6) AND (A5)) AND ((INDEXC > MA(INDEXC,21)))) AND ((INDEXC > REF(INDEXC,1)));
A8:=(((((MA(CLOSE,10))/(MA(CLOSE,20))) - (1))*(100) < 1.7)) OR (((((MA(CLOSE,20))/(MA(CLOSE,30))) - (1))*(100) < 1.5));
A9:=(((((((((REF(A7,1)) AND (A8)) AND ((CLOSE < HIGH))) AND (BETWEEN((CLOSE)/(MA(CLOSE,13)),0.992,1.022))) AND ((A1 < 1.1))) AND ((A3 < 1.3))) AND ((A4 < 1.3))) AND (((HIGH)/(CLOSE) > 1.034))) AND (((CLOSE)/(LOW) < 1.025))) AND ((HHV(MA(VOL,4),4) < (REF(HHV(MA(VOL,4),44),4))*(0.85)));
AA:=((((MA(CLOSE,5) > MA(CLOSE,10))) AND ((((HIGH)/(CLOSE) > 1.034)) AND (((CLOSE)/(LOW) > 1.005)))) AND ((VOL < MA(VOL,3)))) AND (((HHV(VOL,10))/(LLV(VOL,10)) < 3.8));
AB:=(((MA(CLOSE,5))/(REF(MA(CLOSE,5),1)) >= 1.012)) OR (((MA(CLOSE,5))/(REF(MA(CLOSE,5),2)) >= 1.024));
AC:=(AB) AND (AA);
AD:=(((((MA(CLOSE,10))/(MA(CLOSE,20))) - (1))*(100) < 1.7)) OR (((((MA(CLOSE,20))/(MA(CLOSE,30))) - (1))*(100) < 1.5));
AE:=((((((REF(AC,1)) AND (AD)) AND ((CLOSE < HIGH))) AND (BETWEEN((CLOSE)/(MA(CLOSE,8)),0.992,1.022))) AND ((A2 < 1.03))) AND ((A4 < 1.4))) AND ((HHV(MA(VOL,4),4) < (REF(HHV(MA(VOL,4),44),4))*(0.92)));
AF:=(AE) OR (A9);
XG:AF;
{十战七胜源码}
A1:=((CLOSE)/(REF(CLOSE,10)))/((INDEXC)/(REF(INDEXC,10)));
A2:=((CLOSE)/(REF(CLOSE,20)))/((INDEXC)/(REF(INDEXC,20)));
A3:=((CLOSE)/(REF(CLOSE,55)))/((INDEXC)/(REF(INDEXC,55)));
A4:=((CLOSE)/(REF(CLOSE,144)))/((INDEXC)/(REF(INDEXC,144)));
A5:=(((MA(CLOSE,5) > MA(CLOSE,10))) AND ((VOL < MA(VOL,3)))) AND (((HHV(VOL,10))/(LLV(VOL,10)) < 3.8));
A6:=(((MA(CLOSE,8))/(REF(MA(CLOSE,8),1)) >= 1.007)) OR (((MA(CLOSE,8))/(REF(MA(CLOSE,8),2)) >= 1.014));
A7:=(((A6) AND (A5)) AND ((INDEXC > MA(INDEXC,21)))) AND ((INDEXC > REF(INDEXC,1)));
A8:=(((((MA(CLOSE,10))/(MA(CLOSE,20))) - (1))*(100) < 1.7)) OR (((((MA(CLOSE,20))/(MA(CLOSE,30))) - (1))*(100) < 1.5));
A9:=(((((((((REF(A7,1)) AND (A8)) AND ((CLOSE < HIGH))) AND (BETWEEN((CLOSE)/(MA(CLOSE,13)),0.992,1.022))) AND ((A1 < 1.1))) AND ((A3 < 1.3))) AND ((A4 < 1.3))) AND (((HIGH)/(CLOSE) > 1.034))) AND (((CLOSE)/(LOW) < 1.025))) AND ((HHV(MA(VOL,4),4) < (REF(HHV(MA(VOL,4),44),4))*(0.85)));
AA:=((((MA(CLOSE,5) > MA(CLOSE,10))) AND ((((HIGH)/(CLOSE) > 1.034)) AND (((CLOSE)/(LOW) > 1.005)))) AND ((VOL < MA(VOL,3)))) AND (((HHV(VOL,10))/(LLV(VOL,10)) < 3.8));
AB:=(((MA(CLOSE,5))/(REF(MA(CLOSE,5),1)) >= 1.012)) OR (((MA(CLOSE,5))/(REF(MA(CLOSE,5),2)) >= 1.024));
AC:=(AB) AND (AA);
AD:=(((((MA(CLOSE,10))/(MA(CLOSE,20))) - (1))*(100) < 1.7)) OR (((((MA(CLOSE,20))/(MA(CLOSE,30))) - (1))*(100) < 1.5));
AE:=((((((REF(AC,1)) AND (AD)) AND ((CLOSE < HIGH))) AND (BETWEEN((CLOSE)/(MA(CLOSE,8)),0.992,1.022))) AND ((A2 < 1.03))) AND ((A4 < 1.4))) AND ((HHV(MA(VOL,4),4) < (REF(HHV(MA(VOL,4),44),4))*(0.92)));
AF:=(AE) OR (A9);
XG:AF;