Profitable strategy that work on any market
Forums › ProRealTime English forum › General trading discussions › Profitable strategy that work on any market
- This topic has 73 replies, 2 voices, and was last updated 1 year ago by LucasBest.
-
-
07/31/2017 at 2:15 PM #42100
I do not wish to be misled by a so-called belief in the recurrence of numbers designating empirical periods that no one could challenge. I do not think 27 is different from 26. The only difference is that the majority of market participants use the same thing, that’s all. It would then be enough to act like a sheep and follow the pack to verify that a period is more adequate than another one.
So I think you’re right, but there’s no divine force acting on market prices to induce the fact that one period is much more effective than another, it’s only human behavior Which makes today a RSI of period 14 is more adequate than another one of period 10. Of course this is especially true on instruments specially traded.
But this is not the subject of discussion, and it is useless to embark on philosophical discussions on this subject 🙂
07/31/2017 at 3:04 PM #42103@nicolas I agree, a number is but a number. However certain numbers are definitely more ‘interesting’ than others. Case in point being Fibonacci sequences (pure mathematical genius). People drive the behavior of markets and people are for some reason just more attracted to some numbers rather than other (for whichever reason). And because of that, they can be leveraged in financial markets (hence why I suspect Goichi Hosada spent so many years studying it).
1 user thanked author for this post.
07/31/2017 at 9:11 PM #42136Okay so maybe just to keep this thread alive, here is one of the initial strategies I experimented with, although it doesn’t qualify according to my initial criteria it did help me to realize that a RSI 2 strategy on it’s own is not enough. Also this strategy has a variable ‘z’ that needs to be optimized. It did yield ‘decent’ results (attached with spread of 20) on my local market though. However I have ventured on from here by at the same time simplifying my use of the RSI 2 period and adding the ‘aha’ ingredient that finally got it completely market neutral.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768possize = 2MA = Average[100](close)RS2 = RSI[2](close)ATR = AverageTrueRange[2](close)once Long = 0once Short = 0If Long >= 1 ThenShort = 0ElsIf Short >= 1 ThenLong = 0EndIFIf Long = 1 or Short = 1 Thenz = 9ElsIf Long = 2 or Short = 2 Thenz = 6EndIfIf close > MA and RS2 < 5 and Long = 0 ThenLong = 1LC = close //close at point of RSI oversoldElsIf close < MA and RS2 > 95 and Short = 0 ThenShort = 1SC = close //close at point of RSI overboughtEndIfPSH = high[1] //Previous Swing HighPSL = low[1] //Previous Swing LowFor i = 2 to zIf close[i] > PSH ThenPSH = close[i]ElsIf close[i] < PSL ThenPSL = close[i]EndIfNextIf Long = 1 and close > PSH ThenLong = 2ElsIf Short = 1 and close < PSL ThenShort = 2EndIFIf countofposition = 0 and close > MA and Long = 2 and RS2[1] < 5 and RS2 > 5 and close > LC ThenBuy possize contract at marketLE = 0 //Long Exit Counter set to 0EndIfIf countofposition = 0 and close < MA and Short = 2 and RS2[1] > 95 and RS2 < 95 and close < SC ThenSellshort possize contract at marketSE = 0 //Short Exit Counter set to 0EndIfIf longonmarket and RS2 > 95 and LE = 0 ThenLE = 1ElsIf shortonmarket and RS2 < 5 and SE = 0 ThenSE = 1EndIfIf (longonmarket and LE = 1 and close < PSL) or (close < close[1] - ATR and RS2 < 5) ThenSell at marketLong = 0ElsIf (shortonmarket and SE = 1 and close > PSH) or (close > close[1] + ATR and RS2 > 95) ThenExitshort at marketShort = 0EndIf08/01/2017 at 1:04 PM #42207So the only optimized variable is “z”, as the period lookback to find breakout of previous swing high/low?
I made a quick optimization myself on the french CAC40 index, and on 200k bars. Results was not bad (1 hour chart), but not so steady as the one you get with SAF40.
The classic RSI 2 periods strategy is built upon the assumption that market is mean reverting (in a bullish trend and in a daily timeframe), why do you think it is still the case on intraday charts and with a potentiel “universality”?
08/01/2017 at 1:34 PM #42212@nicolas you pose a fair question for which I cannot provide a fair answer 🙂 I think for everyone’s sake I am just going to go ahead and post my Universal Strategy to the library (I think you are going to like it!) – Simple yet it works on all markets
08/01/2017 at 2:26 PM #4221508/01/2017 at 2:58 PM #42230@nicolas I have submitted the strategy to the library. As soon as it is posted I will add some comments with regards to it’s market dynamics. I.e. how it can theoretically perform in both ranging and trending markets by means of either Bollinger breakouts (Trending) or Bollinger reversals (Ranging). I used the CAC40 and ZAF40 as examples, both on which it will outperform the index while decreasing drawdown completely un-optimized. Even keeping the trading times the same! I found 01h00 to 18h00 (UCT +2) to work well on both markets.
08/01/2017 at 4:30 PM #4224008/02/2017 at 8:03 AM #42283@pepsmile @wing @inertia @grahal the strategy has been posted to the library:
https://www.prorealcode.com/prorealtime-trading-strategies/universal-strategy/
You are welcome to have a look, would be interesting to see any modifications to make it even better on ‘all’ markets.
I have an suspicion that we can definitely do some work on the stop.
1 user thanked author for this post.
08/02/2017 at 9:59 AM #42293PFA the “Universal strategy” results (rough ones with same settings in 1 hour timeframe) for Bund (5 pts spread) and DAX (2 pts spread). I have not change anything for the time schedules. Test are made as far possible with tick-by-tick backtest.
Your thought about incorporate a trailing stop would mean to have also a universal setting for all possible instrument, so trailing the profit on price only is not an option IMO. Any other idea apart the classic ATR value? 🙂
08/02/2017 at 10:42 AM #4230308/02/2017 at 10:47 AM #4230608/02/2017 at 2:11 PM #42319Okay so on the topic of improving the stop even further I have started experimenting on distinguishing between Entry on a Bollinger breakout (BB = 1) vs. Entry on Bollinger Reversal (BB =0) by allocating the variable called BB and then using this variable to assign separate exit criteria. So far this is yielding positive results. Will post the updated file with some backtests when done.
08/02/2017 at 2:30 PM #4232108/02/2017 at 3:44 PM #42325@Hendrik interesting, did you optimize the trading time filter to take into account your timezone? Glad to see it is still outperforming Buy and Hold over 200k though.
I am actually making good progress with the modifications, going through each trade and looking for logical improvements.
Will really appreciate it if you will run the same test with the modified version that I will hopefully post tonight.
-
AuthorPosts
Find exclusive trading pro-tools on