alexgrover

Relative Normalized Volatility

There are plenty of indicators that aim to measure the volatility (degree of variation) in the price of an instrument, the most well known being the average true range and the rolling standard deviation. Volatility indicators form the key components of most bands and trailing stops indicators, but can also be used to normalize oscillators, they are therefore extremely versatile.

Today proposed indicator aim to compare the estimated volatility of two instruments in order to provide various informations to the user, especially about risk and profitability.


CALCULATION

The relative normalized volatility (RNV) indicator is the ratio between the moving average of the absolute normalized price changes value of two securities, that is:

SMA(|Δ(a)/σ(a)|)
―――――――――――
SMA (|Δ(b)/σ(b)|)


Where a and b are two different securities (note that notation "Δ(x)" refer to the 1st difference of x, and the "||" notation is used to indicate absolute value, for example "|x|" means absolute value of x).


INTERPRETATION

The indicator aim tell us which security is more volatile between a and b, with a value of the indicator greater than 1 indicating that a is on average more volatile than b over the last length period, while a value lower than 1 indicating that the security b is more on average volatile than a.

The indicator use the current symbol as a, while the second security b must be defined in the setting window (by default the S&P500 ). Risk and profitability are closely related to volatility , as larger price variations could potentially mean larger losses (but also larger gains), therefore a value of the indicator greater than 1 can indicate that it could be more risked (and profitable) to trade security a.


RNV using AMD (top) volatility against Intel (bottom) volatility .


RNV using EURUSD (top) volatility against USDJPY (bottom) volatility .


Larger values of length will make the indicator fluctuate less often around 1. You can also plot the logarithm of the ratio instead in order to have the indicator centered around 0, it will also help make values originally below 1 have more importance in the scale.


POSSIBLE ERRORS

If you compare different types of markets the indicator might return NaN values, this is because one market might be closed, for example if you compare AMD against BTCUSD with the indicator you will get NaN values. If you really need to compare two markets then increase your time frame, else use an histogram or area plot in order to have a cleaner plot.


CONCLUSION

An original indicator comparing the volatility between two securities has been presented. The choice of posting a volatility indicator has been made by my twitter followers, so if you want to decide which type of indicator i should do next make sure to check my twitter to see if there are polls available (i should do one after every posted indicator).



从常用脚本中删除 添加到常用脚本
« Je suis las des cruautés de mes semblables, qui ne sont pas mes pareils.

« Je prendrai l’essor et je m’envolerai vers la mer.

« Je connaîtrai le goût des brises du large. J’entendrai les grands cris de la tempête.

评论

Alex , I always follow you update . Could for for Index Nasdaq100 for next script .
+1 回复
@bakrii, Making use of Nasdaq100 ? Why not, but not for the next script unfortunately. Thanks for your suggestion :)
回复
bakrii alexgrover
@alexgrover, If you can do script for combination RSI11-MOM11-and CCI11 , from this 3 combination indicator make the signal buy and sell . TQ
回复
Very good, I can already imagine few modifications for me..thanks!!!

Volatility is like traders bread and butter :)
+1 回复
@Owl, Glad to hear it ^^ thx for the comment :)
回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 在线聊天 退出