OPEN-SOURCE SCRIPT
[blackcat] L1 Mid-Axis Indicator

â OVERVIEW
The L1 Mid-Axis Indicator is a sophisticated momentum-based oscillator that combines enhanced MACD calculations with a proprietary DED line to identify trend launch points, buy signals, and sell opportunities. This indicator utilizes a unique dual-signal approach, detecting launch points when MACD is below zero but rising for consecutive periods, while the DED line provides dynamic support/resistance levels for precise entry and exit timing.
â CONCEPTS
This indicator builds upon the traditional MACD framework with significant enhancements to improve signal accuracy and reduce false positives.
Core Principles
âą Launch Point Detection: Identifies potential trend starts when MACD is below zero but increasing for 4 consecutive periods, indicating momentum buildup
âą DED Line (Dynamic Equilibrium Direction): A proprietary smoothed line derived from the DIK value (4ĂDIF - 3ĂDEA) using ALMA filtering, serving as dynamic support/resistance
âą Dual-Signal Confirmation: Buy signals require close price crossing above DED, while sell signals trigger when DED changes from rising (green) to falling (red)
âą Multi-Layer Visualization: Uses layered histogram rendering with depth effects for clear trend state identification
Technical Foundation
âą DIF (Difference): Fast EMA (9) minus Slow EMA (150) - measures short-term vs long-term momentum
âą DEA (Difference Exponential Average): Signal line - 12-period EMA of DIF
âą DIK (Dynamic Indicator K): 4ĂDIF - 3ĂDEA - enhanced momentum component
âą DED (Dynamic Equilibrium Direction): ALMA-smoothed DIK - the core signal line
â HOW TO USE
1 â Add to Chart
âą Open TradingView and navigate to the Indicators panel
âą Search for "[blackcat] L1 Mid-Axis Indicator"
âą Add to your chart as a separate pane (overlay=false)
2 â Understand Visual Elements
âą Purple Histogram: Launch points - potential trend start zones
âą Blue Histogram: Uptrend or Rebound - bullish momentum
âą Green Histogram: Downtrend or Continuing Down - bearish momentum
âą DED Line: Green when rising, Red when falling - dynamic support/resistance
âą B Labels: Buy signals at confirmed launch points
âą S Labels: Sell signals at DED reversals
3 â Signal Interpretation
âą Launch Point (đ): MACD < 0 and rising for 4+ bars - watch for trend reversal
âą Buy Signal (đ): Close crosses above DED or Launch Point with price confirmation
âą Sell Signal (đ): DED changes from green to red (trend reversal)
âą Hold Position (âžïž): Maintain current position when no clear signal
Input Parameters
âą Fast EMA Period: Default 9 - Controls short-term momentum sensitivity (1-500)
âą Slow EMA Period: Default 150 - Controls long-term trend reference (1-500)
âą Signal Period: Default 12 - Signal line smoothing period (1-500)
âą Show Status Table: Display real-time indicator status panel
âą Show Buy/Sell Labels: Display B/S labels on chart
âą Show Launch Arrow: Display arrow at launch points
âą Highlight Signal Bars: Subtle background highlighting at signal bars
âą Show Signals: Enable/disable signal labels
âą Show DED Line: Display the Dynamic Equilibrium Direction line
â SIGNALS
Visual Elements
âą Purple Histogram: Launch Point - indicates potential trend start when MACD is below zero but rising consecutively
âą Blue Histogram: Uptrend (MACD > 0 and rising) or Rebound (MACD < 0 but rising) - bullish momentum
âą Green Histogram: Downtrend (MACD > 0 but falling) or Continuing Down (MACD < 0 and falling) - bearish momentum
âą DED Line: Green when rising (support), Red when falling (resistance) - key reference level
âą B Label: Buy signal at launch point with price confirmation or close crossing above DED
âą S Label: Sell signal when DED changes from rising to falling (3 consecutive decreases)
âą Launch Arrow (â): Indicates launch point detection
Alert Conditions
âą đ Launch Point Alert: Triggers when MACD launch point is detected
âą đ Primary Buy Alert: Triggers when close price crosses above DED line
âą đ Primary Sell Alert: Triggers when DED changes from green to red
âą đ Buy Alert: Triggers at launch point with additional confirmation
âą â ïž Sell Alert: Triggers on strong DED downtrend (3 consecutive decreases)
â STATUS TABLE
The real-time status table displays:
âą Trend: Current market state (UPTREND, DOWNTREND, REBOUND, CONTINUING DOWN, NEUTRAL)
âą Signal: Current signal status (đ LAUNCH, đ BUY, đ SELL, âžïž HOLD)
âą MACD: Current MACD value with direction arrow (â/â/â)
âą DED: Current DED value with direction arrow (â/â/â)
âą Price vs DED: Relationship between close price and DED line (Above/Below/Equal)
âą Launch Pt: Active launch point status (â Active/â Inactive)
â FEATURES
âą Enhanced MACD Algorithm: Custom DIF/DEA/DIK/DED calculations for improved signal accuracy
âą Launch Point Detection: Identifies potential trend starts before they become obvious
âą Dynamic Support/Resistance: DED line adapts to market conditions in real-time
âą Multi-Layer Histograms: Depth-effect visualization for clear trend state identification
âą Real-Time Status Panel: Comprehensive table showing all key indicator values
âą Multiple Alert Types: Five different alert conditions for various trading scenarios
âą Customizable Display: Toggle various visual elements based on preference
âą No Repainting: All signals are based on confirmed historical data
â LIMITATIONS
âą Lagging Indicator: Based on moving averages, signals may lag behind rapid price movements
âą Sideways Markets: May generate false signals during choppy or range-bound conditions
âą Parameter Sensitivity: Default parameters work well for most markets but may need adjustment for specific instruments
âą Not a Standalone System: Should be used in conjunction with other analysis methods and risk management
âą Historical Performance: Past signals do not guarantee future results
â NOTES
âą Recommended Timeframes: Works best on 4H, Daily, and Weekly timeframes for swing trading
âą Market Types: Suitable for trending markets; use caution in ranging markets
âą Best Practices: Wait for confirmation signals and use proper position sizing
âą Combination Strategies: Combine with support/resistance levels, volume analysis, or other indicators for improved accuracy
âą Backtesting: Always backtest on historical data before live trading
âą Risk Management: Never risk more than 1-2% of your account per trade
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
DISCLAIMER
This indicator is provided for educational and informational purposes only. Past performance does not guarantee future results. Trading involves substantial risk of loss and is not suitable for every investor. Always conduct your own research and consult with a qualified financial advisor before making trading decisions.
For questions or feedback, use the comments section below.
The L1 Mid-Axis Indicator is a sophisticated momentum-based oscillator that combines enhanced MACD calculations with a proprietary DED line to identify trend launch points, buy signals, and sell opportunities. This indicator utilizes a unique dual-signal approach, detecting launch points when MACD is below zero but rising for consecutive periods, while the DED line provides dynamic support/resistance levels for precise entry and exit timing.
â CONCEPTS
This indicator builds upon the traditional MACD framework with significant enhancements to improve signal accuracy and reduce false positives.
Core Principles
âą Launch Point Detection: Identifies potential trend starts when MACD is below zero but increasing for 4 consecutive periods, indicating momentum buildup
âą DED Line (Dynamic Equilibrium Direction): A proprietary smoothed line derived from the DIK value (4ĂDIF - 3ĂDEA) using ALMA filtering, serving as dynamic support/resistance
âą Dual-Signal Confirmation: Buy signals require close price crossing above DED, while sell signals trigger when DED changes from rising (green) to falling (red)
âą Multi-Layer Visualization: Uses layered histogram rendering with depth effects for clear trend state identification
Technical Foundation
âą DIF (Difference): Fast EMA (9) minus Slow EMA (150) - measures short-term vs long-term momentum
âą DEA (Difference Exponential Average): Signal line - 12-period EMA of DIF
âą DIK (Dynamic Indicator K): 4ĂDIF - 3ĂDEA - enhanced momentum component
âą DED (Dynamic Equilibrium Direction): ALMA-smoothed DIK - the core signal line
â HOW TO USE
1 â Add to Chart
âą Open TradingView and navigate to the Indicators panel
âą Search for "[blackcat] L1 Mid-Axis Indicator"
âą Add to your chart as a separate pane (overlay=false)
2 â Understand Visual Elements
âą Purple Histogram: Launch points - potential trend start zones
âą Blue Histogram: Uptrend or Rebound - bullish momentum
âą Green Histogram: Downtrend or Continuing Down - bearish momentum
âą DED Line: Green when rising, Red when falling - dynamic support/resistance
âą B Labels: Buy signals at confirmed launch points
âą S Labels: Sell signals at DED reversals
3 â Signal Interpretation
âą Launch Point (đ): MACD < 0 and rising for 4+ bars - watch for trend reversal
âą Buy Signal (đ): Close crosses above DED or Launch Point with price confirmation
âą Sell Signal (đ): DED changes from green to red (trend reversal)
âą Hold Position (âžïž): Maintain current position when no clear signal
Input Parameters
âą Fast EMA Period: Default 9 - Controls short-term momentum sensitivity (1-500)
âą Slow EMA Period: Default 150 - Controls long-term trend reference (1-500)
âą Signal Period: Default 12 - Signal line smoothing period (1-500)
âą Show Status Table: Display real-time indicator status panel
âą Show Buy/Sell Labels: Display B/S labels on chart
âą Show Launch Arrow: Display arrow at launch points
âą Highlight Signal Bars: Subtle background highlighting at signal bars
âą Show Signals: Enable/disable signal labels
âą Show DED Line: Display the Dynamic Equilibrium Direction line
â SIGNALS
Visual Elements
âą Purple Histogram: Launch Point - indicates potential trend start when MACD is below zero but rising consecutively
âą Blue Histogram: Uptrend (MACD > 0 and rising) or Rebound (MACD < 0 but rising) - bullish momentum
âą Green Histogram: Downtrend (MACD > 0 but falling) or Continuing Down (MACD < 0 and falling) - bearish momentum
âą DED Line: Green when rising (support), Red when falling (resistance) - key reference level
âą B Label: Buy signal at launch point with price confirmation or close crossing above DED
âą S Label: Sell signal when DED changes from rising to falling (3 consecutive decreases)
âą Launch Arrow (â): Indicates launch point detection
Alert Conditions
âą đ Launch Point Alert: Triggers when MACD launch point is detected
âą đ Primary Buy Alert: Triggers when close price crosses above DED line
âą đ Primary Sell Alert: Triggers when DED changes from green to red
âą đ Buy Alert: Triggers at launch point with additional confirmation
âą â ïž Sell Alert: Triggers on strong DED downtrend (3 consecutive decreases)
â STATUS TABLE
The real-time status table displays:
âą Trend: Current market state (UPTREND, DOWNTREND, REBOUND, CONTINUING DOWN, NEUTRAL)
âą Signal: Current signal status (đ LAUNCH, đ BUY, đ SELL, âžïž HOLD)
âą MACD: Current MACD value with direction arrow (â/â/â)
âą DED: Current DED value with direction arrow (â/â/â)
âą Price vs DED: Relationship between close price and DED line (Above/Below/Equal)
âą Launch Pt: Active launch point status (â Active/â Inactive)
â FEATURES
âą Enhanced MACD Algorithm: Custom DIF/DEA/DIK/DED calculations for improved signal accuracy
âą Launch Point Detection: Identifies potential trend starts before they become obvious
âą Dynamic Support/Resistance: DED line adapts to market conditions in real-time
âą Multi-Layer Histograms: Depth-effect visualization for clear trend state identification
âą Real-Time Status Panel: Comprehensive table showing all key indicator values
âą Multiple Alert Types: Five different alert conditions for various trading scenarios
âą Customizable Display: Toggle various visual elements based on preference
âą No Repainting: All signals are based on confirmed historical data
â LIMITATIONS
âą Lagging Indicator: Based on moving averages, signals may lag behind rapid price movements
âą Sideways Markets: May generate false signals during choppy or range-bound conditions
âą Parameter Sensitivity: Default parameters work well for most markets but may need adjustment for specific instruments
âą Not a Standalone System: Should be used in conjunction with other analysis methods and risk management
âą Historical Performance: Past signals do not guarantee future results
â NOTES
âą Recommended Timeframes: Works best on 4H, Daily, and Weekly timeframes for swing trading
âą Market Types: Suitable for trending markets; use caution in ranging markets
âą Best Practices: Wait for confirmation signals and use proper position sizing
âą Combination Strategies: Combine with support/resistance levels, volume analysis, or other indicators for improved accuracy
âą Backtesting: Always backtest on historical data before live trading
âą Risk Management: Never risk more than 1-2% of your account per trade
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
DISCLAIMER
This indicator is provided for educational and informational purposes only. Past performance does not guarantee future results. Trading involves substantial risk of loss and is not suitable for every investor. Always conduct your own research and consult with a qualified financial advisor before making trading decisions.
For questions or feedback, use the comments section below.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die FunktionalitĂ€t ĂŒberprĂŒfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Avoid losing contactïŒDon't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq éČæąć€±èïŒèŻ·ç«ćłèĄćšïŒć ć
„æŹç«èć€©çŸ€: discord.com/invite/ZTGpQJq
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von RatschlÀgen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die FunktionalitĂ€t ĂŒberprĂŒfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Avoid losing contactïŒDon't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq éČæąć€±èïŒèŻ·ç«ćłèĄćšïŒć ć
„æŹç«èć€©çŸ€: discord.com/invite/ZTGpQJq
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von RatschlÀgen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.