Skip to content

Commit

Permalink
fix StochRSI; fix askmike#488
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Oct 31, 2016
1 parent 4ead6a1 commit c061c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion methods/StochRSI.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ method.init = function() {
this.requiredHistory = config.tradingAdvisor.historySize;

// define the indicators we need
this.addIndicator('rsi', 'RSI', this.interval);
this.addIndicator('rsi', 'RSI', { interval: this.interval });

this.RSIhistory = [];
}
Expand Down

0 comments on commit c061c23

Please sign in to comment.