DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
AA:=REF(MACD,1)<MACD
AND RANGE(REF(MACD,1),0,0.15) AND MACD>(MAXA/100);
TR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);
PDI:= DMP*100/TR;
MDI:= DMM*100/TR;
ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=EXPMEMA(ADX,6);
BB:=ADX>MINA AND ADX<60 AND ADX>ADXR AND MDI>MN;
MAVOL21:=MA(VOL,21);
MAVOL55:=MA(VOL,55);
CC:=MAVOL21>MAVOL55;
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
CYC5:=IF(JJJT,0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5),EMA((HIGH+LOW+CLOSE)/3,5));
CYC13:=IF(JJJT,0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13),EMA((HIGH+LOW+CLOSE)/3,13));
CYC34:=IF(JJJT,0.01*EXPMA(AMOUNT,34)/EXPMA(VOL,34),EMA((HIGH+LOW+CLOSE)/3,34));
CYC∞:=IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
DD:=CYC13>CYC34 AND CYC34>CYC∞;
AA AND BB AND CC AND DD;
参数:MN 11; MAX4; MNA30;(其中,MN 表示指标DMI中的MDI; MINA表示 ADX; MAXA表示MACD;
注意参数您可以自己自动调节,不同的参数组合,得出不同的票票;
MN最好大于10,否则容易上套;
MINA大于35强势开始;
MINA 大于60,要小心,风险与利润共行;
MINA大于75别贪心;
MAXA从1--5的变化,多留心;
用这个公式:选出600651,600661,000652,000791,000828等牛股(选出的票票供参考,实盘谨慎!)
不会装的,或装出错误显示的,建议去买本电脑炒股软件的书 |