Ichimoku Indicator
#10
(03-20-2018, 09:36 PM)PatTrends Wrote: riesgo.rafael - The math in your indicator looks correct but I don't think it displaces spanA and SpanB (i.e. pushes the cloud in the future)?

Kris191 - Yes I have this working. I'll post an update soon. I've added a few other optional substrategies as well like "EMA as Tenkan-Sen" for slightly earlier tk crosses.

Hi,

I'm facing some issues running the code in particular:
Code:
2018-05-27 18:08:51 (INFO):    Setting up Gekko in backtest mode
2018-05-27 18:08:51 (INFO):    
2018-05-27 18:08:51 (INFO):    Setting up:
2018-05-27 18:08:51 (INFO):         Trading Advisor
2018-05-27 18:08:51 (INFO):         Calculate trading advice
2018-05-27 18:08:51 (INFO):         Using the strategy: ICHIMOKU
/home/full/gekko/strategies/ICHIMOKU.js:3
strat.init = function(){
^

ReferenceError: strat is not defined
   at Object.<anonymous> (/home/full/gekko/strategies/ICHIMOKU.js:3:1)
   at Module._compile (module.js:577:32)
   at Object.Module._extensions..js (module.js:586:10)
   at Module.load (module.js:494:32)
   at tryModuleLoad (module.js:453:12)
   at Function.Module._load (module.js:445:3)
   at Module.require (module.js:504:17)
   at require (internal/module.js:20:19)
   at Actor.setupTradingMethod (/home/full/gekko/plugins/tradingAdvisor/tradingAdvisor.js:48:16)
   at Actor.bound [as setupTradingMethod] (/home/full/gekko/node_modules/lodash/dist/lodash.js:729:21)
 xxx POST /api/backtest 500 1,268ms -

 Error: non-error thrown: Child process has died.
     at Object.onerror (/home/full/gekko/node_modules/koa/lib/context.js:105:40)
     at process._tickCallback (internal/process/next_tick.js:109:7)

Could anybody help me?

Tks
  Reply


Messages In This Thread
Ichimoku Indicator - by PatTrends - 02-28-2018, 10:18 PM
RE: Ichimoku Indicator - by PatTrends - 03-01-2018, 02:12 PM
RE: Ichimoku Indicator - by Fizcko - 03-01-2018, 05:01 PM
RE: Ichimoku Indicator - by muditgrover - 03-09-2018, 09:20 AM
RE: Ichimoku Indicator - by edoe - 03-10-2018, 06:09 AM
RE: Ichimoku Indicator - by PatTrends - 03-03-2018, 08:00 PM
RE: Ichimoku Indicator - by riesgo.rafael - 03-13-2018, 01:51 AM
RE: Ichimoku Indicator - by Kris191 - 03-14-2018, 05:15 AM
RE: Ichimoku Indicator - by PatTrends - 03-20-2018, 09:36 PM
RE: Ichimoku Indicator - by palofug87 - 05-27-2018, 04:19 PM
RE: Ichimoku Indicator - by PatTrends - 05-29-2018, 02:42 AM
RE: Ichimoku Indicator - by palofug87 - 05-29-2018, 09:19 PM
RE: Ichimoku Indicator - by PatTrends - 05-31-2018, 06:44 PM
RE: Ichimoku Indicator - by ardialamwijaya - 11-07-2019, 04:16 AM

Forum Jump:


Users browsing this thread: