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?

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

  1. luxrun • 287 days ago #

    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 • 287 days ago #

    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.

Register or


avatar avatar avatar avatar avatar
Related users ' posts
Vonasi I guess it might be a nice addition so that you can check back in history and compare whethe...
Marcot18 Scusate, quindi la linea blu é dove andrà il prezzo con le maggiori possibilità di successo?...
Vonasi La linea blu è ciò che fa il mercato in media se si apre uno scambio su ogni barra. È il nos...
Vinks_o_7 Vonasi you're a beast !!! ;-)))
pableitor Amazing indicator , you are pushing PRT to the limit! But looking at the scatter its not c...
Vonasi In the all the DRAWTEXT lines of code change the 10 to a larger number.
Lotech123 Vonasi. Thank you for a very prompt response.
Lotech123 Following on from your earlier advice, I changed the ‘drawtext’ command to various sizes bef...
Vonasi It is a long time since I coded this. You may have found a coding error. At a glance I think...
Vonasi Yes that was the issue. I have posted an updated ITF file here:
crolakstrading @vonasi Thank you for fixing the issue! This is a great indicator.
Pottar24 VONAZI super indicator thank you. Can you provide me a code that gives me the two latest max...
tobytarczy hi, Is there a simple way to draw downwards and upwards trend lines on a specific timeframe...
Vonasi Images are not possible in library posts. It is best to start a topic in the forums.
sir_i Bonjour à tous, Je suis nouveau sur le forum et sur la plateforme, pourriez-vous me dire com...
Nicolas Il faut simplement l'appliquer sur le prix.
sir_i Merci pour la réponse, je ne suis pas familier avec l'application de cette procédure simple,...
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...
RGKP Hi Vonasi, great work! But what I do not understand is that the statistics change according ...
mr_delta Hi I am interested in in scanning for a similar set...
Vonasi Minor Bug Fix Please download an updated version with a minor bug fix from here: https://www...
Paul the last update can be found in topic Strategy DayOpen Straddle for DAX on page 14.
bertrandpinoy l instruction GRAPH pose problème sur PRT... pas vous? cordialement
Nicolas Supprimer simplement les lignes avec GRAPH pour passer en ProOrder, trading live.
fredfilm Hi Nicolas, how could we add a price screen to this? eg stock prices between $1 to $3 etc
Simba Greetings from germany! :) Can you told me your EXIT-strategy for this, please? :) Would ...