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 - 0mathew0 - 02-12-2018

(02-12-2018, 07:38 PM)BE_Art Wrote:
(02-12-2018, 07:14 PM)0mathew0 Wrote: I'm more the visual guy so I recreated this strat in tradingview to play around with it:
https://www.tradingview.com/script/ojrPYNkz-Tommies-RSI-combination-strat/

Have fun =)


How can I interpret this graph?

The blue area shows the current RSI thresholds (dynamicy based on SMA cross trend and ADX based adders) - the black line is your current RSI. If the RSI crosses the lower threshold of the area it's a long signal, upper threshold is a short signal.


RE: [SHARE] Simple RSI BULL/BEAR strategy - thirdman - 02-12-2018

(02-12-2018, 07:41 PM)0mathew0 Wrote:
(02-12-2018, 07:38 PM)BE_Art Wrote:
(02-12-2018, 07:14 PM)0mathew0 Wrote: I'm more the visual guy so I recreated this strat in tradingview to play around with it:
https://www.tradingview.com/script/ojrPYNkz-Tommies-RSI-combination-strat/

Have fun =)


How can I interpret this graph?

The blue area shows the current RSI thresholds (dynamicy based on SMA cross trend and ADX based adders) - the black line is your current RSI. If the RSI crosses the lower threshold of the area it's a long signal, upper threshold is a short signal.

Hi mathew, how do you translate those into settings tho?


RE: [SHARE] Simple RSI BULL/BEAR strategy - 0mathew0 - 02-12-2018

(02-12-2018, 09:45 PM)thirdman Wrote:
(02-12-2018, 07:41 PM)0mathew0 Wrote:
(02-12-2018, 07:38 PM)BE_Art Wrote:
(02-12-2018, 07:14 PM)0mathew0 Wrote: I'm more the visual guy so I recreated this strat in tradingview to play around with it:
https://www.tradingview.com/script/ojrPYNkz-Tommies-RSI-combination-strat/

Have fun =)


How can I interpret this graph?

The blue area shows the current RSI thresholds (dynamicy based on SMA cross trend and ADX based adders) - the black line is your current RSI. If the RSI crosses the lower threshold of the area it's a long signal, upper threshold is a short signal.

Hi mathew, how do you translate those into settings tho?

It was more to understand whats going on within the strategy without going through my terminal output or logs.
To go even further, I added the ability to backtest it on tradingview - it comes close to the gekko backtest results and works a lot faster - major drawback is the limited amount of 15min backtest data though..

https://www.tradingview.com/script/xZ22V7Dd-Tommies-RSI-strat-backtest/

When usind the strategy tester, in order to get meaningful results, one should use properties similar to these (here it starts with 100 EUR, trades 100% and considers 0.26% trading fee):

[Image: lQveFzR.png]


RE: [SHARE] Simple RSI BULL/BEAR strategy - RobboRobson - 02-13-2018

Hi,

i've downloaded the js and toml files from you github and put into the correct locations and then just added the name into the trading advisor but i get errors saying the below.
ive installed the tulip and talib indicators.

is there anything im missing from this that would cause this error?

thanks for the help

James

2018-02-13 00:01:36 (INFO):              Trading Advisor
2018-02-13 00:01:36 (INFO):              Calculate trading advice
2018-02-13 00:01:36 (INFO):              Using the strategy: RSI_BULL_BEAR_ADX
/mnt/c/www/gekko/strategies/RSI_BULL_BEAR_ADX.js:35
                this.addTulipIndicator('maSlow', 'sma', { optInTimePeriod: this.settings.SMA_long });
                                                                                         ^

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


RE: [SHARE] Simple RSI BULL/BEAR strategy - tommiehansen - 02-13-2018

Have you done a
npm install tulind
...?


RE: [SHARE] Simple RSI BULL/BEAR strategy - tommiehansen - 02-13-2018

(02-12-2018, 10:34 PM)0mathew0 Wrote:
(02-12-2018, 09:45 PM)thirdman Wrote:
(02-12-2018, 07:41 PM)0mathew0 Wrote:
(02-12-2018, 07:38 PM)BE_Art Wrote:
(02-12-2018, 07:14 PM)0mathew0 Wrote: I'm more the visual guy so I recreated this strat in tradingview to play around with it:
https://www.tradingview.com/script/ojrPYNkz-Tommies-RSI-combination-strat/

Have fun =)


How can I interpret this graph?

The blue area shows the current RSI thresholds (dynamicy based on SMA cross trend and ADX based adders) - the black line is your current RSI. If the RSI crosses the lower threshold of the area it's a long signal, upper threshold is a short signal.

Hi mathew, how do you translate those into settings tho?

It was more to understand whats going on within the strategy without going through my terminal output or logs.
To go even further, I added the ability to backtest it on tradingview - it comes close to the gekko backtest results and works a lot faster - major drawback is the limited amount of 15min backtest data though..

https://www.tradingview.com/script/xZ22V7Dd-Tommies-RSI-strat-backtest/


Cool, but doesn't seem to resemble the backtest results within Gekko?

Frankly i find TradingView and pinescript to be a bit buggy so maybe it's me though. Smile


RE: [SHARE] Simple RSI BULL/BEAR strategy - iagolts - 02-13-2018

Hello! I liked your strar a lot. Still, I'm very new to this environment, so I was wondering if you could give me any tips on setting up the parameters to different pairs. I mean, what should I take in consideration when setting up the SMA lenght, etc?


RE: [SHARE] Simple RSI BULL/BEAR strategy - tommiehansen - 02-13-2018

(02-13-2018, 03:55 PM)iagolts Wrote: Hello! I liked your strar a lot. Still, I'm very new to this environment, so I was wondering if you could give me any tips on setting up the parameters to different pairs. I mean, what should I take in consideration when setting up the SMA lenght, etc?

This seems like a question that has more to do with general TA. Using Gekko requires a little knowledge on how/why things work in the TA-world (technical analysis), try googling something like moving average strategy and relative strength strategy.

Then backtest, check, backtest, check, back.. and so on.


RE: [SHARE] Simple RSI BULL/BEAR strategy - ankasem - 02-13-2018

hi tommie

rsi bull bear I started trading your strategy in btc usd couple live trading
currently btc-usd 6000 usd to 9000 usd
Gekko also made purchases and is waiting for your strategy at 8200 USD
this strategy is appropriate for btc-usd
I am expecting a profit of around 2% per day
what strategy and options should I change for this
thank you so much


RE: [SHARE] Simple RSI BULL/BEAR strategy - tommiehansen - 02-13-2018

Unfortunately i don't know. The BTC-USD pair seem to be especially hard to get good results out of (maybe because of other bots?).
I haven't had the time to properly analyze why this is yet.

And please don't use any of these strategies with any larger sums of money. Gekko is still in beta after all. Smile