[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) |
RE: [SHARE] Simple RSI BULL/BEAR strategy - Kris191 - 07-06-2018 (07-06-2018, 02:03 PM)IPhantom Wrote: Hi there, in live or paper trading or back testing? RE: [SHARE] Simple RSI BULL/BEAR strategy - IPhantom - 07-06-2018 [/quote] in live or paper trading or back testing? [/quote] Backtest. It's the first quarter of 2018. RE: [SHARE] Simple RSI BULL/BEAR strategy - hondong - 07-10-2018 Hi, i am new to Gekko and copied this Code (RSI_BULL_BEAR) as descriped, but I dont get any Backtest Values. Even the Parameters are not loaded in the Parameters Box. When I copy them to it and try some settings (even with very long Warmup >1100) I dont get any Backtest data. Even the log returned no error. Other strategies (RSI, MACD) returns data. Any Idea? kind regards, Nils RE: [SHARE] Simple RSI BULL/BEAR strategy - dugu-dugu - 07-10-2018 (07-03-2018, 08:49 PM)crypto49er Wrote:It just lost me almost 10% of my money, all in just one bad trade.Quote:None for me, so far.Ouch, hope half wasn't too much. How long did you have the bot running? Look at the screenshot, it bought high and sold low. My parameters are conspiring against me, they are taking my money. These are the parameters that make 30% gains in 3 months, supposedly. I've been running live for a month, I'm down 10%, just because of this single last trade. Code: [font=monospace][color=#000000]config.RSI_BULL_BEAR_ADX = { [/color] Buy: Code: [font=monospace][color=#000000]2018-07-09 12:37:52 (INFO): - - - Begin check function - - - [/color] Sell: Code: [font=monospace][color=#000000]2018-07-10 18:14:43 (INFO): - - - Begin check function - - - [/color] RE: [SHARE] Simple RSI BULL/BEAR strategy - crypto49er - 07-10-2018 @dugu-dugu This is supposed to happen as the trend switch from bull to bear, so this trend switch sell acts like a stop loss. Considering the market is still dropping, the strat should have saved you from further losses, although 10% is a a bit rough. @hondong Did you add the TOML file in the correct location? That's usually the reason why you don't see any parameters in the parameters section when running UI. RE: [SHARE] Simple RSI BULL/BEAR strategy - hondong - 07-11-2018 (07-10-2018, 10:12 PM)crypto49er Wrote: @dugu-dugu Hi @crypto49er, thanks, that was a beginner fault. now, i get results. kind regards, Nils RE: [SHARE] Simple RSI BULL/BEAR strategy - dugu-dugu - 07-26-2018 (07-10-2018, 10:12 PM)crypto49er Wrote: This is supposed to happen as the trend switch from bull to bear, so this trend switch sell acts like a stop loss. Considering the market is still dropping, the strat should have saved you from further losses, although 10% is a a bit rough.Yes, I know that's what it's supposed to do, what I was trying to say was that it reacts too slowly. This is the screenshot that I forgot to attach. I would want to try to replace Simple Moving Average with Exponential Moving Average or DEMA for faster reaction, but I have zero node.js experience, just general old school programming. It shouldn't be so difficult, I'll keep looking at the code. RE: [SHARE] Simple RSI BULL/BEAR strategy - crypto49er - 07-26-2018 If you just want to switch from SMA to EMA, just go into the strat file and do a find and replace. DEMA works differently so you will have to change the code in the strat a bit to get it to work. RE: [SHARE] Simple RSI BULL/BEAR strategy - dugu-dugu - 07-29-2018 (07-26-2018, 10:35 PM)crypto49er Wrote: If you just want to switch from SMA to EMA, just go into the strat file and do a find and replace. DEMA works differently so you will have to change the code in the strat a bit to get it to work. I switched from SMA to EMA. With the same parameters I was using for SMA, it's way worse with EMA in backtesting. I'm running backtests with different candlesizes now and different EMA_long and EMA_short. RE: [SHARE] Simple RSI BULL/BEAR strategy - h311m4n - 07-29-2018 Hey guys, Still new to Gekko, been toying with Zenbot before but wanted to try something else out. I just have one issue with RSI_BULL_BEAR_ADX, when I backtest, it quits after like 2 seconds, in the console I see this: Code: <-- POST /api/backtest Am not sure what's wrong. Installed the extra indicators from here: https://github.com/Gab0/gekko-extra-indicators as per first post. Which I just dropped in /strategies/indicators. The base RSI_BULL_BEAR works fine though. Sorry if this is obvious and stupid, I'm just not too familiar with node.js just yet, but know my way around linux. Gekko is on an ubuntu 16.04 VM with node version 8.11.3 Thanks EDIT: nevermind, I had mistakenly copied the test indicators from the link above instead of those in the indicators folder. Backtest running fine now! |