indicator
indicator copied to clipboard
Candlestick Indicators give random results
The beginning of the results seem to look the same, but the endings can be wildly different.
This is pretty odd, and it makes the data worthless. What's going on here?
historical_data = [
{:open=>13192,
:high=>13192,
:low=>13177,
:close=>13177},
{:open=>13179,
:high=>13187,
:low=>13179,
:close=>13186}
#, etc. (1453 elements omitted for brevity)
]
candle_results_1 = Indicator.create('CdlDoji').run historical_data
candle_results_2 = Indicator.create('CdlDoji').run historical_data
candle_results_1 == candle_results_2 # FALSE!!