technical-analysis
technical-analysis copied to clipboard
A Ruby library for performing technical analysis on stock prices and other data sets.
Using the lib, I realized there is not any indicator to get the highest high from a data set. I let the code i used for it. def highest source,...
Cannot .find('ema') indicator. Other indicators work fine. TechnicalAnalysis::Ema works too. ``` irb(main):029:0> TechnicalAnalysis::Indicator.find('ema') => nil ```
atr calculate in a wrong way, should not get the new one from last result > if period_values.size == period > if output.empty? > atr = ArrayHelper.average(period_values) > else >...
Hi, When I try to `bundle` this repo I get the following error: ``` Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Bundler could not find...
Please, run specs, as I am editing online. M1 arch does not allow me to run specs locally.