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
ullle73 nicolas, can you somehome make this to be in the background of the price chart?
jonpt88 none did that yet right?
Nicolas You can ask for a code modification on forums, please open a new topic with your request.
apachx Hi. Please, describe the algorithm in words. I want to understand how it works, but for now...
Nicolas
6 years ago
Trinity Impulse
Trinity Impulse
5
Indicators
ribou ah d'accord merci beaucoup
domenico nlevel1 non modifica la curva al variare del suo valore
tiger_man_no1 Very nice ; what is the best period input date for DAILY CHART ?
imokdesign Hi Everybody, when I look at the strategy I felt the need to implement a Moneymanagement-Sy...
Inertia newlevel then multiplier=multiplier+1 oldlevel=newlevel newlevel=strategyprofit+startequi...
Inertia Hi Bjoern, I was playing around with your code this morning (EUR/USD 5'). Thank you to the...
fabio407 Thanks, Nicolas. Very useful. Would you tell me where to find what result conveys the functi...
Nicolas This is not an instruction of the programming language but a variable from this indicator (l...
fabio407 OK. I didn't notice it. Many thanks, Nicolas!
Wilko And not only readable.... makes it much easier to iterate different entry/exit-conditions, d...
IGOSNELL Hi Interesting strategy, when I used $ M-R Dif EURUSD M15 Long if does not enter any positi...
ilvillans HI, I modified the system, from good results but from this error: Replace the variables wit...
Doctrading Hello, Higher timeframes are better. I suggest D1 or H4.Best regards,
Pinkybouh hello, I propose to add another conditions: ie: haussier: close > open and close >...
TheHovisTrader I'd be interested in the actual profit of this - in the example the stop range is at least 2...
Nicolas si il n'y a pas de stoploss définit dans le code, alors c'est normal :)
bertrandpinoy bonjour merci pour la réponse. Oui b sur ... est il possible que le SL soit coder sous une a...
Nicolas ok mais pourquoi poser la question ici ? Pour des questions non spécifique à cette article, ...
Elsborgtrading By adding the inside bar breakout failure candle, which is the next bar after the inside bar...
DegoodBoby very nice indicator but pls how can we use the indicator without the text (inside bar/brea...
ShaunG Hi Elsborgtrading thanks for this indicator. I was initially looking for a "IDnr4" which I c...
julien1978 The ADR value that is plotted intraday does not match the value of the regular ATR indicator...
Fab666 I've tried to get a fix for this also but no luck, it doesn't print the correct data as far ...
Seabiscuit Hi! With the new PRT update, this indicator does not work anymore
Dimi.A Awesome mate.
mora87 Hi David and Nicola, I'd like to share idea with you guys which is related to David's Idea. ...
Nicolas Please ask for custom coding in forums instead.
Naren Yanan what is    diplus  diminus  please
Barney Has anyone tested this algon now when PRT 10.3 was released?
Yngve does anyone know if the issue with the TP/SL is resolved ?
JakeDB Answered my own question....Sorry about this question. 5 positions, take profit at 15, loss ...
maxxb sto facendo girare in demo questa strategia modificata a 10 minuti con stop e profit ottimiz...
Manuel9z Hello, this strategy improves with the SL 30 and the TP 10. I have done backtesting and it w...
Doctrading Hello, As I said, I didn't use spread for the screenshot as I don't trade Gold and I don't ...
smurfy Hi, I had been losing on gold and after I manually go through the 5min chart using IG and w...
eiffel Hi Smurfy, hope you are still there... I would like to help you to write and test the code.
Wilko This code is the work of a simple genius! Profitability lies in simplicity and repetition.
Nicolas Good joke. FYI, you'll find many identified recurring patterns there: http://paststat.com G...
Yngve i added a MA as a filter, that improved the equity curve quit nice actually
David Thanks for the explanation Nicolas.
freecat1899 Hello, I wanted to create a percent ADR based on this indicator, so I wrote this code that I...
revstrat At first glance, I see this mistake. You shouldn't average the highs and the lows. You shoul...
raviesco Hello Nicolas, Thanks for the post. Do you have an updated version of this screener/indi...

Top