[SHARE] Simple RSI BULL/BEAR strategy
(05-08-2018, 06:20 PM)whoodat Wrote: C:\Users\cr043134\Documents\gekko-develop\gekko-develop\strategies\RSI_BULL_BEAR_ADX.js:39
               this.addIndicator('maSlow', 'SMA', this.settings.SMA.long );
                                                                    ^

TypeError: Cannot read property 'long' of undefined
 

You are using a wrong setting for SMA.long, check if you use the correct syntax.

this.settings.SMA.long for toml file:
[SMA]
long: xxx
short: xxx

####

this.settings.SMA.long translates for config file:
SMA: {
long: xx,
short: xx,
},

The settings and TOML files of this strategy changed in the past, maybe you have an old version.
  Reply


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 Cryptos - 05-09-2018, 07:40 AM

Forum Jump:


Users browsing this thread: