[SHARE] Simple RSI BULL/BEAR strategy
Hi Tommie,

Updated all the files, still the same issue.. its spitting an error from my config as per below:

short: 50,

SyntaxError: Unexpected token :
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.getConfig (/root/gekko/core/util.js:46:15)

When i remove the parameters from the config i get this error..

2018-03-29 06:26:49 (INFO): Using the strategy: RSI_BULL_BEAR_ADX
this.addIndicator('maSlow', 'SMA', this.settings.SMA.long );

TypeError: Cannot read property 'SMA' of undefined
at Base.init (/root/gekko/strategies/RSI_BULL_BEAR_ADX.js:39:52)
at Base.bound [as init] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Base (/root/gekko/plugins/tradingAdvisor/baseTradingMethod.js:87:8)
at Actor.setupTradingMethod (/root/gekko/plugins/tradingAdvisor/tradingAdvisor.js:62:17)
at Actor.bound [as setupTradingMethod] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Actor (/root/gekko/plugins/tradingAdvisor/tradingAdvisor.js:23:8)
at load (/root/gekko/core/pluginUtil.js:95:22)
at /root/gekko/node_modules/async/dist/async.js:1156:9
at replenish (/root/gekko/node_modules/async/dist/async.js:1030:17)
at iterateeCallback (/root/gekko/node_modules/async/dist/async.js:1015:17)

No idea whats going on at all can someone help as my bots not running and the other i have ii'm afraid to switch off in case i c ant get it back online.

Messages In This Thread
Werkkrew Stoploss - by susitronix - 02-02-2018, 09:39 PM
Removed post - by susitronix - 02-03-2018, 06:49 PM
@Gryphon Confirmation - by mvangoor - 03-22-2019, 11:59 PM
for 3 months - by ankasem - 02-18-2018, 05:30 PM
RE: [SHARE] Simple RSI BULL/BEAR strategy - by Kris191 - 03-29-2018, 05:29 AM

Forum Jump:

Users browsing this thread: