Bitcoin Forum
April 26, 2024, 10:54:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Trading Discussion / Re: Gekko - a javascript trading bot and backtesting platform on: April 04, 2014, 05:31:33 AM
Great project.

I want to know is any plan to integrate ta-lib?

Maybe it's a little difficult to using that on windows, at least for me..
2  Economy / Service Announcements / Re: BitcoinWisdom.com - Live Bitcoin/LiteCoin Charts on: March 13, 2014, 02:47:27 PM
Can anyone explain how the KDJ indicator is calculated on BitcoinWisdom? I'm trying to figure out the  math of the K, D, and J lines but none of the explainations from google are matching the outcome of the BitcoinWisdom one.

I'd like to be able to duplicate the KDJ indicator from BitcoinWisdom for use in a trade bot if I can figure out how it is calculated.
The formula is

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;

LLV means lowest value in period
HHV means highest value in period
SMA is Simple Moving Average

What does the 1 in SMA(RSV,3,1); mean? I took the SMA of RSV over 3 periods and get a similar result to yours but it's still not quite right. For my SMA calc I just did a simple SMA = (day1 + day2 + day3) / 3
Sorry for misleading. I fogot SMA is not Simple Moving Average in this formula.
The formula I used is
Y=SMA(RSV,n,m)=(m*RSV+(n-m)*Y')/n
Y' means previous Y
when n = 3 and m = 1
Y=SMA(RSV,3,1)=(RSV+2*Y')/3
when m = 2, it close to EMA

hi, I want to calculate KDJ for data analyze, I am using the formula you use, but the result are not the same with the one in your website.
Does the default parameter in your site are KDJ(9,3,3) , K = SMA(RSV,3,1)?

another question is when calcuate RSV = (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100, if the HHV equals LLV, what the value of RSV should be? 0 or 50?
3  Economy / Marketplace / Re: I wanna buy bitcoinwisdom like source code on: March 06, 2014, 10:06:37 AM
土豪,中国还有好几个网站都是用的这种风格的。不知道他们是直接用的别人的源码,还是怎么搞到的。
4  Economy / Service Announcements / Re: BitcoinWisdom.com - Live Bitcoin/LiteCoin Charts on: March 06, 2014, 04:46:55 AM
Did you sell or shared your code to other people?

I found there is a lot of websites using your style K line in China.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!