SUPER MACD

with these inputs you can modify the inputs of the different Bar's, you can choose between:
- Candles = classic Candles
- Heikin Hashi
- Kagi
- Line break
- Pointfigure
- Renko
To use the Dynamic Macd and Band just check the box:
- Use Dynamic Rsi??? = this input will change the Rsi in the Dynamic Rsi
- Use Dynamic Band??? = this input will change the Bands to the Dynamic Band
Selecting the input: "Use Different Source ???" you can use a source with multiple elements of your choice:
- 2 = (Source 1 + Source 2) / 2
- 3 = (Source 1 + Source 2 + Source 3) / 3
- 4 = (Source 1 + Source 2 + Source 3 + Source 4) / 4
- 5 = (Source 1 + Source 2 + Source 3 + Source 4 + Source 5) / 5
🔹 New Features and Improvements:
1️⃣ New MACD Calculation Options:
Users can now choose from various Moving Averages to calculate the MACD. The default options are SMA (Simple Moving Average) and EMA (Exponential Moving Average), but there are 14 other versions available to experiment with:
- SMA (Simple Moving Average)
- EMA (Exponential Moving Average)
- WMA (Weighted Moving Average)
- RMA (Smoothed Moving Average)
- HMA (Hull Moving Average)
- JMA (Jurik Moving Average)
- DEMA (Double Exponential Moving Average)
- TEMA (Triple Exponential Moving Average)
- LSMA (Least Squares Moving Average)
- VWMA (Volume-Weighted Moving Average)
- SMMA (Smoothed Moving Average)
- KAMA (Kaufman’s Adaptive Moving Average)
- ALMA (Arnaud Legoux Moving Average)
- FRAMA (Fractal Adaptive Moving Average)
- VIDYA (Variable Index Dynamic Average)

2️⃣ Improved Input Visibility and Organization:
We’ve reorganized the inputs so that the most commonly used ones are now placed at the beginning for quicker and more convenient configuration.
3️⃣ Bug Fixes and Code Improvements:
Minor bugs have been fixed, and the code has been optimized for better stability and performance. The code is now cleaner and fully functional in version 6.
4️⃣ Cometreon Public Library Integration:
To lighten the code and improve its modularity, we’ve integrated the Cometreon public library. This makes the code more efficient and reduces the need to duplicate common functions.
With this update, the MACD indicator becomes even more versatile and user-friendly, offering a wide range of calculation methods and an improved interface!
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.