[SHARE] Simple RSI BULL/BEAR strategy
Brand new Green and trying to learn...when I run the RSI BULL/BEAR as a backtest, the parameters do not populate does anyone know what I am doing wrong?

I also seem to be getting this error:
2018-05-08 13:46:59 (INFO): Setting up Gekko in backtest mode
2018-05-08 13:46:59 (INFO):
2018-05-08 13:46:59 (INFO): Setting up:
2018-05-08 13:46:59 (INFO): Trading Advisor
2018-05-08 13:46:59 (INFO): Calculate trading advice
2018-05-08 13:46:59 (INFO): Using the strategy: RSI_BULL_BEAR_ADX
2018-05-08 13:46:59 (WARN): TALIB indicators could not be loaded, they will be unavailable.
2018-05-08 13:46:59 (ERROR): Failed to load indicator STC
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
at Base.init (C:\Users\cr043134\Documents\gekko-develop\gekko-develop\strategies\RSI_BULL_BEAR_ADX.js:39:56)
at Base.bound [as init] (C:\Users\cr043134\Documents\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21)
at new Base (C:\Users\cr043134\Documents\gekko-develop\gekko-develop\plugins\tradingAdvisor\baseTradingMethod.js:87:8)
at Actor.setupTradingMethod (C:\Users\cr043134\Documents\gekko-develop\gekko-develop\plugins\tradingAdvisor\tradingAdvisor.js:62:17)
at Actor.bound [as setupTradingMethod] (C:\Users\cr043134\Documents\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21)
at new Actor (C:\Users\cr043134\Documents\gekko-develop\gekko-develop\plugins\tradingAdvisor\tradingAdvisor.js:23:8)
at load (C:\Users\cr043134\Documents\gekko-develop\gekko-develop\core\pluginUtil.js:95:22)
at C:\Users\cr043134\Documents\gekko-develop\gekko-develop\node_modules\async\dist\async.js:1156:9
at replenish (C:\Users\cr043134\Documents\gekko-develop\gekko-develop\node_modules\async\dist\async.js:1030:17)
at iterateeCallback (C:\Users\cr043134\Documents\gekko-develop\gekko-develop\node_modules\async\dist\async.js:1015:17)
xxx POST /api/backtest 500 406ms -

Error: non-error thrown: Child process has died.
at Object.onerror (C:\Users\cr043134\Documents\gekko-develop\gekko-develop\node_modules\koa\lib\context.js:105:40)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
  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 whoodat - 05-08-2018, 06:20 PM

Forum Jump:


Users browsing this thread: