Sonic R + Linear Reg + Kumo Cloud + Barcolor MACD
Jun 25, 2018

The Sonic R + Linear Reg + Kumo Cloud + Barcolor MACD indicator combines multiple trend-following and momentum-based methodologies into a single system to provide comprehensive trade signals and visual trend analysis. It integrates the Price Action Channel (PAC), Linear Regression curves, Ichimoku Cloud (Kumo), and MACD-based bar coloring to help traders identify high-probability entries and market bias.
Usage
The tool functions by aggregating trend signals from various sources. Users can monitor the following for trade opportunities:
- Trade Signals: The script generates "Buy" and "Sell" labels based on the interaction between Linear Regression and the Price Action Channel (PAC), filtered by momentum.
- Trend Confirmation: The Kumo Cloud provides a secondary layer of trend verification. Generally, trades aligned with the cloud's color and position relative to price are prioritized.
- Momentum Filtering: The MACD bar coloring logic assists in preventing trades against short-term momentum. If bars are colored red, long positions should be avoided; if green, short positions should be avoided.
- PAC & Signal MA: The PAC (high and low EMAs) acts as a dynamic support and resistance zone, while the EMA Signal line represents the long-term trend direction.
Details
The script's construction utilizes several key technical components:
- Price Action Channel (PAC): Built using high, low, and close EMAs to define a "tunnel" for price movement.
- Sonic R Influence: Uses specific EMA settings (e.g., length 34 and 89) to identify the "Dragon" and core trend lines.
- Linear Regression: Applied to the price to smooth out noise and provide a clearer signal for PAC crossovers.
- Ichimoku Kumo Cloud: Uses standard Senkou Span A and B calculations to project future support/resistance and define the current sentiment.
- MACD Delta Logic: Analyzes the difference between the MACD line and its signal to determine bar colors based on increasing or decreasing momentum.
Settings
Indicators
- EMA Signal: Sets the length for the long-term trend EMA.
- High Low channel Length: Adjusts the period for the Price Action Channel (PAC).
Ichimoku
- Conversion Line: The period for the Tenkan-sen.
- Base Line: The period for the Kijun-sen.
- Lagging Span 2 Periods: The period for the Senkou Span B.
- Displacement: The number of bars the cloud is shifted forward.
MACD
- MACD Fast Length: The short-term period for the MACD calculation.
- MACD Slow Length: The long-term period for the MACD calculation.
- MACD Signal Length: The smoothing period for the MACD signal line.
FAQ
How do I use the bar coloring?
The bar colors are derived from MACD momentum. Green bars indicate bullish momentum where selling is discouraged, while red bars indicate bearish momentum where buying is discouraged. Neutral blue bars suggest a transition or lack of strong momentum.
When are trade signals triggered?
Signals are triggered when the Linear Regression curve crosses specific levels of the PAC channel while being confirmed by rising/falling price action and MACD momentum status.
How can I access this tool?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.