LUX MACD PRICE FORECAST Trading Guide
Last updated: July 22, 2026
The MACD Price Forecasting is a quantitative technical analysis tool. MACD-based price forecasting (overlay) v2.0 - Golden Standard Architecture (O(1), Causal Live Execution, Headless Safe)
What does the indicator show?
- Market Structure & Momentum: Visualizes prevailing trend directions and key reversal zones.
- BUY / SELL Signals: Highlights confirmed entry and exit opportunities based on quantitative rules.
- Dynamic Boundaries: Provides adaptive levels for managing trade risk and reward expectations.
Key Settings
- Fast Length (
fast): Controls the calculation period and sensitivity for market detection. - Slow Length (
slow): Controls the calculation period and sensitivity for market detection. - Signal Length (
sigLen): Controls the calculation period and sensitivity for market detection. - Trend Determination (
trendMode): Controls the calculation period and sensitivity for market detection. - Maximum Memory (
maxMemory): Controls the calculation period and sensitivity for market detection. - Forecasting Length (
forecastLen): Controls the calculation period and sensitivity for market detection. - Top Percentile (
topPercentile): Controls the calculation period and sensitivity for market detection. - Average Percentage (
midPercentile): Controls the calculation period and sensitivity for market detection. - Bottom Percentile (
bottomPercentile): Controls the calculation period and sensitivity for market detection. - Show Forecast (
showForecast): Controls the calculation period and sensitivity for market detection. - Show Signal Area (
showSignalArea): Controls the calculation period and sensitivity for market detection. - Show Reference Price (
showReferenceLine): Controls the calculation period and sensitivity for market detection. - ATR Length (
atrLength): Controls the calculation period and sensitivity for market detection. - Use ATR Filter (
useAtrFilter): Controls the calculation period and sensitivity for market detection. - ATR Tolerance (%) (
atrTolerancePct): Controls the calculation period and sensitivity for market detection. - Use Momentum Filter (
useMomentumFilter): Controls the calculation period and sensitivity for market detection. - Momentum Tolerance (%) (
momentumTolerancePct): Controls the calculation period and sensitivity for market detection. - Use QQE Filter (
useQqeFilter): Controls the calculation period and sensitivity for market detection. - QQE RSI Length (
qqeRsiLength): Controls the calculation period and sensitivity for market detection. - QQE RSI Smoothing (
qqeRsiSmoothing): Controls the calculation period and sensitivity for market detection. - QQE Factor (
qqeFactor): Controls the calculation period and sensitivity for market detection. - Forecast Line (Up) (
upLine): Controls the calculation period and sensitivity for market detection. - Forecast Line (Down) (
dnLine): Controls the calculation period and sensitivity for market detection. - Forecast Area (Up) (
upArea): Controls the calculation period and sensitivity for market detection. - Forecast Area (Down) (
dnArea): Controls the calculation period and sensitivity for market detection. - Signal Area (Bull) (
signalBull): Controls the calculation period and sensitivity for market detection. - Signal Area (Bear) (
signalBear): Controls the calculation period and sensitivity for market detection. - Reference Price (
reference): Controls the calculation period and sensitivity for market detection. - Reference Price (
reference): Controls the calculation period and sensitivity for market detection. - Uptrend Start (
uptrendStart): Controls the calculation period and sensitivity for market detection. - Downtrend Start (
downtrendStart): Controls the calculation period and sensitivity for market detection. - Forecast Updated (
forecastUpdated): Controls the calculation period and sensitivity for market detection. - Forecast Direction (Up=1) (
forecastDirUp): Controls the calculation period and sensitivity for market detection. - Forecast Upper Price (
forecastUpperPrice): Controls the calculation period and sensitivity for market detection. - Forecast Mid Price (
forecastMidPrice): Controls the calculation period and sensitivity for market detection. - Forecast Lower Price (
forecastLowerPrice): Controls the calculation period and sensitivity for market detection. - Forecast Updated (
forecastUpdated): Controls the calculation period and sensitivity for market detection. - Uptrend Start (
uptrendStart): Controls the calculation period and sensitivity for market detection. - Downtrend Start (
downtrendStart): Controls the calculation period and sensitivity for market detection. - Forecast Upper Price (
forecastUpperPrice): Controls the calculation period and sensitivity for market detection. - Forecast Mid Price (
forecastMidPrice): Controls the calculation period and sensitivity for market detection. - Forecast Lower Price (
forecastLowerPrice): Controls the calculation period and sensitivity for market detection. - Forecast Upper % (
forecastUpperPct): Controls the calculation period and sensitivity for market detection. - Forecast Mid % (
forecastMidPct): Controls the calculation period and sensitivity for market detection. - Forecast Lower % (
forecastLowerPct): Controls the calculation period and sensitivity for market detection. - QQE Line (
qqeLine): Controls the calculation period and sensitivity for market detection. - QQE Signal (
qqeSignal): Controls the calculation period and sensitivity for market detection. - QQE Line Above 0 (
qqeLineAbove0): Controls the calculation period and sensitivity for market detection. - QQE Line Below 0 (
qqeLineBelow0): Controls the calculation period and sensitivity for market detection. - QQE Line Above Signal (
qqeLineAboveSignal): Controls the calculation period and sensitivity for market detection. - QQE Line Below Signal (
qqeLineBelowSignal): Controls the calculation period and sensitivity for market detection.
How to use Strategy Parameters (Condition Source)
Within the Strategy Tester module, this indicator can be used both as a direct signal source and as a market-state filter.
1. Signal Events
uptrendStart- Uptrend Start event signal.downtrendStart- Downtrend Start event signal.forecastUpdated- Forecast Updated event signal.forecastUpdated- Forecast Updated event signal.uptrendStart- Uptrend Start event signal.downtrendStart- Downtrend Start event signal.qqeLineAbove0- QQE Line Above 0 event signal.qqeLineBelow0- QQE Line Below 0 event signal.qqeLineAboveSignal- QQE Line Above Signal event signal.qqeLineBelowSignal- QQE Line Below Signal event signal.
2. Filters and Trade Levels
fast- Fast Length value used for structural qualification or thresholds.slow- Slow Length value used for structural qualification or thresholds.sigLen- Signal Length value used for structural qualification or thresholds.trendMode- Trend Determination value used for structural qualification or thresholds.maxMemory- Maximum Memory value used for structural qualification or thresholds.forecastLen- Forecasting Length value used for structural qualification or thresholds.topPercentile- Top Percentile value used for structural qualification or thresholds.midPercentile- Average Percentage value used for structural qualification or thresholds.bottomPercentile- Bottom Percentile value used for structural qualification or thresholds.showForecast- Show Forecast value used for structural qualification or thresholds.showSignalArea- Show Signal Area value used for structural qualification or thresholds.showReferenceLine- Show Reference Price value used for structural qualification or thresholds.atrLength- ATR Length value used for structural qualification or thresholds.useAtrFilter- Use ATR Filter value used for structural qualification or thresholds.atrTolerancePct- ATR Tolerance (%) value used for structural qualification or thresholds.useMomentumFilter- Use Momentum Filter value used for structural qualification or thresholds.momentumTolerancePct- Momentum Tolerance (%) value used for structural qualification or thresholds.useQqeFilter- Use QQE Filter value used for structural qualification or thresholds.qqeRsiLength- QQE RSI Length value used for structural qualification or thresholds.qqeRsiSmoothing- QQE RSI Smoothing value used for structural qualification or thresholds.qqeFactor- QQE Factor value used for structural qualification or thresholds.upLine- Forecast Line (Up) value used for structural qualification or thresholds.dnLine- Forecast Line (Down) value used for structural qualification or thresholds.upArea- Forecast Area (Up) value used for structural qualification or thresholds.dnArea- Forecast Area (Down) value used for structural qualification or thresholds.signalBull- Signal Area (Bull) value used for structural qualification or thresholds.signalBear- Signal Area (Bear) value used for structural qualification or thresholds.reference- Reference Price value used for structural qualification or thresholds.reference- Reference Price value used for structural qualification or thresholds.forecastDirUp- Forecast Direction (Up=1) value used for structural qualification or thresholds.forecastUpperPrice- Forecast Upper Price value used for structural qualification or thresholds.forecastMidPrice- Forecast Mid Price value used for structural qualification or thresholds.forecastLowerPrice- Forecast Lower Price value used for structural qualification or thresholds.forecastUpperPrice- Forecast Upper Price value used for structural qualification or thresholds.forecastMidPrice- Forecast Mid Price value used for structural qualification or thresholds.forecastLowerPrice- Forecast Lower Price value used for structural qualification or thresholds.forecastUpperPct- Forecast Upper % value used for structural qualification or thresholds.forecastMidPct- Forecast Mid % value used for structural qualification or thresholds.forecastLowerPct- Forecast Lower % value used for structural qualification or thresholds.qqeLine- QQE Line value used for structural qualification or thresholds.qqeSignal- QQE Signal value used for structural qualification or thresholds.
Strategy Example: Enter Long when buySignal is true and trendFilter == 1, ensuring trades align with dominant momentum.