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 - embezon - 01-15-2019

(01-14-2019, 06:31 PM)crypto49er Wrote: Open the PDO file to see if it is a valid indicator file.

You can also delete it unless you need it for another strat.

Thanks, solved.
var SMA = require("../SMA");
changed to
var SMA = require("./SMA");


Greetings!


@Gryphon Confirmation - mvangoor - 03-22-2019

(02-16-2018, 05:21 PM)zzmike76 Wrote:
(02-16-2018, 10:40 AM)Gryphon Wrote: I've been playing around with genetic algorithms on the adx strategy using gekkoga... the analysis is still running so these figures are just a work in progress, but thought I'd share my results so far.

The risks with GA is always that it tunes very specifically to the data that you have... I still need to test these settings on data in different time frames - they're just sooo slooow to download! If someone has the data to run this on similar timeframes as tommies stunning results in his first post I'd be really curious to see the results.

EUR:ETH
GA Epochs: 342 (~5min per epoch)
Exchange: GDAX
Data: 23/5/17 - 16/2/18 (9 months)
Market Gain: 392%
Simulated Profit: 983%

Candle Length: 17 Minutes

Parameters:
Code:
# SMA Trends
SMA_long = 500
SMA_short = 42

# BULL
BULL_RSI = 12
BULL_RSI_high = 82
BULL_RSI_low = 61

# BEAR
BEAR_RSI = 11
BEAR_RSI_high = 42
BEAR_RSI_low = 26

# ADX
ADX = 2
ADX_high = 62
ADX_low = 50

Image: https://imgur.com/zsBusoU



I've had some other promising results but they've been tuned over smaller timeframes so need more work.... I want to see what's possible on smaller, more volatile altcoins - BCD and XLM might be next on the list, but I haven't researched too much so I'd be happy to hear suggestions.

Mega thanks to AskMike and Tommie for all their work!

hello

can you share your gekkoga config ? have been trying but after a few rounds it crashes. Also no trades are being executed by gekko when running in gekkoga

Hi Gryphon. (and to all testing...... and testing) 

Just a simple confirmation.
Although your settings appeared to be a bit odd, I backtested several times over different timespan and various assets.
This one is over 1 month on BTC/BNB at Binance.
This is about the average result. Some tests ran slightly below whilst others fairly above.
I'm gllad I tried your settings. The results are way above my expectation.  Big Grin


RE: [SHARE] Simple RSI BULL/BEAR strategy - crypto49er - 04-08-2019

Let's all be honest here. Backtesting in Gekko is like being a kid and going to a candy store and having anything you want. The caveat is you own the store. Every trade in backtesting executes exactly at close price 100% of the time. That never happens in real life. That also means the insane amount of gains that RSIBBADX can make in backtest also will never happen in real life. It's time we get some more realistic backtesting in Gekko.

So I made some modifications to papertrader. You guys can see the changes I made to try to make it a lot more realistic. The gist is, your trades won't get execute at close price 100% of the time, and it's not just some random number generator that determines if your trades get executed (but adding that would make things more realistic than what we have currently).

Watch here: https://youtu.be/DaUyFLEsMxs


RE: [SHARE] Simple RSI BULL/BEAR strategy - smiley - 04-08-2019

@jack will you post your updated papertrader.js to your github, as retyping off your youtube is a bit cubersome.
Thanks for your hard work on this.


RE: [SHARE] Simple RSI BULL/BEAR strategy - crypto49er - 04-09-2019

(04-08-2019, 12:02 PM)smiley Wrote: @jack will you post your updated papertrader.js to your github, as retyping off your youtube is a bit cubersome.
Thanks for your hard work on this.

You're welcome. Here you go.

https://github.com/crypto49er/moddedgekko/blob/exp/plugins/paperTrader/paperTrader.js


RE: [SHARE] Simple RSI BULL/BEAR strategy - martyc - 05-15-2019

(04-08-2019, 01:57 AM)crypto49er Wrote: Let's all be honest here. Backtesting in Gekko is like being a kid and going to a candy store and having anything you want. The caveat is you own the store. Every trade in backtesting executes exactly at close price 100% of the time. That never happens in real life. That also means the insane amount of gains that RSIBBADX can make in backtest also will never happen in real life. It's time we get some more realistic backtesting in Gekko.

So I made some modifications to papertrader. You guys can see the changes I made to try to make it a lot more realistic. The gist is, your trades won't get execute at close price 100% of the time, and it's not just some random number generator that determines if your trades get executed (but adding that would make things more realistic than what we have currently).

Watch here: https://youtu.be/DaUyFLEsMxs

Nice work crypto49er,
Video and code make perfect sense. Did you think about or try to to automate the process of determining the average volume?
Something like this http://www.sqlitetutorial.net/sqlite-nodejs/query/

Cheers,
Martin


RE: [SHARE] Simple RSI BULL/BEAR strategy - tommiehansen - 05-19-2019

(04-08-2019, 01:57 AM)crypto49er Wrote: Let's all be honest here. Backtesting in Gekko is like being a kid and going to a candy store and having anything you want. The caveat is you own the store. Every trade in backtesting executes exactly at close price 100% of the time. That never happens in real life. That also means the insane amount of gains that RSIBBADX can make in backtest also will never happen in real life. It's time we get some more realistic backtesting in Gekko.

So I made some modifications to papertrader. You guys can see the changes I made to try to make it a lot more realistic. The gist is, your trades won't get execute at close price 100% of the time, and it's not just some random number generator that determines if your trades get executed (but adding that would make things more realistic than what we have currently).

Watch here: https://youtu.be/DaUyFLEsMxs


This is of course true.
Good work with the mods. Smile


RE: [SHARE] Simple RSI BULL/BEAR strategy - TheBoef - 07-10-2019

(04-09-2019, 12:59 AM)crypto49er Wrote:
(04-08-2019, 12:02 PM)smiley Wrote: @jack will you post your updated papertrader.js to your github, as retyping off your youtube is a bit cubersome.
Thanks for your hard work on this.

You're welcome. Here you go.

https://github.com/crypto49er/moddedgekko/blob/exp/plugins/paperTrader/paperTrader.js

Im running a backtest for 4 days now with this paperTrader. Last six months USDT / BTC pair and still no config found that has more profit then the market :o


RE: [SHARE] Simple RSI BULL/BEAR strategy - tommiehansen - 07-18-2019

(07-10-2019, 11:32 AM)TheBoef Wrote:
(04-09-2019, 12:59 AM)crypto49er Wrote:
(04-08-2019, 12:02 PM)smiley Wrote: @jack will you post your updated papertrader.js to your github, as retyping off your youtube is a bit cubersome.
Thanks for your hard work on this.

You're welcome. Here you go.

https://github.com/crypto49er/moddedgekko/blob/exp/plugins/paperTrader/paperTrader.js

Im running a backtest for 4 days now with this paperTrader. Last six months USDT / BTC pair and still no config found that has more profit then the market :o

4 days?

Well... that's your problem.


RE: [SHARE] Simple RSI BULL/BEAR strategy - PGTART - 09-03-2019

Hi Tommie Hansen
Letting you know that I used your code and extended it and shared it publicly.
There was allread the extension _PINGPONG and I added _PEEKTREND
So it got a long name now Smile) the added idea is to have added a stoploss mechanism that follows the market
( if market goes up so does the stoplevel, market falls stop level stays and will eventually be triggered).

https://github.com/PGTBoos/GekkoStrategies
a bit more about it here : https://forum.gekko.wizb.it/thread-57996.html