ohlcv-indicators 1.6.9 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ohlcv-indicators",
3
- "version": "1.6.9",
3
+ "version": "1.7.0",
4
4
  "description": "A JavaScript library featuring optimized trading indicators for OHLCV arrays [{open, high, low, close, value}]. This library is optimized for backtesting and trading bot development.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -94,7 +94,7 @@ const getCandlesStudies = (inputOhlcv, period = 20, len) => {
94
94
 
95
95
  //label
96
96
 
97
- const labelArr = [candle_body_size[x], candle_top_size[x], candle_bottom_size[x]] //[candle_direction[x], candle_body_size[x], candle_top_size[x], candle_bottom_size[x]]
97
+ const labelArr = [candle_direction[x], candle_body_size[x], candle_top_size[x], candle_bottom_size[x]]
98
98
 
99
99
  if(labelArr.every(v => typeof v === 'number'))
100
100
  {