Volatility Switch indicator

Volatility Switch indicator

The Volatility Switch (VOLSWITCH) indicator, by Ron McEwan, estimates current volatility in respect to historical data, thus indicating whether the market is trending or in mean reversion mode. Range is normalized to 0 – 1.

When Volatility Switch rises above the 0.5 level, volatility in the market is increasing, thus the price action can be expected to become choppier with abrupt moves. When the indicator falls below the 0.5 level from recent high readings, volatility decreases, which may be considered a sign of trend formation.

Trading strategy as suggested by Ron McEwan is:
– If VOLSWITCH is less than 0.5, volatility decreases, which may be considered a sign of trend formation
– If VOLSWITCH is greater than 0.5, market is in high volatility mode. Can be choppy. Use RSI to look for OB/OS levels.

 

converted from LazyBear Pinescript code from TV.

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. Dimi.A • 244 days ago #

    Perfect for counter-trend scalping. I like this!

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Maz I like this
atlante je me demande si prorealtime pourrait etre programee sur fonction lorsquún point cgange de c...
Wilko Thank you all for your comments! I treat shorting very separately from the long side, at lea...
gabri Wilko,  great code!! I never worked with RSI2 and I found it very interesting. I made some ...
Wilko I'm happy my code snippet inspired some new thoughts! Thanks for the feedback!
Kenneth Kvistad What does buy 1 «perpoint» means? I also see there is some inside candlestick trades that i...
Francesco78 Kenneth, it means that the tick value is 1 euro
Kenneth Kvistad Francesco, can you try to make this strategy with short and long proffit tragets just like i...
Francesco78 hello Prince Myshkin. Thank you for the time you spent on my code. Im currently travelling, ...
PrinceMyshkin Enjoy your travels!
Francesco78 Hi Prince Myshkin I was interested that you chose a 3 day (72hr) period for your ATR calc. ...
diegofe_2000 Gracias Nicolas , muy buen indicador , excelente para hacer sistemas, muy buenos resultados,...
pepmartorell  It seems it doesn't work, even with the change proposed by Francesco78. In fact the maximum...
Francesco78 Hi Pepmartorell, please let's continue the discussion on the forum thread so that we can sha...
Francesco78 Hi Pepmartorell, please let's continue the discussion on the forum thread so that we can sha...
larmhen
3 months ago
HerveS_67 Bonjour, A quoi correspondent les données S, M, L ? Hello, What do the data S, M, L?
Nicolas Je suis content que tu y soit arrivé par toi même :) Si tu souhaites partager un code dans ...
dzim0032 C'est justement le TTM Squezze de John Carter que j'avais trouvé il y a quelques années sur ...
dzim0032 J'ai commencé à ingurgiter les vidéos explicatives sur la formation de programmation à PRT a...
gabri Excellent job like always!! are you working also on the Barycenter indicator?
Nicolas No but I think you can find a lot of different version of the "center of gravity - COG" indi...
ALE Very useful, it could potentially solve many problems of false signals!!Thanks Nicolas!
ALE Hello Nicolas  which parameters could be modified to slow volatility? The viscosity? Thank...
Nicolas viscosity and sedimentation are only the classic "fast/slow" periods parameters for this ind...
Francesco78 Hi Juan Salas and thank you very much for your undeserved compliments. I'm not sure if I un...
Juan Salas Hi Francesco, Yes, this is pretty much the question. The system ask me a number of contract...
Francesco78 ok sounds good, you can put min size = 1 and go for the seasonable breakout too, also you ca...
Wilko  Nice method of making linked AND-statements more readable!
Wilko And not only readable.... makes it much easier to iterate different entry/exit-conditions, d...
IGOSNELL Hi Interesting strategy, when I used $ M-R Dif EURUSD M15 Long if does not enter any positi...
Nicolas What are you calling a finished strategy? This one has been coded by a request on forums, si...
clanli Hi Nicolas Thanks for a fantistic piece of code. I tried the following with really good res...
rama where is Z variable in the program? i want to have look back period says 3 candles. I want...
winkx Bonjour Nicolas, Je vous remercie L'indicateur est très intéressant Après c'est une quest...
Nicolas Les goûts et les couleurs...
Hans63 Good evening Nicolas, Can you add an option coloring the candlesticks? Thanks

Top