Hello, thank you for the great library.
I'm trying to get the ADX values for a single kline using 14 kline period.
For RSI14 Ive used 15 klines to get 1 RSI value.
How many close,high,low values do I need to get 1 ADX value?
For Get one ADX, Give no of values as 2 times of your period, ie..Consider period = 4, No of values = 2(4) = 8;
In your case, Period = 14, then no of values = 2(14)= 28.
Hello, thank you for the great library. I'm trying to get the ADX values for a single kline using 14 kline period. For RSI14 Ive used 15 klines to get 1 RSI value. How many close,high,low values do I need to get 1 ADX value?
example: daily klines for LTCBTC var inputADX = { period : 14, low: [ 0.006126, 0.006061, 0.006113, 0.00645, 0.006351, 0.00654, 0.006545, 0.006433, 0.006516, 0.006549, 0.006561, 0.0063, 0.006122, 0.00625, 0.006334 ], high: [ 0.006385, 0.006296, 0.006869, 0.006823, 0.006706, 0.007066, 0.00696, 0.006867, 0.006706, 0.006686, 0.006776, 0.00673, 0.0065, 0.006492, 0.006596 ], close:[ 0.006285, 0.006118, 0.006625, 0.006591, 0.006599, 0.00685, 0.006652, 0.006622, 0.006618, 0.00659, 0.006718, 0.006486, 0.006444, 0.006387, 0.006529 ] };
Thanks.