[SHARE] Simple RSI BULL/BEAR strategy
Update RSI BULL/BEAR ADX now has a new TOML format.

Check: https://github.com/tommiehansen/gekko_to...strategies
or git pull it.
  Reply
Hi @tommiehansen

Gekko CLI says it doesn't know ADX indicator, it struggled with SMA. long but changing to SMA_long worked
  Reply
(03-26-2018, 04:17 AM)Kris191 Wrote: Hi @tommiehansen

Gekko CLI says it doesn't know ADX indicator, it struggled with SMA. long but changing to SMA_long worked

You need to get the extra indicators that the strategies now use, see the first post of this thread:
https://forum.gekko.wizb.it/thread-100.html
  Reply
Hi Tommie,

moved all indicators over and still getting this error...

2018-03-27 10:13:38 (INFO): Setting up:
2018-03-27 10:13:38 (INFO): Trading Advisor
2018-03-27 10:13:38 (INFO): Calculate trading advice
2018-03-27 10:13:38 (INFO): Using the strategy: RSI_BULL_BEAR_ADX
/root/gekko/strategies/RSI_BULL_BEAR_ADX.js:50
this.BULL_MOD_high = this.settings.BULL.mod_high;
^

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


Any ideas?
  Reply
Tommie has just changed the toml format, that error could come from using the new .js with the old .toml?
  Reply
Yes, that's probably it. TOML format changed with also means that the JS for the strategy changed so you need to update both.
  Reply
ok i'll remove them all and replace and see if that fixes it. thanks
  Reply
Hi
thanks again
i only use gekko ui
------------------------------------------------------------

Since your 2 strategies are super
I also started live gekko ui to test and use

I have not read the articles you wrote with excitement
I realized now that I read all the writings again

i know wrong
rsi bull bear
sma long wants 2 days of data (sma 300 ) (ca si 10 wa up 9 = 1 h 30 mi )
gekko ui does not accept downloaded data for 2 days

what if your strategies work this way
How does 2 days work . Default setting  + sma long =300
what should i do
  Reply
(03-27-2018, 08:47 PM)ankasem Wrote: Hi
thanks again
i only use gekko ui
------------------------------------------------------------

Since your 2 strategies are super
I also started live gekko ui to test and use

I have not read the articles you wrote with excitement
I realized now that I read all the writings again

i know wrong
rsi bull bear
sma long wants 2 days of data (sma 300 ) (ca si 10 wa up 9 = 1 h 30 mi )
gekko ui does not accept downloaded data for 2 days

what if your strategies work this way
How does 2 days work . Default setting  + sma long =300
what should i do

Make sure your Gekko actually downloads the necessarcy data.
If you got a problem with that start a specific thread about that in these forums. Smile
  Reply
hi
What happens if the trade bot is started without historical data in the strategies
Strategies do not have past data, but if you start a trade bot with default settings, how does it behave in a strategy bear or bull trend ?
thank you
  Reply


Forum Jump:


Users browsing this thread: