One simple indicator for volatility, divergence and relative momentum
Features: - Normalized MACD (by slow MA) - Candle MACD (fast MA length is set to 0 in candle mode, i.e. price minus slow MA) - Multi color histogram - Background coloring based on MACD direction - Choice of different MA types (Exponential, Simple, Weighted, Smoothed, Triple EMA) - Triple EMA smoothing
Benefits of normalization: - Absolutely better than RSI for comparing across different periods and assets
Applications and benefits of candle visualization: - Zero cross: most traders use MAs overlaid on the main chart and look for price distance and MA cross visually. In candle mode, this indicator measures the difference between price and the slow moving MA. When this indicator crosses zero, it means price is crossing the slow moving MA. - Divergence: full candle visualization (OHLC) is not possible for most other indicators. Candle visualization allows measuring divergence between price high, low and close simultaneously. Some trades incorrectly measure divergence between high, low of price against indicator tops and bottoms while having the indicator input set to default (usually close). With this indicator, you don't need to worry about such complexities.
Recommended setting: - Enjoy candle mode :) - Source set to hlc3
릴리즈 노트
- Added normalization by deviation feature. I did not use the built-in deviation function as I could not understand how it works. If I did, it would have been possible to replicate CCI with this indicator.
Here is a example:
릴리즈 노트
- fixed a bug that was caused due to Pine engine upgrade - changed some colors
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.