首頁>Club>
7
回覆列表
  • 1 # 樂天派德魯3J9

    KDJ+MACD雙金叉選股公式,實盤驗證,成功率高達90%

    該公式代表的含義是當日KDJ和MACD雙金叉;配合其它條件,就可以選出適合某些思路的股票,這裡只拋磚引玉一下。

    GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));

    GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));

    GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));

    GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));

    A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;

    B:=BARSLAST(CROSS(GJTJ4,GJTJ2));

    D:=GJTJ3;

    E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;

    F:=GJTJ2;

    B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0;

    周K:="KDJ.K#WEEK";

    周D:="KDJ.D#WEEK";

    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

    K:=SMA(RSV,3,1);

    D1:=SMA(K,3,1);

    去停牌:=DYNAINFO(8)>0;

    去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));

    ENTERLONG:A AND B AND D AND E AND F AND 去停牌 AND 去ST AND CROSS(周K,周D);

  • 2 # 喜子衝擊

    cci指標與kdj指標形成共振的時候,是買賣點的研判技巧,其基本的原始碼公式如下:


      N:=9;


      M1:=3;


      M2:=3;


      RSV=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;


      a=SMA(RSV,M1,1);


      b=SMA(a,M2,1);


      e=3*a-2*b;


      IF(a<0) a=0;


      IF(a>100) a=100;


      IF(b<0) b=0;


      IF(b>100) b=100;


      IF(e<0) e=0;


      IF(e>100) e=100;


      K:a;


      D:b;


      J:e;


      N:=14;


      TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;


      CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));


      a:100;


      b:-100;

  • 中秋節和大豐收的關聯?
  • 兩歲寶寶不洗頭有啥辦法?