Break Out Analysis Tool v3 (Update)

Break Out Analysis Tool v3 (Update)

This indicator is an update to add lots of new features and improvements to my Break Out Analysis tool that can be found here:

Break Out Analysis Tool

Please read the description in that library post to understand the basics of what the tool can analyse.

In this new version it is now possible to set the number of bars in the past that we look for our highest high and lowest low breakout levels in and to also set how many bars going forward that we look for a break of those levels in and exit the trade at the end of. ‘p’ and ‘pHold’ are the settings for this.

It is now also possible to adjust the high and low break out levels individually using the ‘HighBreakPerc’ and ‘LowBreakPerc’ settings. A positive number is above the level and a negative number below the level. So for example you can now check for breaks 1% lower than the highest high in the last p bars and 0.5% higher than the lowest low in the last p bars with settings of -1.0 and +0.5. The tool ignores any bars where the high break level is set below the open of our starting bar or where a low break level is set above the open of our starting bar. So if you get no results or very few results then you have probably moved the levels too far.

We can also now show the results for combinations of break out. So for example you can now see an equity curve for how much profit or loss you would have made if you’d gone long at every high break and short at every low break combined – and any other combination. Quantities and percentages are also shown for combinations now.

There is a setting ‘LevelStakes’ that reduces the stake size in half when viewing combined profit/loss lines so that we can directly compare them to the single breakout lines on a level playing field.

As always I advise downloading the ITF and importing to ensure that you 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. toendidi • 05/11/2020 #

    Hi Vonasi, thankx for the indicator I find it very usefel. I am trying to study the breakot analysis, it is a very interesting set of data. I have a doubt, I am not sure if the data of “returns” takes in account if there is an open position in the precedent candle. If not, the analysis would suppose that we have a “pseudoinfinite” amount of capital to face all the breakouts that may occur at the actual candle. For example, if our analysis takes a “p” value of 21 and “pHold” takes a value of 7, it may occur that you have several breakouts inside that pHold period, lets suppose that we have 5 breakouts inside that 7-candle period. The “return” data takes in account only the first breakout or it “opens” position in the 5 breakouts?
    Thanks for the work done!

  2. Bard • 05/11/2020 #

    Hi @Vonasi, this is an excellent tool!

    I noticed you times by 180 and was wondering why? When I set a Dow chart to 10k units and set percent to unlikely figures like 200% it still gives a a probability of 67% long and 110% short?

    I also added an anchordate to get a specific lookback period (eg 10 years) using this:
    Please note, I am having trouble getting the Insert PRT Code not to insert html instructions within my post using Safari, (because Chrome won’t let me edit posts once posted).

    —————————————————————————
    “Lookback Period”
    AnchorDate = 20111130 //Date anchor YYYYMMDD format

    if date=anchordate then
    startbar=barindex
    endif

    lookback = max(1,barindex-startbar)

    if lookback>0 and date>=AnchorDate then
    —————————————————————————

    Is it possible to make that as a variable integer so it can be changed easily in Settings. I added 20111130 but it’s not updating the indicator when values are changed in Settings (although it works fine editing the date from within the indicator code)?

    I also wondered with the HighBreakPerc and LowBreakPerc feature if it will return the probability percent of, for example, the likelihood of the Dow making a 5% fall over a 15 day period? You wrote:

    “A positive number is above the level and a negative number below the level. So for example you can now check for breaks 1% lower than the highest high in the last p bars and 0.5% higher than the lowest low in the last p bars with settings of -1.0 and +0.5.”

    So can it calculate breaks 6.1% higher than the highest high in the last 15 bars and also 5.1% lower than the lowest low in the last 15 bars with settings of +6.1 and -5.1 or am I misinterpreting the bit about “adjust(ing) the high and low break out levels individually?”

    Cheers,
    Bard

  3. Bard • 05/11/2020 #

    I have no idea what is wrong with the posting on this website. I have problems editing posts clearly as can be seen above. Pls delete it. I only added two small paragraphs in my edit. I also cannot get the edit feature to work on other parts of this forum using either Chrome or Safari as Im using today? The add PRT code buttons has also disappeared on both browers in the last week?

    Hi @Vonasi, this is an excellent tool!

    I noticed you times by 180 and was wondering why? When I set a Dow chart to 10k units and set percent to unlikely figures like 200% it still gives a a probability of 67% long and 110% short?

    I also added an anchordate to get a specific lookback period (eg 10 years) using this:
    Please note, I am having trouble getting the Insert PRT Code not to insert html instructions within my post using Safari, (because Chrome won’t let me edit posts once posted).

    —————————————————————————
    “Lookback Period”
    AnchorDate = 20111130 //Date anchor YYYYMMDD format

    if date=anchordate then
    startbar=barindex
    endif

    lookback = max(1,barindex-startbar)

    if lookback>0 and date>=AnchorDate then
    —————————————————————————

    Is it possible to make that as a variable integer so it can be changed easily in Settings. I added 20111130 but it’s not updating the indicator when values are changed in Settings (although it works fine editing the date from within the indicator code)?

    I also wondered with the HighBreakPerc and LowBreakPerc feature if it will return the probability percent of, for example, the likelihood of the Dow making a 5% fall over a 15 day period? You wrote:

    “A positive number is above the level and a negative number below the level. So for example you can now check for breaks 1% lower than the highest high in the last p bars and 0.5% higher than the lowest low in the last p bars with settings of -1.0 and +0.5.”

    So can it calculate breaks 6.1% higher than the highest high in the last 15 bars and also 5.1% lower than the lowest low in the last 15 bars with settings of +6.1 and -5.1 or am I misinterpreting the bit about “adjust(ing) the high and low break out levels individually?”

    Cheers,
    Bard

  4. Bard • 05/11/2020 #

    And now my first post displays okay? It literally had copies of my orig post all added together about ten times in a really long comment when I edited it to add two paragraphs. Now that huge long post has gone? And now it looks like a double post! I’ve no idea why this has happened!?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar
Related users ' posts
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...
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 !
Wisko But the BUY-trigger is below the High of the first two 15min-candels?
Nicolas That's right, because what we want is to enter the market quickly and not wait for the next ...
Wisko Then I don't understand the backtest data. Yesterday (28.9.) range was from ~ 4410,5 - 4450,...

Top