02-04-2020, 07:46 PM
(07-24-2019, 07:58 AM)mali8 Wrote: Hey, i'm trying out this strategy and i'm getting this error:
Code:<-- POST /api/backtest
uncaughtException TypeError: Cannot read property 'ADXLength' of undefined
at new Indicator (/usr/src/app/strategies/indicators/ADX.js:7:29)
at Base.init (/usr/src/app/strategies/RSI_Bull_Bear_Adx_M1.js:65:16)
at Base.bound [as init] (/usr/src/app/node_modules/lodash/dist/lodash.js:729:21)
at new Base (/usr/src/app/plugins/tradingAdvisor/baseTradingMethod.js:69:8)
at Actor.setupStrategy (/usr/src/app/plugins/tradingAdvisor/tradingAdvisor.js:61:19)
at Actor.bound [as setupStrategy] (/usr/src/app/node_modules/lodash/dist/lodash.js:729:21)
at new Actor (/usr/src/app/plugins/tradingAdvisor/tradingAdvisor.js:23:8)
at load (/usr/src/app/core/pluginUtil.js:98:22)
at /usr/src/app/node_modules/async/dist/async.js:1156:9
at replenish (/usr/src/app/node_modules/async/dist/async.js:1030:17)
xxx POST /api/backtest 500 783ms -
Error: non-error thrown: [object Object]
at Object.onerror (/usr/src/app/node_modules/koa/lib/context.js:105:40)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
Any suggestions?
Hi, the same thing happened to me. What you have to do is install the external indicators.