cI8DH

Ultimate MACD (UMACD) [cI8DH]

cI8DH Cập nhật   
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.
Phát hành các Ghi chú:
- a minor fix for unsupported resolution
Phát hành các Ghi chú:
- 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
Phát hành các Ghi chú:
-
Phát hành các Ghi chú:
-

Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?