Inverse Fisher RSI Strat- only returns false. - Printable Version +- Gekko Forum (https://forum.gekko.wizb.it) +-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html) +--- Forum: Strategy Development (https://forum.gekko.wizb.it/forum-12.html) +--- Thread: Inverse Fisher RSI Strat- only returns false. (/thread-58005.html) |
Inverse Fisher RSI Strat- only returns false. - lucascostner - 09-11-2019 Hey everyone- hope you can help me out with this. I've been revisiting an old strategy post from a year or so ago. So this doesn't generate any errors when I run it, but something is off because the IFRSI indicator never returns anything. When I console.log to print the result as it runs it always comes back with "false"- it should be returning 0.5 or -0.5. Anyone have any advice for me on this? The two required indicators and the strategy file are below..... Here is the first indicator: /indicators/IFTRSI.js Code: var RSI = require('./RSI.js'); Here is the second indicator- /indicators/WMA.js Code: var Indicator = function(settings) { And here is the strategy file-- /strategies/IFRSI.js Code: var method = {}; RE: Inverse Fisher RSI Strat- only returns false. - vladek666 - 10-05-2019 Fisher je vrlo dobar pokazatelj. Jeste li spremni završiti? izbriši u /indicators/IFTRSI.js console.log (iftResult); Javite mi kad završim scenarij RE: Inverse Fisher RSI Strat- only returns false. - lucascostner - 10-06-2019 Yeah I tried using console.log but every time it logs the result it always just comes back “false”. Not sure where the problem is. |