邱一平所著的《机会交易法》里决策曲线指标的采样有两种,一是选用27种指标采样,二是选用10种指标采样,总分都是36分。采样指标可以依据自己的标准选,采样的广度和多少决定指标的精确度。 27种指标采样 3日及5日平均线 向上交叉加1分,向下交叉扣-1分 5日及10日平均线 向上交叉加1分,向下交叉扣-1分 12日及50日平均线向上交叉加1分,向下交叉扣-1分 KD 向上交叉加1分,向下交叉扣-1分 MACD 向上交叉加1分,向下交叉扣-1分 TRIX 向上交叉加1分,向下交叉扣-1分 DMI 涨势ADX转折加3分,跌势ADX转折扣-3分 RSI 80以上加1分,20以下扣-1分 CCI 180以上加2分,-180以下扣-2分 W%R 80以上加1分,20以下扣-1分 OSC 0轴以上加1分,0轴以下扣-1分 MOM 0轴以上加1分,0轴以下扣-1分 DPO 0轴以上加1分,0轴以下扣-1分 布林线 布林线上限以上加1分,布林线下限以下扣-1分 BRAR BR>350加3分<45扣-3分,ar>180加3分<45扣-3分 vr="">350加3分<45扣-3分 wvad="" emv="" obv="">24日EMA加1分,<24日ema扣-1分 pvi="">24日EMA加1分,<24日ema扣-1分 nvi="">24日EMA加2分,<24日ema扣-2分 mass="">26.5加2分,跌势>26.5扣-2分 VCI 涨势出现凸出加1分,跌势出现凸出扣-1分 VHF VHF>0.3加1分,<0.3扣-1分 csi="">24日EMA加1分,<24日EMA扣-1分 逆时钟曲线 向右上方移动加1分,向左下方移动扣-1分 麟龙决策曲线 MA01:=MA(CLOSE,5); MA02:=MA(CLOSE,8); P01:=IF(CROSS(MA01,MA02),1,0); P02:=IF(CROSS(MA02,MA01),-1,0); P0:=P01+P02; MA11:=MA(CLOSE,8); MA12:=MA(CLOSE,21); P11:=IF(CROSS(MA11,MA12),1,0); P12:=IF(CROSS(MA12,MA11),-1,0); P1:=P11+P12; RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100; K:=SMA(RSV,12,1); D:=SMA(K,24,1); J:=3*K-2*D; P21:=IF(CROSS(K,D)AND D<20,1,0); p22:="IF(CROSS(D,K)AND" k="">80,-1,0); P23:=IF(CROSS(J,0),0.5,0); P24:=IF(CROSS(100,J),-0.5,0); P2:=P21+P22+P23+P24; DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); P31:=IF(CROSS(DIFF,DEA)AND DEA<0,1,0); p32:="IF(CROSS(DEA,DIFF)AND" diff="">0,-1,0); P3:=P31+P32; WR1:=100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,113)); P41:=IF(WR1>80,1,0); P42:=IF(WR1<20,-1,0); p4:="P41+P42;" ob:="SUM(IF(CLOSE">REF(CLOSE,1),VOL,IF(CLOSEREF(EMA(OBV,24),1),1.5,0); P52:=IF(OBV350,3,0); P62:=IF(BR<45,-3,0); p63:="IF(AR">180,3,0); P64:=IF(AR<45,-3,0); p6:="P61+P62+P63+P64;" th:="SUM(IF(CLOSE">REF(CLOSE,1),VOL,0),26); TL:=SUM(IF(CLOSE350,3,0); P72:=IF(VR<45,-3,0); P7:=P71+P72; MASS:=SUM(MA(HIGH-LOW,9)/MA(MA(HIGH-LOW,9),9),25); MAMASS:=MA(MASS,6); P81:=IF(MASS<27 and="" p82:="IF(MASS">27 AND CROSS(MASS,26.5),-2,0); P8:=P81+P82; WVAD:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,24)/10000; MAWVAD:=MA(WVAD,6); P91:=IF(WVAD>0,1,0); P92:=IF(WVAD<0,-1,0); p9:="P91+P92;" volume:="MA(VOL,10)/VOL;" mid:="100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);" emv:="MA(MID*VOLUME*(HIGH-LOW)/MA(HIGH-LOW,14),14);" q11:="IF(EMV">0,1.5,0); Q12:=IF(EMV<0,-1.5,0); q1:="Q11+Q12;" tr:="EMA(EMA(EMA(CLOSE,13),13),13);" trix:="(TR-REF(TR,1))/REF(TR,1)*100;" q21:="IF(" q22:="IF(" q2:="Q21+Q22;" lc:="REF(CLOSE,1);" rsi:="SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;" q31:="IF(RSI">80,1,0); Q32:=IF(RSI<20,-1,0); q3:="Q31+Q32;" osc:="100*(CLOSE-MA(CLOSE,20));" maosc:="EXPMEMA(OSC,6);" q41:="IF(CROSS(OSC,MAOSC),1,0);" q42:="IF(CROSS(MAOSC,OSC),-1,0);" q4:="Q41+Q42;" typ:="(HIGH+LOW+CLOSE)/3;" cci:="(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13));" q51:="IF(CCI">180,2,0); Q52:=IF(CCI<-180,-2,0); q5:="Q51+Q52;" tr1:="EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);" hd="" :="REF(LOW,1)-LOW;" ld="" dmp:="EXPMEMA(IF(HD">0&&HD>LD,HD,0),14); DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14); PDI:=DMP*100/TR1; MDI:=DMM*100/TR1; ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6); ADXR:=EXPMEMA(ADX,6); Q61:=IF(CROSS(PDI,MDI),2,0); Q62:=IF(CROSS(DMI,PDI),-2,0); Q6:=Q61+Q62; DPO:=CLOSE-REF(MA(CLOSE,21),21/2+1); MADPO:=MA(DPO,6); Q71:=IF(DPO>0,1,0); Q72:=IF(DPO<0,-1,0); q7:="Q71+Q72;" mamtm:="MA(MTM,6);" q81:="IF(CROSS(MTM,MAMTM),1,0);" q82:="IF(CROSS(MAMTM,MTM),-1,0);" q8:="Q81+Q82;" mid1:="SUM(VOL*(2*CLOSE-HIGH-LOW)/(HIGH+LOW),0);" cho:="MA(MID,10)-MA(MID,20);" macho:="MA(CHO,6);" q91:="IF((CLOSE">MA(CLOSE,90))AND CROSS(CLOSE,0), 1.5,0); Q92:= IF((CLOSE
VARA:=R1+R2+R3+Q1+Q2+Q3+Q4+Q5+Q6+Q7+Q8+Q9+P0+P1+P2+P3+P4+P5+P6+P7+P8+P9;
决策曲线:VARA; 股票论坛 www.55188.com