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
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 !
r.angel It seems that the formula needs a SQRT (that is Vyangzhang = SQRT(...))
RickTrader I think to have annualized view of this historical volatility you will need : Vyangzhang =...
Nicolas
9 years ago
Acceleration Bands
Acceleration Bands
0
Indicators
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,...
cepamoi Unfortunately, this still does not work: ONCE haOpen = medianprice haOpen = ((Open[1]+High...
Nicolas Force calculation to wait 1 bar of history already loaded: ONCE haOpen = medianprice if b...
cepamoi Now it works. Thanks a lot Nicolas! Here is the full code: // variables : // period ...
Sofitech Bonjour. J'aimerais savoir s'il est possible de "truquer" un peu l'indicateur pour qu'il don...
Maz I actually like this very simple idea. It can also be useful for market micro-structure syst...
Nicolas Thanks Maz, I'll have a look tomorrow.
Nicolas
10 years ago
petmut Hello all, When I import the code here above "multiple ATR bands" and apply it on the PRT ...
Nicolas That should need some custom coding, if you want to make it done, please open a new topic in...
Patopercho Hello, thanks for the indicator, i would like to change the color, is it possible, thanks

Top