cI8DH

Multi Color Normalized MACD + Candles (NMACD) [cI8DH]

cI8DH 已更新   
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精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?