09-10-2019, 09:39 AM
Hi Peter,
you can do this with the help of the tradingAdvisor.
Another way to use the different candle sizes similar to the way you worked with different periods of the same indicator before, you could do a multiple timeframe approach. There are strategies incorporating this approach here on this forum.
Regards,
Rainer
you can do this with the help of the tradingAdvisor.
Code:
var config = require ('../core/util.js').getConfig();
this.requiredHistory = config.tradingAdvisor.historySize;
this.setCandleSize = config.tradingAdvisor.candleSize;
console.log("candleSize: "+this.setCandleSize+", history: "+this.requiredHistory);
Another way to use the different candle sizes similar to the way you worked with different periods of the same indicator before, you could do a multiple timeframe approach. There are strategies incorporating this approach here on this forum.
Regards,
Rainer