MACD PRO Trading Guide
The MACD Pro is designed to automatically detect convergence and divergence between multiple moving averages to reveal momentum, trend direction, and potential reversal points. This professional version operates optimally by implementing rolling sums and robust zero-lag calculations for precise market entry triggers.
What does the indicator show?
- MACD Line: A fast-moving line tracking the difference between two moving averages, highlighting immediate short-term momentum.
- Signal Line: A smoothed version of the MACD line acting as the primary trigger line for trend confirmation and crossovers.
- Histogram Bars: Vertical columns representing the distance between the MACD Line and the Signal Line, colored to specify whether bullish or bearish momentum is accelerating or decaying.
Key Settings
- Fast Length: The shorter lookback period for calculating the primary moving average.
- Slow Length: The broader lookback period representing the slower moving average baseline.
- Signal Length: The length applied to smooth the resultant MACD line in order to form the trailing signal line.
- Oscillator MA / Signal MA: Selects the statistical method (either SMA or EMA) used to calculate data points for customizable reactivity.
How to use Strategy Parameters (Condition Source)
Within the Strategy Tester module, you can leverage the data from this indicator to create powerful logical conditions for trade entries and exits.
1. Core Metrics
Numerical indicators of the calculated ranges.
dif— The absolute numeric value of the MACD Line.dea— The absolute numeric value of the Signal Line.macd— The output value representing the histogram difference distance.
2. Momentum State & Crosses
Directional changes and histogram states.
isMacdBullUp— A state variable active when the histogram is positive and sequentially growing.isMacdBullDown— A state variable active when the histogram is positive but the momentum is weakening.isMacdBearDown— A state variable active when the histogram is negative and dropping deeper.isMacdBearUp— A state variable active when the histogram is negative but beginning to recover upwards.bullCross— Triggered precisely when the MACD line crosses above the Signal line.bearCross— Triggered precisely when the MACD line crosses below the Signal line.
Strategy Example: If you are looking to execute a swing trading sell order, you could add a condition: bearCross == true alongside checking that isMacdBearDown == true. This ensures you capitalize on the exact moment bearish acceleration starts.