cI8DH

Ultimate MACD (UMACD) [cI8DH]

cI8DH Updated   
Ultimate MACD (UMACD) includes True MACD fix, normalized MACD, multi time frame, bar coloring, and false cross avoidance options. It can also replicate Bill Williams Awesome Oscillator and Accelerator Oscillator. By default, this indicator is configured to work like the built-in MACD indicator. You need to customize it to your liking. Chart below shows example multi time frame setup.


True MACD and normalization
True MACD fix is similar to True RSI fix. The chart below proves that MACD is asymmetrical. This issue is most visible when analyzing charts across wide price ranges. It shows a logical problem in MACD, and most other indicators, as they can give you conflicting signals. For example, it can show long signal for both TRYUSD and its inverse pair USDTRY simultaneously. True MACD fixes this issue as shown in the chart below. Interestingly, this fix also normalizes MACD which is a major improvement upon regular MACD. (FYI, True MACD fix uses a different mechanism than my previous NMACD indicator.)


Avoiding false signals
This feature is very useful to avoid trading during sideways. To use this feature, set the std deviation multiplier option to a number greater than 1. I did some backtests on BTC chart with contract size set to 100% equity. It showed significant improvements for the time frames that I tested. (std deviation multiplier set to 1.5 @1h TF: 4x improvements, @2h: near 2x, 0.7 @4h: 2x, 0.4@12h: 3x, 0.4@daily: 1.5x). I also backtested True MACD fix separately and it showed significant improvement for most time frames.

Bar coloring
Bar coloring works similar to my previous indicators, Ultimate Money Flow and Ultimate RSI, and is subject to change in the future.

Bill Williams Awesome Oscillator and Accelerator Oscillator
Chart below both validates calculations in this indicator and also shows you how you can replicate Bill Williams AO indicators. You can apply all the features added to MACD to these indicators.


Here is a TL;DR list of my indicators to save you some time from looking at my obsolete indicators.


PS: I might publish the asymmetry fix as True MACD or as a general fix to all price-based indicators as an open source script in the future.
Release Notes:
- a minor fix for unsupported resolution
Release Notes:
- changed bar coloring mechanism when both TFs are enabled. Now colors change when both TFs agree, otherwise previous color remains.
- added visual cues for grouping items in the settings
Release Notes:
-
Release Notes:
-

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
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.

Want to use this script on a chart?