PROTECTED SOURCE SCRIPT

Ultimate MACD (UMACD) [cI8DH]

Mis à jour
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.

snapshot

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.)

snapshot

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.4daily: 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.

snapshot

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

TLDR list of my latest 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.
Notes de version
- a minor fix for unsupported resolution
Notes de version
- 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
Notes de version
-
Notes de version
-
Accelerator Oscillator (AC)Awesome Oscillator (AO)Moving Average Convergence / Divergence (MACD)normalized-macdnormalizedmacdtrue-macdtruemacd

Script protégé

Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité