Separated Moving Average - evo
Jun 19, 2020

The Separated Moving Average - evo indicator provides a dual-line trend visualization that establishes directional bias based on price interaction with decoupled moving average boundaries. This tool helps traders identify trend reversals and filter market noise by separating the calculation of bullish and bearish price action into distinct upper and lower levels.
Usage
The Usage section describes how the script can be used, examples should be provided in this section. This section also focuses on how main settings affect the indicator interpretation and output.
The indicator functions as a trend-following system where the bias is determined by the price closing relative to the upper and lower bands. When the price closes above the upper average, a bullish bias is established, and the lower band is highlighted to represent support. Conversely, when the price closes below the lower average, a bearish bias is established, and the upper band is highlighted to represent resistance.
Trend Identification
Traders can use the colored lines to gauge the current market environment:
- Bullish Bias: Indicated by a green lower line. This suggests that the upward momentum is intact.
- Bearish Bias: Indicated by a red upper line. This suggests that downward momentum is prevailing.
Signal Filtering
The script includes a "Filter false breaks" toggle. When enabled, the indicator requires two consecutive candle closes beyond the boundary to trigger a change in directional bias. This is particularly useful in volatile or ranging markets where "wick" breakouts often lead to false signals.
Details
The script operates by isolating price data based on candle polarity. It utilizes Heikin Ashi values (optional) to smooth the input data further. The "Upper" average is calculated specifically from prices where the candle closed higher than it opened (bullish candles), while the "Lower" average is derived from prices where the candle closed lower than it opened (bearish candles).
By calculating averages on these separated datasets, the script creates a dynamic channel or "gap" between the two lines. This construction ensures that the trend bias is not prematurely flipped by minor fluctuations, as the price must cross the "opposite" sentiment average to register a trend change.
Settings
- Use Heikin Ashi settings: Determines whether the moving average calculations are based on Heikin Ashi smoothed price data or standard OHLC data.
- Filter false breaks: When enabled, the script requires a secondary confirmation (two closes) before switching the trend direction.
- Average Type: Allows users to select the underlying smoothing method, including SMA, EMA, HMA, RMA, WMA, VWMA, ALMA, and Donchian.
- Average Length: Sets the lookback period for the selected moving average type.
FAQ
How do I interpret the colored circles on the lines? The circles represent "flip" points where the directional bias has changed from bullish to bearish (red circle) or bearish to bullish (green circle).
What is the benefit of using the "Separated" logic over a standard MA? Standard moving averages often lag or provide "whipsaw" signals in sideways markets; the separated logic creates a buffer zone between bullish and bearish sentiment, requiring more significant price movement to change the trend bias.
How can I access the Separated Moving Average - evo? 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.