設(shè)為首頁加入收藏

微信關(guān)注
官方微信號:南方財富網(wǎng)
加關(guān)注獲取每日精選資訊
搜公眾號“南方財富網(wǎng)”即可,歡迎加入!
廣告服務(wù)會員登錄網(wǎng)站地圖

cci和kdj的組合指標公式 cci和kdj組合指標

2022-07-26 10:19 小語財經(jīng)說事

  CCI+KDJ復(fù)合信號選股指標,通達信公式:

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

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

  CCI修正1:=EMA(EMA(EMA(CCI,2),2),2);

  CCI修正2:=EMA(EMA(EMA(CCI,3),2),2);

  X:=(CROSS(CCI修正1,CCI修正2) OR (CCI修正1 >=CCI修正2))AND CCI修正1 >=-101 AND CCI修正1 >=REF(CCI修正1,1)AND REF(CCI修正1,1) < -101 ;

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

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

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

  J:=3*K-2*D;

  K1:= EMA(EMA(EMA(K,2),2),2);

  D1:= EMA(EMA(EMA(D,2),2),2);

  J1:= EMA(EMA(EMA(J,2),2),2);

  Y:= J1 > REF(J1,1) ;

  BUYHAOGU:X AND Y;

  同花順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;

  
官方微信

學(xué)院專區(qū)
相關(guān)導(dǎo)讀
南財查詢窩 輕松看漲跌