ATRTrendChannel

ATR Trend Channel — Adaptive ATR-Based Trend Channel Indicator
For MetaTrader 5 · Main chart window indicator

Overview

ATR Trend Channel is an adaptive trend channel indicator​ drawn directly on the price chart.
It builds an upper band and a lower band around the median price of each bar, using ATR (Average True Range) as the scaling unit. Unlike a regular moving-average channel, this channel does not slide smoothly from bar to bar. It stays anchored​ to a specific bar and is re-anchored — and the trend is flipped — only when the closing price actually breaks out of a band. This stepped structure keeps the trend boundary clear and the flip points unambiguous, instead of having the channel constantly reshape itself during choppy conditions.
Beyond the channel itself, the indicator puts three things on the chart:
  • Trend direction​ — only the upper band (green) is shown during an uptrend; only the lower band (red) during a downtrend.
  • Flip trigger level​ — a dashed projection extending to the right of the latest bar, showing the price that would trigger a trend flip.
  • Trend strength​ — candles are colored by the close position inside the channel; the closer the price is to the trend-side band, the more the color shifts toward the trend color.
The indicator places no orders and contains no automated trading logic. It is a pure visualization tool for market structure and trend state.

Key Features

  1. ATR-adaptive channel​ — the channel width scales with volatility, so the same settings can be used across instruments with very different price ranges.
  2. Stepped anchoring and flips​ — a close above the upper band is a bullish flip, a close below the lower band is a bearish flip; the channel is re-anchored to the current bar only on a flip.
  3. Inner buffer bands​ — gray dashed inner bands are drawn inside the visible band; their offset equals half of the average range of the last 50 bars, helping to separate a normal pullback from a weakening trend.
  4. Gradient candles​ — in an uptrend, the closer the close is to the upper band, the more bullish the candle color; in a downtrend, the closer the close is to the lower band, the more bearish the color; mid-channel candles fade into the transition color.
  5. Flip arrows​ — an up arrow below the bar marks a bullish flip, a down arrow above the bar marks a bearish flip; both can be switched off.
  6. Last-bar projection​ — a dashed line extending about 10 bars to the right of the latest bar, together with a text label showing the exact flip trigger price.
  7. Status table​ — a compact table in the lower-right corner showing the current trend direction (UP / DOWN) and the latest price.
  8. Fully configurable​ — ATR period, ATR multiplier, three colors and three display switches.

Chart Elements at a Glance

Element
When it appears
Meaning
Green solid line (Upper Band)
During an uptrend
Channel upper band; reference for bullish targets / resistance
Red solid line (Lower Band)
During a downtrend
Channel lower band; reference for bearish targets / support
Gray dashed line (Upper / Lower Inner)
Together with the visible band
Inner buffer band separating normal pullbacks from trend weakening
Gradient candles
Always
Colored by the close position inside the channel; reflects trend momentum
Up arrow
Bullish flip (close breaks above the upper band)
Point where the trend turns bullish
Down arrow
Bearish flip (close breaks below the lower band)
Point where the trend turns bearish
Dashed line + text label to the right
Right of the latest bar
Flip trigger level: the lower band during an uptrend (bearish flip level), the upper band during a downtrend (bullish flip level)
Table in the lower-right corner
Always
Current trend direction and latest price

How It Works (Plain Description)

  1. The median price of each bar, (high + low) / 2 , is used as the channel reference base.
  2. A distance of ATR × multiplier is applied upward and downward to obtain the upper and lower bands.
  3. The channel stays anchored to one bar and is re-anchored to the current bar only when the close breaks out of a band​ — this is a flip.
  4. On every flip, the buffer-band offset is recalculated from the average range of the last 50 bars.
  5. Candles are colored according to the relative position of the close between the lower band (0) and the upper band (1), producing the gradient.
All calculations use only data that has already been produced. Nothing on closed bars changes afterwards (no repainting); only the state on the latest, still-forming bar updates as price moves.

Input Parameters

=== Channel Settings ===

Parameter
Default
Description
ATR Length
100
Period used for the ATR calculation, which sets the base of the channel width. Higher values give a smoother channel with fewer flips; lower values make it more sensitive
ATR Multiplier
2.5
Channel radius = ATR × multiplier. Higher values widen the channel and make flips less frequent

=== Colors ===

Parameter
Default
Description
Bullish color
C'12,190,137'
Used for the strongest-bullish end of the candle gradient, and for the projection line and table during an uptrend
Bearish color
C'233,52,52'
Used for the strongest-bearish end of the candle gradient, and for the projection line and table during a downtrend
Transition color
Yellow
Middle color of the candle gradient, representing neutral momentum / mid-channel price
Note: these color parameters affect the gradient candles, the projection line and the status table. The color of the channel lines and arrows can be changed separately in the chart's Colors​ tab.

=== Display ===

Parameter
Default
Description
Show flip arrows
true
Draw arrows at flip points
Show last-bar projection
true
Draw the flip-trigger projection line and price label to the right of the latest bar
Show trend table
true
Show the trend and price table in the lower-right corner

Suggested Settings

Trading style
Suggested timeframe
ATR Length
ATR Multiplier
Scalping / short term
M5 – M15
30 – 50
1.8 – 2.2
Intraday
M30 – H1
60 – 100
2.0 – 2.5
Swing / position
H4 – D1
100 – 200
2.5 – 3.5
These are only common starting ranges; please test and adjust them for the volatility of your instrument and your own style.

How to Use It

  • Define the direction​ — use a channel flip as the trend-direction switch: during an uptrend, plan only long-side trades; during a downtrend, plan only short-side trades.
  • Reference targets​ — the upper band during an uptrend and the lower band during a downtrend can serve as a first target area for the trend move.
  • Reference risk levels​ — during an uptrend, the projected lower band to the right of the latest bar is the bearish-flip level; if price reaches it, the trend structure has changed, which can be used as an exit or reduction reference.
  • Filter noise​ — pullbacks that stay inside the inner buffer band are normal within a trend; attention is warranted when price enters the buffer zone and approaches the flip level.
  • Detect ranging markets​ — frequent flip arrows over a short period usually mean the market is in a range, where channel signals are less reliable.
  • Multi-timeframe use​ — a common approach is to define the main direction on a higher timeframe (H4, D1) and use the channel on a lower timeframe (M15, H1) to time entries and exits.

Instruments and Timeframes

  • Instruments: currency pairs, precious metals, energies, index and commodity CFDs, cryptocurrency CFDs — any instrument available in MetaTrader 5.
  • Timeframes: all timeframes (M1 to MN). The default settings (ATR 100 / multiplier 2.5) suit H1 and above; for lower timeframes, reduce the ATR period accordingly.

Installation and Usage

  1. After obtaining the indicator from the Market, MetaTrader 5 installs it into the MQL5/Indicators folder automatically; you can also copy the file manually and refresh the Navigator.
  2. Find ATR Trend Channel​ under Navigator → Indicators and double-click it or drag it onto the chart.
  3. Set the ATR period, ATR multiplier and colors in the Inputs​ tab.
  4. To see the original candles, set the Candles plot to None in the Colors​ tab; the channel line and arrow colors are adjusted in the same tab.
  5. You can load the indicator several times with different settings on the same or different charts — each instance keeps its own parameters.

Notes

  • The indicator provides visualization of trend and volatility structure only. It is not a complete trading system and contains no automated trading functions. Always apply your own risk management and make your own trading decisions.
  • Arrows, colors and the projection level on the latest, still-forming bar update as price moves and are fixed only when the bar closes.​ Everything on closed bars remains unchanged.
  • The chart needs at least ATR period + 50 bars​ before the indicator starts drawing, so please allow enough history.
  • The default ATR period of 100 produces very few flips on M1–M15; lower the parameter for short timeframes.
  • The indicator redraws candles on the main chart with gradient colors. This is a display effect only and does not affect the underlying price data.
  • After switching off the projection or table display, reload the indicator to remove the objects already drawn.

Risk Disclaimer

Trading financial markets involves risk and may not be suitable for all investors. This indicator offers technical analysis and market-structure visualization only; it does not guarantee or imply any profit. Past behavior of any indicator does not represent future results. All outcomes of trading decisions made with this indicator are the sole responsibility of the user.

Altri dall’autore
JKTopHedge
Shi Yuan Wang
JK-Top Hedge — Two-Sided Hedged Grid EA for MetaTrader 5 Overview JK-Top Hedge is an Expert Advisor for MetaTrader 5. It places a Buy Stop above the current price and a Sell Stop below it at the same time, building two grid lines on either side of the market. When one pending order is filled, the EA places the next one further away, and the cycle repeats. Because long and short positions exist at the same time, a floating loss on one side can partly be offset by the other. The EA closes or reduc
Automatic Support and Resistance Levels with Breakout Tracking Product name note: the file name and the indicator short name in the source are AutomaitcSR . The correct spelling AutomaticSR is recommended before submission. Use one identical name for the file, the short name and the Market product title. Short description (for the Market product card) Automatic support and resistance levels built from confirmed swing pivots, with ATR-based filtering, optional level zones, breakout marking and a
FREE
BBOscillator — Candle Coloring with Andean Oscillator States and ATR Stop Levels Overview BBOscillator is a technical indicator for MetaTrader 5 that is drawn in the main chart window. It combines the Andean Oscillator state logic, candle coloring, dynamic ATR stop levels and state-change marks in a single visual layer, so that four questions can be answered by looking at one chart: whether the direction is defined, which side it leans to, where the direction state started, and where a stop refe
FREE
Trend Reversal Probability Overview Trend Reversal Probability is an analytical indicator for MetaTrader 5. It does not open, close or manage trades. Its purpose is to describe one specific property of the market in numbers: how long the current directional state of a smoothed momentum oscillator has already lasted, and how unusual that duration is compared with the same measurement on previous occasions. The indicator runs in a separate window. On every bar it updates the duration of the curren
FREE
Deviation Trend Profile Overview Deviation Trend Profile is a MetaTrader 5 chart indicator that combines three visual layers in a single chart window: a moving average with momentum-based coloring, deviation bands calculated from volatility, and a horizontal distribution profile drawn to the right of the current price. The indicator is an analytical tool. It does not open, modify or close trades, and it is not a complete trading system. It is designed to help the user observe trend direction, mo
FREE
TrendReferenceLine — Adaptive Trend Line with ATR Channel and Auto Trade Levels Short description: ​ An adaptive trend line indicator that switches color with trend direction, marks confirmed reversals with arrows, and automatically plots entry, stop loss and three R-multiple targets on the chart. Type: ​ Trend-following technical analysis indicator (not an automated trading robot). What it does In trend trading, three questions matter most: has the direction changed, where does the stop go, and
FREE
Trendfollowingline (ATR Based Trend Following Indicator) Overview Trendfollowingline is a trend following indicator drawn in the main chart window. It uses the Average True Range (ATR) as a measure of market volatility and plots a band around the price: while the direction is up, the band is placed below the price and moves upwards; when the direction turns down, the band switches above the price and moves downwards. An arrow marker is drawn on the band each time the direction changes. The indic
FREE
RSICloud
Shi Yuan Wang
RSI Cloud — RSI Dual Moving Average Cloud Indicator This indicator calculates RSI in a separate window, applies fast and slow moving averages to the RSI values, and displays the relative position of the two averages as a filling cloud. It also provides an optional raw RSI line, fixed 70/50/30 reference levels, and arrow markers when the fast and slow RSI averages cross. The indicator is for analysis and signal filtering only; it does not place trades. How it works Wilder RSI is calculated from
RSI Support Resistance Signals Platform: MetaTrader 5 RSI Support Resistance Signals adds zone coloring and signal labels to the standard RSI. The indicator does not execute trades. Signals: Sell: RSI is in the overbought zone and turns down, or RSI is in the resistance zone and a bearish candle with an upper wick is detected. Buy: RSI is in the oversold zone and turns up, or RSI is in the support zone and a bullish candle with a lower wick is detected. Each signal can show a user-defined Engli
FREE
Overview QuantifiedTrends is a MetaTrader 5 indicator that runs in a separate chart sub-window. It describes momentum conditions through three calculation layers: Primary QQE layer: an RSI-based structure that uses smoothing and the smoothed RSI's own variation to build adaptive upper and lower bands and a primary QQE trend line. Statistical envelope layer: Bollinger Bands applied to the deviation of the primary QQE trend line from the 50 midline, used to determine whether primary momentum readi
FREE
HubDynamicTrendLine This indicator identifies strict pivot highs and lows based on N bars to the left and right (default 15), connecting consecutive pivots of the same type to build a dynamic channel with upper and lower boundaries. Key Features Pivot Connections : Consecutive pivot highs and pivot lows are connected with solid trend lines, forming a visible channel structure. Slope Projection : When the price difference between two consecutive pivots of the same type is at least one 200-period
FREE
EF Percentage Channel A trend-state indicator that combines volatility-adaptive averaging, an Ehlers nonlinear filter, and statistical percentile bands into a single, self-adjusting channel. Overview The indicator builds an adaptive trend baseline on the chart and wraps it with statistical percentile bands. When price moves above the upper band, the market is flagged as bullish; below the lower band, bearish; inside the channel, the previous state is retained. The trend line, channel bands, cand
FREE
Trend Pressure Oscillator Trend Pressure Oscillator is a separate-window analytical indicator for MetaTrader 5. It evaluates buying and selling pressure across multiple timeframes to help identify potential exhaustion points and market regime shifts. This tool does not generate trading signals automatically and does not execute trades. It is designed to be used as part of a broader technical analysis approach. Functionality Multi-range pressure analysis using Williams %R over three periods (Pul
FREE
MA Valuation Fluctuations measures how far the current price stands from its moving average. The deviation is expressed in units of dispersion and then compressed by a hyperbolic tangent into a fixed range from -1.0 to +1.0. The indicator is drawn in a separate window and can be used as a context filter next to a trend following or a mean reversion approach. What the indicator shows For every bar the indicator compares the selected price with a moving average in logarithmic terms. Because the r
FREE
High Time Candlestick Chart Visualize the current higher-timeframe candle directly on your lower-timeframe chart. This indicator projects the OHLC data of a selected higher timeframe ​ (M15, H1, H4, D1, or W1) onto your current chart as a graphical candlestick, offset to the right of the live price area. It helps you keep the bigger-picture candle structure in view without switching timeframes. Features Graphical HTF candle : Body, upper wick, and lower wick drawn as chart objects, colored by bu
FREE
Inverse Probability Distribution — Pivot Density and K-Means Clustering Indicator Platform: MetaTrader 5 Overview This indicator is a technical analysis visualization tool for MetaTrader 5. It identifies confirmed pivot highs and lows on historical bars, groups pivot prices with K-Means clustering, and draws an inverse distribution profile on the right side of the chart. The profile shows the density of historical pivot prices at different price levels. The indicator does not generate trading s
FREE
Dual Period Filter — Adaptive Coppock Curve for MT5 Overview The Coppock Curve is built from the sum of a long and a short rate of change, smoothed afterwards, and is used to observe the direction and strength of medium-term momentum. This indicator extends the classic calculation in two ways. First, the price source passes through an optional adaptive filter before the momentum is calculated. Nine filter types are available: None, SMA, EMA, RMA, Double WMA, Triple VWMA, HMA, LLAMA and Kalman.
FREE
Intraday Spark Chart Overview Intraday Spark Chart is an MT5 indicator for intraday analysis. It converts the current price change of a symbol into a percentage of the daily opening price and plots the result in a separate subwindow. Every trading day starts again from the zero line, so each day is drawn as a separate segment and the intraday move of the current day can be observed directly. The indicator is a data visualization tool. It does not generate trading signals and does not provide inv
FREE
Adaptive MACD - R² Based Adaptive MACD Indicator Overview Adaptive MACD is an innovative MetaTrader 5 indicator that improves upon the traditional MACD. By introducing the Pearson correlation coefficient to calculate the R² value of price trends, this indicator can adapt to market conditions and dynamically adjust its sensitivity. It helps traders capture trends more effectively while filtering out market noise. How It Works Traditional MACD uses a fixed difference between fast and slow EMAs. Ad
FREE
# MASignalPanel — Multi-MA Signal Panel with Trend Filter ## Overview MASignalPanel is an all-in-one moving-average signal indicator designed for MetaTrader 5. It combines up to three moving averages (SMA, EMA, SMMA, LWMA) with four trade signal modes — Cross, Breakout, Pullback and Channel — and adds a higher-timeframe trend filter line (default EMA240) to keep you on the right side of the market. A fully interactive control panel lets you change MA type, MA count, periods, s MA indicator, movi
FREE
MACandleApprox — Moving-Average Approximate Candle Indicator MACandleApprox is a custom indicator that, on the main price chart, applies a selected type of moving average to the open, high, low, and close price series respectively, and replots them as "approximate candles". It does not modify the original candlesticks; instead, it overlays a smoothed candle view based on moving averages, helping traders observe the smoothed price movement and directional changes more intuitively. The indicator s
FREE
ZigZag Trader EA - Intelligent ZigZag Trading Assistant Introduction ZigZag Trader EA is a fully automated trading assistant based on the ZigZag indicator. It intelligently identifies previous highs and lows of the ZigZag indicator, combined with an advanced risk management system, to provide you with precise trading signals and automated trade execution. Whether you are a novice or experienced trader, ZigZag Trader EA can help you simplify trading decisions and achieve stable trading performa
Fibonacci Confluence Suite Short description Fibonacci Confluence Suite is a chart-window indicator for MetaTrader 5. It builds a Fibonacci grid from confirmed swing highs and lows, marks the levels where projections from earlier swings overlap, and adds a Golden Pocket zone, Fibonacci time zones, touch statistics and a compact status panel. All levels are calculated from closed bars only. Overview Drawing retracement levels by hand usually means three separate steps: finding the swing, pulling
MACandleApproxPro — Advanced MA Candle Reconstruction & Multi-Dimensional Market Structure Indicator Overview MACandleApproxPro ​ is a comprehensive technical analysis tool designed for professional traders. It breaks through the limitations of traditional moving averages by reconstructing MA data into "MA Candles" ​ through complex algorithms. This unique visualization filters out market noise, allowing you to examine price trends, momentum shifts, and critical market structures from a more
SweepReversalMap — Indicatore di mappatura delle zone di inversione dopo sweep di liquidità Panoramica SweepReversalMap è un indicatore personalizzato basato sul Price Action, progettato per identificare eventi di «Liquidity Sweep» (sweep di liquidità) nel mercato e mappare potenziali zone di inversione dopo il reclaim del prezzo. L’indicatore è adatto a qualsiasi strumento e timeframe. Logica principale Rilevamento dei punti swing: in base allo Swing Length impostato dall’utente, vengono ident
JKTaurus
Shi Yuan Wang
JK-Taurus Expert Advisor A grid-based scaling EA driven by trend and signal confirmation. Overview JK-Taurus is a fully automated trading system designed specifically for the MT5 platform. It integrates multi-timeframe trend analysis, signal confirmation, and a dynamic grid-based position-building strategy, aiming to capture sustained profit opportunities during trending market conditions. The EA features an intuitive visual dashboard, allowing users to monitor account status in real-time and in
SR Power Channel — Support & Resistance Power Channel Indicator Overview SR Power Channel is a main-chart visual indicator built on price extremes and ATR. It locates the highest high (resistance) and the lowest low (support) within a configurable lookback window, extends those two levels to the right, and wraps them into ATR-based channel bands. The indicator also counts bullish and bearish bars inside the window and marks the moments when price breaks above or below the channel bands with dia
Adaptive filtering trend Overview Adaptive filtering trend is a multi-layer signal filtering indicator for the MetaTrader 5 platform, built on the Coppock curve. The indicator computes a long-period and a short-period Rate of Change (ROC) of the price, sums them, and smooths the sum with a Weighted Moving Average (WMA) to obtain the Coppock curve. A set of independently switchable filters is then applied to screen the signals, and bullish or bearish crossings are marked on the main chart throug
JKEFAdvancedModel — Volatility-Adaptive Trend Breakout Trading System Overview JKEFAdvancedModel is a fully automated Expert Advisor for MetaTrader 5. On the selected timeframe it adapts to market volatility to follow the trend and trade breakouts. The system evaluates the state of closed bars only, so signals are not revised by an unfinished bar. Once a direction is confirmed, the robot can enter with a market order or place a stop order at a defined distance from the current price and wait for
JKEFtrendMartingale — Volatility-Adaptive Trend-Following Martingale Trading System Overview JKEFtrendMartingale is a fully automated Expert Advisor for MetaTrader 5. On the selected timeframe it adapts to market volatility to follow the trend and trade breakouts. After a losing trade it increases the lot size of the next trade according to the configured rule, and returns to the initial lot size once profits have absorbed the accumulated loss. The system evaluates the state of closed bars only,
Filtro:
Nessuna recensione
Rispondi alla recensione