![]() |
在這個頁面顯示本主題全部的 6 個文章 |
奇狐社區論壇 (http://www.chiefox.com.tw/bbs/index.php)
- 問題交流 (http://www.chiefox.com.tw/bbs/forumdisplay.php?forumid=28)
-- 日夜盤問題 (http://www.chiefox.com.tw/bbs/showthread.php?threadid=24315)
日夜盤問題
版主你好:
1)可否寫出將日盤(8:45–13:45)及夜盤(15:00–05:00)分開計算的公式?
2)公式為KDJ
以上需求煩請指導....謝謝
__________________
__________________
chiu
回覆: 日夜盤問題
引用:
最初由 a9681054 發表
版主你好:
1)可否寫出將日盤(8:45–13:45)及夜盤(15:00–05:00)分開計算的公式?
2)公式為KDJ
以上需求煩請指導....謝謝
__________________
這我了解,當前面無值時用0去取代可以嗎?
__________________
chiu
引用:
最初由 a9681054 發表
這我了解,當前面無值時用0去取代可以嗎?
原碼:
BKN:=barslast(IsRegularFBar or Tradedate<>ref(Tradedate,1))+1; UN:=if(BKN<N,BKN,N); RSV:=(C-LLV(L,UN))/(HHV(H,UN)-LLV(L,UN))*100; K:RSV*0; D:K; for i=lbound(RSV) to datacount do begin if UN[i]=1 then K[i]:=RSV[i] else K[i]:=(RSV[i]+(M1-1)*K[i-1])/M1; if UN[i]<=2 then D[i]:=K[i] else D[i]:=(K[i]+(M2-1)*D[i-1])/M2; end; J:3*K-2*D; VERTLINE(UN=1) linedot;
了解,謝謝版主說明~
__________________
chiu
全部時間均為台灣時間, 現在時間為01:02 | 在這個頁面顯示本主題全部的 6 個文章 |
Powered by: vBulletin Version 2.3.0 - Copyright©2000-, Jelsoft Enterprises Limited.
簡愛洋行 製作 Copyright 2003-. All Rights Reserved.