OPEN-SOURCE SCRIPT
Linear Volume MACD | Lyro RS

📊 Linear Volume MACD | Lyro RS is an advanced momentum and trend detection tool that fuses price action with volume-weighted MACD logic and linear regression analysis. Designed for traders seeking deeper insights into market strength and directional conviction, this indicator highlights trend shifts, volume anomalies, and potential reversal zones with precision.
✨ Key Features:
📈 How It Works:
⚙️ Customization Options:
📌 Use Cases:
⚠️ Disclaimer:
This indicator is for educational purposes only. It is not financial advice. Always use in conjunction with your own research and risk management strategy.
✨ Key Features:
- 🔁 Multi-Mode Analysis: Switch between Linear Regression, Strong/Weak Trend, or Volume MACD logic.
- 📐 Volume-Adjusted MACD: Incorporates volume for a more realistic momentum view.
- 📊 Linear Regression Signal: Smoother and more reactive trend analysis.
- 🎯 Dynamic Stdev Bands: Visualize ±1 and ±2 standard deviation thresholds for anomaly detection.
- 🌈 Custom Color Themes: Choose from built-in palettes or define your own bullish/bearish signal colors.
- ⚠️ Alert Conditions: Built-in alerts notify you of potential trend shifts across all signal modes.
📈 How It Works:
- 🧮 MACD Core: Uses volume-weighted price to generate fast and slow EMAs, forming the MACD and signal lines.
- 📉 Histogram Logic: Histogram is either the traditional MACD histogram or its linear regression version.
- 📊 Signal Modes:
• Linear Regression: Detect trend based on smoothed MACD behavior.
• Strong/Weak Trend: Identifies accelerating/decelerating trend strength.
• Volume MACD: Classic volume MACD behavior for divergence spotting. - 📏 Stdev Bands: Calculated over a long period (default 200) to highlight statistically significant moves.
- 🎨 Color-coded Feedback: Bar and background colors adjust dynamically with market condition.
⚙️ Customization Options:
- 🔄 Choose your Signal Type from three unique analysis modes.
- 📏 Modify Fast/Slow/Signal lengths and Regression parameters to suit your strategy.
- 📈 Enable or disable Stdev Bands and adjust multiplier.
- 🎨 Select from Classic, Mystic, Accented, or Royal color palettes — or create your own.
📌 Use Cases:
- 🟢 Identify trend continuation or reversal zones with volume-adjusted signals.
- 🔴 Detect volatility breakouts using standard deviation bands.
- 🧭 Use in confluence with price structure, RSI, or market sentiment.
⚠️ Disclaimer:
This indicator is for educational purposes only. It is not financial advice. Always use in conjunction with your own research and risk management strategy.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.