OPEN-SOURCE SCRIPT

Prometheus Volatility EMA

PrometheusAnalytics의
The Prometheus Volatility EMA is an indicator that calculates an Exponential Moving Average with the historical volatility as how we decide how sensitive to make the indicator to the most recent data.

A traditional EMA is calculated like this:
EMA = alpha * source + (1 - alpha) * EMA[1], where alpha = 2 / (length + 1)
Sourced from TradingView’s ta.ema built in function.

We see that the alpha value is used to determine how sensitive the EMA will be to the most recent prices, and it is derived from how many bars back are used in the calculation.

Prometheus is using the annualized historical volatility, for a specified period as the “alpha” value. The reason for this is that on more volatile assets, the EMA will follow price more closely to give you a better idea of when price may change direction.

Historical Volatility calculation:


EMA calculation:


Let's explain some charts to better understand this tool!

스냅샷

We see on a 1 year SHY chart, the moving average is far from the price. This makes sense as SHY has a range of 2.85% from the low to the high for this period in the photo above. It is not very volatile.

스냅샷

In this chart of BTCUSD we see that the EMA follows price very closely, way closer than it does on SHY. This is because BTCUSD is much more volatile. BTCUSD has a range of 196% from the low to the high in this photo. Way more than SHY.

We see it change on the same asset here looking at QQQ. In the small period with the drop we see the EMA follow more closely as volatility picks up, then it quickly allows price to get far as volatility leaves.

스냅샷

This is the perspective we aim to provide. We encourage traders to not follow indicators blindly. No indicator is 100% accurate. This one can give you a different perspective of price strength with volatility. We encourage any comments about desired updates or criticism!
Candlestick analysisChart patternsCycles
PrometheusAnalytics

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항