[SHARE] Simple RSI BULL/BEAR strategy
#84
Hi,

i've downloaded the js and toml files from you github and put into the correct locations and then just added the name into the trading advisor but i get errors saying the below.
ive installed the tulip and talib indicators.

is there anything im missing from this that would cause this error?

thanks for the help

James

2018-02-13 00:01:36 (INFO):              Trading Advisor
2018-02-13 00:01:36 (INFO):              Calculate trading advice
2018-02-13 00:01:36 (INFO):              Using the strategy: RSI_BULL_BEAR_ADX
/mnt/c/www/gekko/strategies/RSI_BULL_BEAR_ADX.js:35
                this.addTulipIndicator('maSlow', 'sma', { optInTimePeriod: this.settings.SMA_long });
                                                                                         ^

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


Attached Files
.png   error.png (Size: 124.23 KB / Downloads: 14)
  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
RE: [SHARE] Simple RSI BULL/BEAR strategy - by RobboRobson - 02-13-2018, 12:11 AM
@Gryphon Confirmation - by mvangoor - 03-22-2019, 11:59 PM
for 3 months - by ankasem - 02-18-2018, 05:30 PM

Forum Jump:


Users browsing this thread: