OPEN-SOURCE SCRIPT
Updated

Historical Volatility Percentile + SMA

18 359
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

Disclaimer

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.