Historical Volatility Percentile + SMA

cheatcountry Updated   
Historical Volatility Percentile tells you the percentage of the days from the past year (252 trading days) that have lower volatility than the current volatility.

I included a simple moving average as a signal line to show you how volatile the stock is at the moment.

I have included simple colors to let you know when to enter or exit a position.

Buy when price higher than EMA & historical volatility higher than SMA
Sell when price lower than EMA & historical volatility higher than SMA

Please let me know if you would like me to publish any other indicators! I always love to hear from you guys.
Release Notes:
updated to match my other indicators
Release Notes:
fixed issue with default resolution

I created the largest stock indicator library:

Custom Indicator Requests:

Tips are appreciated:
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?