[SHARE] Simple RSI BULL/BEAR strategy
#81
(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/ojrPY...ion-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.
  Reply
#82
(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/ojrPY...ion-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?
  Reply
#83
(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/ojrPY...ion-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/xZ22V...-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]
  Reply
#84
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)


Attached Files
.png   error.png (Size: 124.23 KB / Downloads: 14)
  Reply
#85
Have you done a
npm install tulind
...?
  Reply
#86
(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/ojrPY...ion-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/xZ22V...-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
  Reply
#87
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?
  Reply
#88
(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.
  Reply
#89
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
  Reply
#90
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
  Reply


Forum Jump:


Users browsing this thread: