Break Out Analysis Tool

Break Out Analysis Tool

This break out analysis tool allows us to set a look back period (p) and then analyses breakouts of that periods highest high and lowest low in the next p bars. It can then return the results in three formats.:

  • The quantity of breakouts and their conclusion.
  • The percentage of breakouts and then the percentage of their conclusions.
  • The Profit/Loss if you had gone long or short at a break out price and then sold at the end of the p long period.

In the percentage return ‘% green datum’ and ‘% red datum’ are the percentage of ups or downs when comparing close to open of the p test period. So for example if p = 7 then how many 7 bar periods end up or end down. This is just to give us a market datum to compare to.

It is possible to add or subtract a percentage to the highest high and lowest low breakout levels by changing the ‘Percent’ variable.

It is also possible to include a fixed spread in the profit and loss calculations by changing the ‘Spread’ variable.

Turn on and off the displayed lines for percentage, profit and loss and quantities using the tick boxes to make the output easier to read.

So for example in the images attached we can see that on the DJI daily if we set our p to 7 days then it checks for breakouts of the highest high and lowest low of every seven day period in the seven days following that period. It then simulates profit/loss if you closed the trade at the end of that seven day period.

10485 sets of data were analysed and there were 5756 breakouts in the test. 3239 breaks of the highest high (31% of the time) and 2517 breaks of the lowest low (24% of the time).

Our green datum is 57% and our red datum is 43% meaning that if at anytime we had just gone long then we would have been right 57% of the time at the end of the 7 days and wrong 43% of the time.

58% of the time a low break resulted in the closing price being higher than the break price at the end of the seven days.

If you had been going short at every 7 day high break price and expecting it to close below the low break price then you would have only been successful 0.03% of the time.

57% of low breaks close somewhere between the low break price and the high break price. Only 1% of the time is a low break price hit and then the close is above the high break price.

If you had been going long at the low break price of every seven day period and sold at the end of the following 7 day period then you would have a profit of £51755 with a 3.8 spread.

If you had been going short at the low break price of every seven day period and sold at the end of the following 7 day period then you would have a loss of £70884.

Obviously there is a lot more information but the above highlights some of the stand out analysis.

Hopefully this break out analysis tool can help us understand each instruments characteristics and increase our probability of trading in the most profitable direction at a break out.

I suggest downloading and importing the ITF file to get full functionality.

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. luxrun • 08/28/2019 #

    Vonasi, is it possible to have a screenshot of an index chart (eg djia) and below the breakout analysis tool result? Maybe with your comment on statistical metrics? Great job!

  2. Vonasi • 08/28/2019 #

    I can’t add any images here now that the library post has been listed. Perhaps you could start a topic in the forums to start a discussion on the breakout characteristics of various markets.

    • Aragorna • 273 days ago #

      Hi Vonasi,
      is there a reason why it does not work anymore in new version ePRT Platform? thank’s in advance

  3. Vinks_o_7 • 08/28/2019 #

    Thanks again Vonasi !

  4. Bard • 08/28/2019 #

    Thank you, this is a great tool @Vonasi, especially for those that used to like shorting Indices!
    Better have great entry timing or else (monthly breakout on DIA)… https://www.dropbox.com/s/x7v41p4cuz4xrq5/mkt%20temperature.png

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
pascal3431 Salut Doc , Je ne vois pas ce qui fait office de stop dans ce code .. un retour dans le nua...
Doctrading Bonjour, Il s'agit juste d'une stratégie où on est toujours en position : soit à l'achat / ...
pascal3431 Bonjour, après quelques essais sur EUR/USD au M15 en rajoutant(car sinon on est en perte) u...
Doctrading Nice Job ! Here is my version of the code :  KBO = 0 Tenkansen = (highest[9](high)+lowe...
gefinance Thanks for this code. The only thing left missing is the time lapse, otherwise, lots of old...
danhei Hi I am tryong to figure out how trist strategy works. I am new to pro real time. Can some...
Plop61 Hello,Thank you for sharing this beautiful strategy.Is it possible to indicate the code for ...
NoName Thank you very much for this fascinating trading system. It is still proving to be extremely...
larouedegann best with this hour IF TIME =081000 THEN plushaut=highest[2](high) plusbas = lowest[2](lo...
CanAny1Trade Hi! I'm trying to put together a similar indicator but struggling. I want to mark the NY Pit...
ALE Hi Pat This code was nothing more than an experiment
pat95162 Hi Ale Do you have same results as me ? The strategy works very well in 2017 and now in 2-...
Nicolas Built on the history means that it suits the history. Always develop ideas in In-Sample peri...
Nicolas Line 10: Volume of current candlestick must be at least 1.5 higher than the previous one and...
bibifricotin Bonjour Nicolas je viens d'essayer ce screener mais j'obtiens des résultats curieux .Aujourd...
Nicolas Décalage si compte gratuit fin de journée ?
Cosmic1
8 years ago
Cosmic1 Lets discuss here: https://www.prorealcode.com/topic/cac-breakout-ported-to-other-markets/
rejo007 hello, anybody use thi strategy for a long time? thanks
abacus23 Hi, I have been trading this strategy and it seems to work quite well recently. Is there a...
Elsborgtrading No that is wrong :) 1st runs always- then only run 2nd if 1st is on market with positions(ar...
Elsborgtrading It can only be fully automated if IG change minimum SLto 7 at night on DAX multi timefra...
Elsborgtrading A small example. the strategy would have opened 3 position on Dec 4th 2016 and keept it for ...
Cosmic1
8 years ago
Cosmic1 @JadeDB What times are you putting in?
sincitytrader I tried this one out recently,  and wasn't profitable for me.
Cosmic1 Yes, not great lately. I stopped this live at the end of last year. Will wait to see when th...
Philip Raphael Hey! Thank so much for sharing this wonderful indicator! I have always tried to code a simil...
CKW Hi Philip, What do you mean "Years" are not defined ? candle? If to code yearly candle size...
dakaodo Years not defined was probably b/c Phillip copied and pasted the code into PRT instead of im...
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.
Reiner
8 years ago
Nicolas You should join and read the forum thread about this strategy. There are plenty of different...
Reiner Hi djtaktik and welcome, I have answered your question in the related Pathfinder forum beca...
danver34 is this version the definitive one or from the original one have there been modifications to...
GraHal Ooops got that excited I sent that last one twice! ha (and can't delete it, sorry) I got it...
Eric n = 3  dont forget to allow 3 contract in proorder
UkCoopDownUnder Tried EURUSD GMT and GMT -1, as far back as I can go, Nov 2018 on 15mn Tf, 22% loss
hvluthy@sunrise.ch I'm very interested to try out your strategy, but as a bloody newbie I need some help regard...
Scalp Hola Adolfo, tengo una variante de tu estrategia, pero no se programar, me puedes ayudar al ...
ALZ Hi, I tested this strategy and that doesn't work.. strategy is losing.. Does anyone curr...
Doctrading Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
Glen Marquis Not your best..So what is your best strategy? :)
Adolfo Onrubia Ups! Sorry. Variable "S" is to set an specific Spread if needed. Could be "0", or the distan...
GraHal Hi Adolfo, big thank you for your code, but I am a bit confused. Spread is the difference b...
Meta Signals Pro Hi, For me there is a mistake here L32 maxriesgo = round(equity*riesgo) => round(equ...
Dave Hi, I'm new to coding and have been trying to modify the code a little to backtest an idea I...
Nicolas Better use the forums for coding assistance please. You'll get more results there for sure.
Dave Apologies - only just learning the site layout. Maybe you could delete the post?
Nicolas You can try this code for buy and hold curve line: capital = 10000 mylot = 2 i1 = capi...
soukenson Bonjour Nicolas, Je ne comprends pas où ajouter le code que tu as a donné dans le code initi...
Nicolas Tu veux parler du code pour comparer avec le "buy and hold" ? Si oui, tu as tout ce qu'il fa...
Nicolas FR/Bonjour Steftonio, non pas de frais overnight calculé sur la durée du backtest, c'est une...
avatar
Anonymous Any reason why in 2016 this system is doing very bad respect the previous years?
Nicolas "very bad" is relative to the account equity. I do not forward test this strategy since I po...
EAxelsson Hi, shouldn´t it be or instead of and? if FiftyTwoWeekHigh = FiftyTwoWeekHigh[1] OR FiftyTwo...
qigley Line 4 has a redundant term "Close>EMA2." is not necessary as EMA2 will always be less t...
Mike.44 Thanks It a good job !

Top