Gekko Forum
[SHARE] Simple RSI BULL/BEAR strategy - 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: [SHARE] Simple RSI BULL/BEAR strategy (/thread-100.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


RE: [SHARE] Simple RSI BULL/BEAR strategy - tommiehansen - 03-25-2018

Update RSI BULL/BEAR ADX now has a new TOML format.

Check: https://github.com/tommiehansen/gekko_tools/tree/master/strategies
or git pull it.


RE: [SHARE] Simple RSI BULL/BEAR strategy - Kris191 - 03-26-2018

Hi @tommiehansen

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


RE: [SHARE] Simple RSI BULL/BEAR strategy - tommiehansen - 03-26-2018

(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


RE: [SHARE] Simple RSI BULL/BEAR strategy - Kris191 - 03-27-2018

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?


RE: [SHARE] Simple RSI BULL/BEAR strategy - Gryphon - 03-27-2018

Tommie has just changed the toml format, that error could come from using the new .js with the old .toml?


RE: [SHARE] Simple RSI BULL/BEAR strategy - tommiehansen - 03-27-2018

Yes, that's probably it. TOML format changed with also means that the JS for the strategy changed so you need to update both.


RE: [SHARE] Simple RSI BULL/BEAR strategy - Kris191 - 03-27-2018

ok i'll remove them all and replace and see if that fixes it. thanks


RE: [SHARE] Simple RSI BULL/BEAR strategy - ankasem - 03-27-2018

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


RE: [SHARE] Simple RSI BULL/BEAR strategy - tommiehansen - 03-28-2018

(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


RE: [SHARE] Simple RSI BULL/BEAR strategy - ankasem - 03-28-2018

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