OPEN-SOURCE SCRIPT
Updated MACD Full [Titans_Invest]

MACD Full [Titans_Invest] — A Smarter, More Flexible MACD.
⯁ WHAT IS THE MACD❓
The Moving Average Convergence Divergence (MACD) is a technical analysis indicator developed by Gerald Appel. It measures the relationship between two moving averages of a security’s price to identify changes in momentum, direction, and strength of a trend. The MACD is composed of three components: the MACD line, the signal line, and the histogram.
⯁ HOW TO USE THE MACD❓
The MACD is calculated by subtracting the 26-period Exponential Moving Average (EMA) from the 12-period EMA. A 9-period EMA of the MACD line, called the signal line, is then plotted on top of the MACD line. The MACD histogram represents the difference between the MACD line and the signal line.
Here are the primary signals generated by the MACD:
⯁ ENTRY CONDITIONS
The conditions below are fully flexible and allow for complete customization of the signal.
______________________________________________________
🔹 CONDITIONS TO BUY 📈
______________________________________________________
• Signal Validity: The signal will remain valid for X bars.
• Signal Sequence: Configurable as AND or OR.
🔹 MACD > Signal Smoothing
🔹 MACD < Signal Smoothing
🔹 Histogram > 0
🔹 Histogram < 0
🔹 Histogram Positive
🔹 Histogram Negative
🔹 MACD > 0
🔹 MACD < 0
🔹 Signal > 0
🔹 Signal < 0
🔹 MACD > Histogram
🔹 MACD < Histogram
🔹 Signal > Histogram
🔹 Signal < Histogram
🔹 MACD (Crossover) Signal
🔹 MACD (Crossunder) Signal
🔹 MACD (Crossover) 0
🔹 MACD (Crossunder) 0
🔹 Signal (Crossover) 0
🔹 Signal (Crossunder) 0
______________________________________________________
______________________________________________________
🔸 CONDITIONS TO SELL 📉
______________________________________________________
• Signal Validity: The signal will remain valid for X bars.
• Signal Sequence: Configurable as AND or OR.
🔸 MACD > Signal Smoothing
🔸 MACD < Signal Smoothing
🔸 Histogram > 0
🔸 Histogram < 0
🔸 Histogram Positive
🔸 Histogram Negative
🔸 MACD > 0
🔸 MACD < 0
🔸 Signal > 0
🔸 Signal < 0
🔸 MACD > Histogram
🔸 MACD < Histogram
🔸 Signal > Histogram
🔸 Signal < Histogram
🔸 MACD (Crossover) Signal
🔸 MACD (Crossunder) Signal
🔸 MACD (Crossover) 0
🔸 MACD (Crossunder) 0
🔸 Signal (Crossover) 0
🔸 Signal (Crossunder) 0
______________________________________________________
______________________________________________________
🤖 AUTOMATION 🤖
• You can automate the BUY and SELL signals of this indicator.
______________________________________________________
______________________________________________________
⯁ UNIQUE FEATURES
______________________________________________________
______________________________________________________
📜 SCRIPT : MACD Full [Titans_Invest]
🎴 Art by : Titans_Invest & DiFlip
👨💻 Dev by : Titans_Invest & DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy!
______________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
- Looking for a MACD with real customization power?
- We present one of the most complete public MACD indicators available on TradingView.
- It maintains the classic MACD structure but is enhanced with 20 fully customizable long entry conditions and 20 short entry conditions, giving you precise control over your strategy.
- Plus, it’s fully automation-ready, making it ideal for quantitative systems and algorithmic trading.
- Whether you're a discretionary trader or a bot developer, this tool is built to seamlessly adapt to your style.
⯁ WHAT IS THE MACD❓
The Moving Average Convergence Divergence (MACD) is a technical analysis indicator developed by Gerald Appel. It measures the relationship between two moving averages of a security’s price to identify changes in momentum, direction, and strength of a trend. The MACD is composed of three components: the MACD line, the signal line, and the histogram.
⯁ HOW TO USE THE MACD❓
The MACD is calculated by subtracting the 26-period Exponential Moving Average (EMA) from the 12-period EMA. A 9-period EMA of the MACD line, called the signal line, is then plotted on top of the MACD line. The MACD histogram represents the difference between the MACD line and the signal line.
Here are the primary signals generated by the MACD:
- Bullish Crossover: When the MACD line crosses above the signal line, indicating a potential buy signal.
- Bearish Crossover: When the MACD line crosses below the signal line, indicating a potential sell signal.
- Divergence: When the price of the security diverges from the MACD, suggesting a potential reversal.
- Overbought/Oversold Conditions: Indicated by the MACD line moving far away from the signal line, though this is less common than in oscillators like the RSI.
⯁ ENTRY CONDITIONS
The conditions below are fully flexible and allow for complete customization of the signal.
______________________________________________________
🔹 CONDITIONS TO BUY 📈
______________________________________________________
• Signal Validity: The signal will remain valid for X bars.
• Signal Sequence: Configurable as AND or OR.
🔹 MACD > Signal Smoothing
🔹 MACD < Signal Smoothing
🔹 Histogram > 0
🔹 Histogram < 0
🔹 Histogram Positive
🔹 Histogram Negative
🔹 MACD > 0
🔹 MACD < 0
🔹 Signal > 0
🔹 Signal < 0
🔹 MACD > Histogram
🔹 MACD < Histogram
🔹 Signal > Histogram
🔹 Signal < Histogram
🔹 MACD (Crossover) Signal
🔹 MACD (Crossunder) Signal
🔹 MACD (Crossover) 0
🔹 MACD (Crossunder) 0
🔹 Signal (Crossover) 0
🔹 Signal (Crossunder) 0
______________________________________________________
______________________________________________________
🔸 CONDITIONS TO SELL 📉
______________________________________________________
• Signal Validity: The signal will remain valid for X bars.
• Signal Sequence: Configurable as AND or OR.
🔸 MACD > Signal Smoothing
🔸 MACD < Signal Smoothing
🔸 Histogram > 0
🔸 Histogram < 0
🔸 Histogram Positive
🔸 Histogram Negative
🔸 MACD > 0
🔸 MACD < 0
🔸 Signal > 0
🔸 Signal < 0
🔸 MACD > Histogram
🔸 MACD < Histogram
🔸 Signal > Histogram
🔸 Signal < Histogram
🔸 MACD (Crossover) Signal
🔸 MACD (Crossunder) Signal
🔸 MACD (Crossover) 0
🔸 MACD (Crossunder) 0
🔸 Signal (Crossover) 0
🔸 Signal (Crossunder) 0
______________________________________________________
______________________________________________________
🤖 AUTOMATION 🤖
• You can automate the BUY and SELL signals of this indicator.
______________________________________________________
______________________________________________________
⯁ UNIQUE FEATURES
______________________________________________________
- Signal Validity: The signal will remain valid for X bars
- Signal Sequence: Configurable as AND/OR
- Condition Table: BUY/SELL
- Condition Labels: BUY/SELL
- Plot Labels in the Graph Above: BUY/SELL
- Automate and Monitor Signals/Alerts: BUY/SELL
- Signal Validity: The signal will remain valid for X bars
- Signal Sequence: Configurable as AND/OR
- Table of Conditions: BUY/SELL
- Conditions Label: BUY/SELL
- Plot Labels in the graph above: BUY/SELL
- Automate & Monitor Signals/Alerts: BUY/SELL
______________________________________________________
📜 SCRIPT : MACD Full [Titans_Invest]
🎴 Art by : Titans_Invest & DiFlip
👨💻 Dev by : Titans_Invest & DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy!
______________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
Release Notes
1. UPDATE: MACD Menu Updated.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
🪄 Quantitative and Automated Strategies for the Cryptocurrency Market✨
🗝️ Be a Member 🗝️
👾 TITAN PREMIUM (1 Month) 🔗 titansinvest.io
💎 TITAN DELUXE (1 Year) 🔗 titansinvest.io
🛑 LIVE Signals 🚨 discord.gg/8k4D3KChkk
🗝️ Be a Member 🗝️
👾 TITAN PREMIUM (1 Month) 🔗 titansinvest.io
💎 TITAN DELUXE (1 Year) 🔗 titansinvest.io
🛑 LIVE Signals 🚨 discord.gg/8k4D3KChkk
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
🪄 Quantitative and Automated Strategies for the Cryptocurrency Market✨
🗝️ Be a Member 🗝️
👾 TITAN PREMIUM (1 Month) 🔗 titansinvest.io
💎 TITAN DELUXE (1 Year) 🔗 titansinvest.io
🛑 LIVE Signals 🚨 discord.gg/8k4D3KChkk
🗝️ Be a Member 🗝️
👾 TITAN PREMIUM (1 Month) 🔗 titansinvest.io
💎 TITAN DELUXE (1 Year) 🔗 titansinvest.io
🛑 LIVE Signals 🚨 discord.gg/8k4D3KChkk
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.