Volatility breakout indicator

v10.3
Volatility breakout indicator

The Volatility Cycle Breakout indicator draws range boxes overlaid on the price chart. The upper and lower side of the boxes are made from recent Fractals. New boxes will be drawn only if the volatility is weak and if the new fractals discovered are far enough from the current upper and lower ones.

The volatility cycle is extracted from Bollinger Bands (InpBandsPeriod=18 is the bands period). Original indicator is here: Volatility Cycle

Fractals lookback periods can be adapted to catch new fractals far in the history or near of the current price (cp=10).

The “change” variable is the percent variation needed to change the support and resistance levels of the boxes (0.1% seems to work fine for intraday timeframes on forex pairs for instance). This setting is important because it will reduce the noises of “moving boxes” each time new Fractals are discovered, specially when price is ranging. It results perfect range boxes on price to play mean reversion strategy when price is not moving enough to make real breakout.

Original concept (modified since) come from a topic in French forum.

All ideas are welcome and could result in new good indicators, don’t hesitate to post them in forums!

 

 

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. ghary • 03/15/2017 #

    Bonjour,
    Bravo Nicolas pour l’indicateur, est il possible d’en sortir un screener ?
    Merci

  2. Marius • 03/15/2017 #

    Hi Nicolas,
    thanks a lot for you contribution here. I never learned scripting, so I am dependend on guys like you who share their work, so thanks again. I would like to know if its´complicated to code something similar to Bollinger Bands, but formed out of two moving averages. It would be great if the colour of the sma or ema “cloud” could change, once the moving averages cross. I am a long time dreamer of such a cloud in the price field, where I can  chose  ema or sma and the number of them (20,50,34, whatever). Or does such indicator already exist in PRT? I searched a lot but could not find anything.

    • Nicolas • 03/15/2017 #

      Hi Marius, for new indicator code request, please use the ProBuilder forum instead! : https://www.prorealcode.com/forum/prorealtime-english-forum/probuilder-support/
      Thanks a lot.

  3. ghary • 03/15/2017 #

    Bonjour Nicolas 
    l’idee du screener serait de sortir les actifs dont le prix se situerait à l’intérieur de la boxe lors de la baisse de la volatilité afin de préparer la sortie à la hausse ou à la baisse. 
    Je ne sais pas si cela est assez clair. 

    • Nicolas • 03/15/2017 #

      Oui bien sûr, il faudrait créer une demande spécifique dans le forum dédié à ProBuilder, merci.

  4. ghary • 03/15/2017 #

    Bonjour 
    c’est fait j’ai mis la demande dans le forum français pro screener, c’est bien la qu’il fallait ouvrir le tropic ? 
     
    Merci encore pour le travail. 
     

  5. Francesco78 • 03/15/2017 #

    Thank you Nicolas, 
    I have copied your nice indicator, but it shows in the lower part of the chart instead of overlapping the price chart.
    What am I missing?
    Many thanks
    Francesco 

  6. Abz • 03/15/2017 #

     hi , you need to add the indicator from the “price” menu in chart

  7. Francesco • 03/15/2017 #

    Thank you Abz!

  8. phanz • 03/15/2017 #

    Hi Nicolas, this is an interesting strategy. For long position, I assume entry when prices crosses over the upper band. For exit, do you recommend prices crosses under the upper band, or prices crosses under the lower band? What’s your thoughts?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+7 more likes

Related users ' posts
Nicolas Well done supertiti, nicely coded and very accurate.
Dimi.A Beautiful.
Nicolas Thank you for contribution. Please consider that advertising is tolerate as long as you cont...
triss1965@gmail.com  Hi, I cant make it work. And if you doing so much money. Why do you have to sell it? It don...
T-rader Eva... He dosen´t sell anything. He is just a nice guy that want to share on of his strategy...
Pelle Nævestad Thanks Nicolas, this is a keeper!
Chicane23 Hi, when uploaded the WAE isnt showing histogram; only line. Is there a way to modify?
Nicolas Change the way the lines are displayed in the indicator settings window : histogram, lines, ...
Dimi.A Perfect for counter-trend scalping. I like this!
viktorthuns Hi Nicolas! Great work you've done with all your indicators. Just wondering about the code a...
Nicolas the value is not a boolean but an average of an addition of booleans. As stated in the descr...
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
9 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...
DerPat Like your zero lag indicators.
xel @DerPat - I don't see any question regarding the indicator.  Anyway, I think I give enough l...
diegofe_2000 Xel, tu eres el creador de este indicador? Bueno te  cuento que es muy bueno para hacer est...
xel Buen día @diegofe_2000 -  Claro, mandalo y por aquí lo probamos en otros instrumentos y si g...
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? :)
verdi55 At least there should be some moving average that has also reverted into the opposite direct...
verdi55 In addition to the moving average, wait until at least one bar is completely back inside the...
rama This works excellent on range bound I tried , give 90% win rates on dax , 3 min chart. can s...
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?
totof for those who are interested, I made this small modification of the code for the eWMA which ...
totof //parameters : period = 20 lookback = 1 IF BarIndex < period THEN eVWMA = Close EL...
Pi Hello Totof, I was looking for the code for the 'eVWMA = elastic Volume Weighted Moving Aver...
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...

Top