The “7 Bars” Range Bounce

The “7 Bars” Range Bounce

Hello everyone,

Here’s a little strategy of my own. Actually, I wanted to test the breakout of a range defined by a number of candles, and I’ve realized that the rebound was more profitable.

How does the strategy work ?

We consider a bar signal if its amplitude (high – low) is less than the amplitude of each of the previous 6 bars. In this case, we place two orders :

  • “buy limit” at the lowest of the last 6 previous candles
  • “sell limit” at the highest of the last 6 candles.

This means that we play the bounces between the high and the low of the range.

The take profit is set at the middle the range, the stop loss is equal to the take profit.

By changing the parameters, you could have a backtest with a “perfect” equity curve.

It nearly always mean that the stop loss and take profit are often on the same candle, and in this case the backtest record only the take profit. I hope ProRealTime will soon fix this issue.

But for these parameters, it seems to work well.

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Stef • 06/10/2016 #

    Hi @Doc. What costs/spread did you include in your test? Does the strategy work on anything else?

  2. Doctrading • 06/10/2016 #

    Hello, 
    The strategy should be improved, no doubt. But it was just one of my ideas, which had to be tested.
    It’s not one of the strategies that I use. My personnal strategies are far far better (+20 to 35% each year, < half drawdown, with profit factor 2 to 4), and are used on indexes or stocks.
    I find that it is VERY difficult to get good strategies on forex, it’s far easier on stocks market / indexes.
    I’m still looking for trying to create a good strategy on forex… but I didn’t get it yet.
    Regards,

  3. ALEALE • 06/10/2016 #

    Yes Nicolas is very difficult, macro economic data can destroy any work!!
     

  4. styrke • 06/10/2016 #

    depends which.. I personally think that it’s much more easier to trade on XBTUSD, try to construct a strategy on crypto! 🙂

avatar
Register or

Likes

avatar avatar avatar avatar
Related users ' posts
oliverkeim Hi, also here not working. Only white lines.
killerplatuze Dont work anymore with the current version?
KryptoKat tolle Arbeit, professionell
Nicolas Ask on an Excel website?!
JJMR HOLA NICOLAS, TENGO LA ULTIMA VERSION ACTUALIZADA DEL INDICADOR TTM SQUEEZE PRO EN LA VERSIO...
imokdesign @nicolas ,if in want to "call" this indicator, which values i have to write down?
Screw27 Salut nicolas j'aimerais savoir tes résulats grace a cettte methode
eva.g.forsgren It dose not work, I get a strap instead of candels???????????????????????????????????????????
Nicolas That indicator is the one below the chart. The indicator to put on the price chart is this o...
pyhrus P.S : IG , que j'ai contacté ,m'indique que la version V11 , ne sera pas disponible avant un...
Hasardeur Dear Nicolas, is there someting at the arry to modify in order to run the trend at the actu...
MALIMALO Dear Nicolas, just try touse your indicator with backtest but it's not working. is anybody...
Dom Hello, hello....je commence le trading et découvre par la même occasion le codage....et ce n...
Nicolas Merci, ça fait plaisir !
Be-n Bonjour tout le monde ! Dans l'indicateur de tendance, j'ai du mal à saisir la nuance entre ...
Theo D'accord merci
tobytarczy Hi, I have been looking for something like this. I have a f questions about the indicator. ...
tobytarczy Hi have been trying to modify the code you so kindly shared to reflect to the image you have...
LucioleLucide Clean view, thanks for sharing
dertopen hi where i can found the window for candle configuration?
paolosab69 Ciao! . I have seen the pictures that explain this metod but i don't understand when is mome...
Vonasi There is another version of this indicator that can plot the same lines but onto an indicato...
Martin35 Hello Vonasi, do you think it is possible with PRT to code with the same principle as on thi...
Brisvegas Thats Awesome thank you
Vinks_o_7 Thanks Vonasi !
ALE Very Very Nice
manel Hi - Many thanks for this and your other analytical codes, stellar work - very useful ! With...
Vonasi Good idea Manel. I have posted a new version here that shows results as a percentage: https:...
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
DanT01 Hi Nicolas, great work! Is it possible to contact you to help with a couple of indicators? T...
Nicolas Assistance is free on forums. For private job, you can contact me with the trading programmi...
avatar
Anonymous Thank you! I was reading the book Beyond Technical Analysis and wanted to try to coding RAV...
Juan Salas Hi FULVIO09, Nice piece of work. It seems to work very well. Does only work for INDEXES??...
Johann Hi @FULVI09, I understand the instructions however I'm not too sure how to determine the "p...
Player8520 Hello, It doesn't work with me either. However, I changed AA to 180 on line 15, added th...
JohnScher After a small error crept in, a correct itf.file has been uploaded.
dougie80 Great Indicator, Is there a way to use this as an alert ?
JohnScher I created the screener with some help here from PRT. It is surely somewhere in one of the fo...
Leo Does it opens pending orders?... maybe they were not trigger.
Mattzi Dont know, all i can see is that it opened an order yesterday in backtest but not live. Th...
Jean-Christophe Hello Leo, when running the strategy from 29/12/2015 to 31/08/2018 on ProRealTime Premium, I...
Nicolas Please add a request on forums for any MT4 code conversion, thank you. Follow these easy ste...
mecon I will do so, thank you!
avatar
Anonymous @mecon, did you ever get one?

Top