Stochastics over Heiken Ashi candles
#3
Add the indicator as a require:
Code:
var myInd = require(./indicators/myInd.js);

Then add it as:   
Code:
this.myIndicator = new myInd(myParameters);


Gekko won't automatically update this, so in the update block you need to call update, with your HA candle instead of the normal candle: 
Code:
this.myIndicator.update(myHACandle);
  Reply


Messages In This Thread
RE: Stochastics over Heiken Ashi candles - by Gryphon - 04-18-2018, 02:55 PM

Forum Jump:


Users browsing this thread: