Running into problems with my first strategy
First, I am know close to nothing about JS (I am taking a online course at the moment) 
The simple strategy I am attempting to create uses Tulip HMA and WMA (and I 'll add some other stuff later) 

I used the "moon" strategy (from the intro video) as my base to and I am attempting to add WMA to it but for some reason, parameter for WMA I set in .toml file is not read. 

strat.init = function() {
     this.addTulipIndicator('wmaS', 'wma', {
      optInTimePeriod: this.settings.wmaS

and in my toml file, I got  wmaS = 21

The error I receive is: 

Quote:Error: Gekko was unable to configure Tulip Indicators:
       optInTimePeriod needs to be a number

What am I missing?
You actually make it look so easy with your performance but I find this matter to be actually something which I think I would never comprehend. It seems too complicated and extremely broad for me. I'm looking forward for your next post, I’ll try to get the hang of it! Vakantiewoning

Forum Jump:

Users browsing this thread: