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

    Perfect for counter-trend scalping. I like this!

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Francesco78 Hi Grahal, thanks for your attention to my strategy, yes there is a forum thread I opened. ...
DarioMazza THIS doesn't work. no operations
Francesco78 ciao Dario,  try to change line 19 with  volok = volindic > atrmin*pointsize Let me kn...
larmhen
3 weeks ago
Bard p.s. It worked fine yesterday. I've just opened up another template that I have, which also ...
Nicolas You certainly changed the code of the indicator and made a typo somewhere. Please redownload...
Bard I haven't changed the code related to the parts mentioned above. The only modification was m...
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 Ciao JR  Francesco here not Ale :)) thanks so much for checking the code, I will have a lo...
JR1976 Ok sorry Francesco :-)  
Francesco78 These are the comparison with my lates version and yours, I think it improves by all the mea...
victormork @GraHal shall we move this to the forum thread advised above?
Maz Thanks guys. Please see forum post for more details. I encourage you guys to play / pull it ...
Pierluigi Cavagnoli It works well even short on EUR/USD 15 min. I did this way: maLong / maShort instead of maSh...
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
Francesco78 Thank you Nicolas,  I have copied your nice indicator, but it shows in the lower part of th...
Abz  hi , you need to add the indicator from the "price" menu in chart
Francesco Thank you Abz!
David Nicolas I've looked at it again and there's a problem.  As an example here's a simple cross...
Nicolas You'll need to preload bars to get the good calculations of you indicators. I did not test i...
David Nicolas I tried DEFPARAM Preloadbars = 5000 And still the same drawn output of entries/exit...
Renato Di Lorenzo Agree; thanks.
rpreviteri Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn't the original momentum pinball...
air Thank you!  
zilliq Merci Nicolas, Personnellement, il y a tellement de dépassement de "Lexplosion line" que je...
Nicolas Merci, je le constate aussi. Ce sont les paramètres par défaut que l'on retrouve ailleurs su...
Pelle Nævestad Thanks Nicolas, this is a keeper!
leyoy Bonjour, je viens de l'installer sur 10.3 ... comment faire apparaitre les flèches sur l'ind...
Nicolas Les flèches apparaissent d'elles-mêmes selon les signaux de l'indicateur.
leyoy Elles viennent d'apparaitre après redémarrage. Merci Nicolas. Du coup, les signaux sont à pr...

Top