A trend line that weighs every close by volume and holds its colour through pullbacks
Deep Trend Curve draws a 34-candle volume-weighted moving average with a band 1.5 average true ranges above and below it.
- A volume-weighted line: each of the last 34 closes counts in proportion to its candle's tick volume.
- Bands at 1.5 times the 34-candle average true range, so the trigger distance follows the market's volatility.
- The colour changes only on a closed candle outside a band; pullbacks between the bands keep it.
- Bullish and bearish turn alerts by pop-up, sound, e-mail or push, sent once per colour change.
- MetaTrader 4 and 5. Both builds in one download; it appears as “Deep Trend Curve Indicator” in the Navigator.
- A 3-page PDF guide with installation, every setting and how to read the chart. One-time €47.

See Deep Trend Curve Indicator on a real chart
Press play; use the full-screen button to see every detail.
A plain moving average flips on every pullback and treats all candles alike
Most traders use a moving average as a trend filter: above it, look for buys; below it, look for sells. In practice price crosses a 34-period average many times during a normal pullback, and every cross looks like a trend change. Colour-changing averages make it worse, because they paint a new trend each time a close slips to the other side of the line.
A simple average also gives a quiet overnight candle the same weight as the candle where the real move happened. A thin drift can pull the line as far as a busy breakout, so the line leans toward the candles that mattered least. A fixed distance in pips does not help either: what is a big move on a quiet day is noise on a volatile one.
Deep Trend Curve answers both problems. It weights each close by its tick volume, so busy candles pull the line harder than quiet ones, and it changes colour only when a candle closes beyond a band placed 1.5 average true ranges from the line. Until that happens the colour holds, however often price crosses the line itself.
What Deep Trend Curve Indicator draws, and what each mark means
Read from the shipped MetaTrader edition.
| What you see | What it means |
|---|---|
| Aqua line with teal bands | Bullish: the last close outside the bands was above the upper band. |
| Red line with maroon bands | Bearish: the last close outside the bands was below the lower band. |
| Colour change | The signal: a candle closed outside the band on the other side. It is decided when that candle closes. |
| Price between the bands | The colour stays: pullbacks inside the bands do not flip the trend. |
| Small gap in the line at a colour change | Normal: the old colour ends one candle before the new one starts. |
How the indicator builds the line and decides the colour
There are only two calculations and one rule. Everything comes from the chart's own candles and their tick volume.
- 1
Weight every close by its volume
For each candle the indicator multiplies the close of each of the last 34 candles by that candle's tick volume, adds the products and divides by the total tick volume. The result is a volume-weighted moving average (VWMA): a candle with three times the ticks of its neighbours counts three times as much in the line. If a window has no tick volume at all, the candle's own close is used.
- 2
Measure the volatility of the same window
Over the same 34 candles it takes each candle's true range, the largest of high minus low and the distances from the previous close, and averages them with a simple mean. That average true range sets the bands: upper band equals the VWMA plus 1.5 times the ATR, lower band equals the VWMA minus 1.5 times the ATR. When ranges widen, the bands move further out.
- 3
Decide the trend on closed candles
Each closed candle is tested against its own bands. A close above the upper band sets the state to bullish, a close below the lower band sets it to bearish, and any close between the bands keeps the previous state. The forming candle is never tested: it carries the last closed candle's state until it closes and is checked with its final close on the first tick of the next candle.
- 4
Paint the line and both bands
Bullish candles get a thick aqua line with thin teal bands, bearish candles a thick red line with thin maroon bands. Each colour is drawn as its own line, so at every change the old colour ends one candle before the new one starts and a small gap appears: that gap marks the turn. Before the first close outside a band at the far left of the history, the line is drawn aqua.
- 5
Alert once per colour change
On the first tick of each new candle the indicator compares the state of the candle that just closed with the one before it. If the state turned bullish or bearish, it sends one alert, for example 'Deep Trend Curve [XAUUSD] - BULLISH trend confirmed'. On the first calculation after you attach it, nothing is sent for the colour changes already in the history.
Deep Trend Curve Indicator on 12 different markets
Every chart below is a screenshot of MetaTrader itself with the shipped Deep Trend Curve Indicator attached at its default settings. Forex, metals, indices, energy and crypto, so you can see how it reads each kind of market. They show what the indicator draws; they are not trading results. Tap or click any chart to open it full size.












Watch Deep Trend Curve Indicator work on a real MetaTrader 5 chart
A screen recording and frames from the shipped indicator at its default settings, as the chart updates. Nothing is edited into the chart.




A step-by-step way to use it
Deep Trend Curve is a trend filter: it draws no arrows, no entry price, no stop loss and no target. These steps show how to turn its colour and bands into a plan you control.
- 1
Take the colour as your direction
Aqua means the last close outside the bands was above the upper band: look only for buys. Red means it was below the lower band: look only for sells. The indicator gives no entry of its own, so let it decide which side of the market you trade, and leave the other side alone for as long as the colour holds.
- 2
Wait for the change to close
A colour change only counts once the candle that broke the band has closed. During the forming candle the line and the bands move with every tick while the colour waits. If price spikes through a band and falls back inside it before the close, nothing changes and no alert is sent. Act on the closed candle, never on the spike.
- 3
Enter on the turn or on a pullback
Two common ways to use it: enter on the candle after a fresh colour change, or wait in an established colour for a pullback toward the VWMA line and enter when a candle closes back in the trend's direction. Pullbacks that stay inside the bands do not change the colour, which is what keeps you on the right side of the trend.
- 4
Use the far band for your stop
No stop loss is drawn, so you place it. The band on the other side is a natural reference: in an aqua trend, a close below the lower band is what turns the line red, so a stop beyond the lower band, or below the last swing low inside the bands, matches the indicator's own rule. Size the position from that distance.
- 5
Exit or reduce on the opposite colour
When the colour turns against your position, the trend has changed by the indicator's rule: close or reduce there, or trail your stop along the band while the colour holds. Because the band sits 1.5 ATR from the line, the turn comes later than a plain line cross. You give back part of the move in exchange for fewer flips inside a pullback.
- 6
Know when to skip a turn
Skip colour changes on a symbol whose tick volume is flat or missing at your broker, since the line then behaves like a plain average. Be careful when the bands have pinched together in a tight range: a small burst can close outside them and change the colour without a trend behind it. And ignore the far left of a fresh chart, where the state starts aqua by default.
Everything Deep Trend Curve Indicator does for you
Volume decides the weight
The line is a true volume-weighted moving average of the close over 34 candles, using each candle's tick volume. Candles with more activity pull it harder, so the line follows where trading happened rather than giving every candle the same say.
Bands that follow volatility
The bands sit 1.5 average true ranges above and below the line, measured over the same 34 candles. On a volatile day they widen, on a quiet one they tighten, so the distance needed to change the trend scales with the market instead of a fixed number of pips.
The colour holds through pullbacks
A close between the bands keeps the current colour, even when price crosses the line itself. Only a close beyond the band on the other side changes it, which keeps you from reading every dip in an uptrend as a new downtrend.
Decided on the closed candle
The trend state is only set by closed candles. The forming candle keeps the previous colour while its line and band values move with price, and the just-closed candle is checked with its final close on the first tick of the next one.
Turns you can see at a glance
A thick aqua or red line and thin teal or maroon bands, with a one-candle gap at every colour change. The gap is part of how the two colours are drawn, and it makes each turn easy to find when you scroll back through history.
One alert per colour change
Bullish Turn and Bearish Turn alerts, both on by default, each with its own switch. They go to a pop-up, the alert.wav sound, e-mail or push notification. No alerts are sent for old colour changes when you attach the indicator.
Two settings to learn
VWMA Length (34) sets both the average and the ATR window; ATR Multiplier (1.5) sets the band distance. That is the whole calculation. Colours and line widths are changed in the Colors tab of the indicator's properties.
Light on the chart
It draws only lines, no objects and no panel, so nothing covers the candles. After the first pass it recalculates only the last two candles on each tick, and its six line values appear in the Data Window as VWMA Bull, VWMA Bear and the four band lines.
Deep Trend Curve Indicator, feature by feature
Each picture is built from real platform screenshots of the shipped indicator at its default settings, labelled so you can see what every part does. Tap any picture to open it full size.







How traders put it to work
Swing filter on H1 and H4
The defaults of 34 candles and 1.5 ATR are the settings every chart on this page uses, on H1. On H1 the line covers the last 34 hours of candles, on H4 several trading days, and the colour changes rarely enough to work as a direction filter for the whole session. Take setups from your own method only in the colour's direction.
Higher timeframe bias for lower timeframe entries
Attach it to the H4 or D1 chart of your symbol and read only the colour: aqua for a buying bias, red for a selling bias. On your trading chart, M15 to H1, use your usual entry method and keep only the trades that agree with the higher-timeframe colour.
Faster intraday reading
For quicker turns on M5 to M30, lower the VWMA Length so fewer candles enter the average and the ATR window, or lower the ATR Multiplier so the bands sit closer to the line. Both make the colour change more often, including on smaller pullbacks. Change one setting at a time and compare it with the default on the same chart.
Gold, indices and crypto
Because the bands are measured in average true ranges, the same 1.5 setting adapts to XAUUSD, NAS100 or BTCUSD without converting pips. The weighting uses your broker's tick volume, so on symbols where that count is thin or flat the line moves closer to a plain average of the closes.
Every setting, with its default
The names are the ones in the MetaTrader inputs dialog; the defaults are what every chart on this page uses.
| Setting | Default | What it does |
|---|---|---|
| VWMA Length | 34 | InpVwmaLength: candles in the volume-weighted average AND in the average true range of the bands. |
| ATR Multiplier | 1.5 | InpAtrMult: band distance from the line in average true ranges; a close outside a band changes the trend colour. |
| Alert on Bullish Turn / Alert on Bearish Turn | on / on | InpAlertBull / InpAlertBear: alert when the colour changes, after the candle closes. |
| Popup / Sound / Email / Push | on / off / off / off | InpAlertPopup / InpAlertSound / InpAlertEmail / InpAlertPush (sound file alert.wav). |
| Colours and widths | aqua / red, teal / maroon | MetaTrader's Colors tab (no colour inputs). |
2 alert events
You choose which alerts are on in the inputs. Alerts can go to a pop-up in MetaTrader's Alert window, a sound, a push notification to the MetaTrader app on your phone and an e-mail (MetaTrader's e-mail settings must be filled in).
- Bullish turn
- Bearish turn
Deep Trend Curve Indicator next to the usual options
Where it wins, and where it does not.
| Deep Trend Curve Indicator | Typical free moving average indicator | Reading it by hand | |
|---|---|---|---|
| What the line averages | Closes weighted by each candle's tick volume over 34 candles | Closes weighted equally or by time only | Your eye on the recent candles |
| When the trend changes | Only when a candle closes beyond a band 1.5 ATR from the line | Each time price crosses the line or the line turns | Whenever you decide it has |
| Pullbacks inside the bands | The colour stays | Often a colour flip on every cross | Depends on your discipline |
| Signals on the chart | A colour change only: no arrows, no entry or stop levels | Usually none, some add arrows | None |
| Alerts | Bullish and bearish turn by pop-up, sound, e-mail or push, with the symbol (not the timeframe) in the text | Usually none | None: you have to watch |
| Cost | One payment | Free, built into MetaTrader | Free |
| Choice of averaging methods | One method only, two settings | Several methods to choose from | Any method you like |
Honest about who this fits
A good fit if you
- Trend traders on MetaTrader 4 or MetaTrader 5 who want one clear direction filter instead of a chart full of arrows.
- Traders who are tired of a moving average that flips colour on every pullback.
- Anyone who wants volume to count in the trend line, so busy candles matter more than quiet ones.
- Traders who already have an entry method and want a higher-timeframe bias to filter it.
- People who like simple tools: two settings, two colours and one alert per change.
Not for you if you
- Traders who want buy and sell arrows, entry prices or drawn stops and targets: the colour change is the only signal.
- Scalpers who need the earliest possible turn: waiting for a close beyond a 1.5 ATR band means the change comes after the move has started.
- Traders on a feed with no real tick volume, where the volume weighting adds nothing over a plain average.
- Anyone who wants alerts that name the timeframe: the text names the symbol only.
Both builds, one guide, installed in a minute
- 2Indicator buildsDeep Trend Curve Indicator.ex4 for MetaTrader 4 and Deep Trend Curve Indicator.ex5 for MetaTrader 5, in one 0.4 MB zip.
- 3Page PDF guideInstallation, every setting with its default and how to read the chart.
- 5Setting groupsEvery one explained above, with the defaults the charts use.
- 2Alert eventsYou choose which ones are on in the settings.
- 60Day money-back guaranteeIf it is not for you, request a full refund within 60 days through your Digistore24 order e-mail.
Install in four steps
- Download the zip from the page Digistore24 sends you to after checkout and unzip it.
- MetaTrader: File, Open Data Folder, then MQL4\Indicators (MetaTrader 4) or MQL5\Indicators (MetaTrader 5).
- Copy the .ex4 (MetaTrader 4) or the .ex5 (MetaTrader 5) there, refresh the Navigator and drag “Deep Trend Curve Indicator” onto a chart.
- Read the guide; the defaults are the settings shown on this page.

Kestutis Balciunas
AlgoFXStore · chart indicators for MetaTrader, TradingView, cTrader and NinjaTrader
Kestutis Balciunas builds and publishes chart indicators under the AlgoFXStore name for MetaTrader 4 and 5, TradingView, cTrader and NinjaTrader 8. Every product page shows what the indicator draws on real charts, and every number on it comes from the shipped build.
The charts on this page were captured in MetaTrader from the shipped Deep Trend Curve Indicator at its default settings and are shown unedited.
No get-rich claims and no quoted win rates. Every trade is uncertain, and no indicator changes that. If you want to know whether it suits the way you trade before you buy, e-mail [email protected] and you will get a straight answer.
One price, both platforms
- Both builds: .ex4 for MetaTrader 4 and .ex5 for MetaTrader 5, plus the 3-page PDF guide
- Delivered as a digital download: one zip with both builds and the PDF guide on your download page
- Return period: 60 days, with a full refund if it is not for you
- Free updates to the current version on the same download page
60-day money-back guarantee. Install it, run it on your own charts and read the guide. If Deep Trend Curve Indicator is not for you within 60 days of purchase, request a full refund from Digistore24, no questions asked: use the refund link in your Digistore24 order e-mail or Digistore24's order page digistore24.com/en/cancel-revoke-contract. Digistore24 refunds to your original payment method. It is a digital download: right after checkout you land on your download page, and the link to it is also in your Digistore24 order e-mail.
About the colours and signals
Does Deep Trend Curve repaint?
The trend colour is decided on closed candles: the state only changes when a candle closes outside a band, and a closed candle keeps its colour. On the forming candle the line and the two bands move with every tick, as any moving average does, while the colour waits for the close. On a full reload the colour chain restarts at the left edge of the loaded history, so only the earliest candles on the chart can differ.
Why are there no arrows?
Because the colour change is the signal. Arrows would only repeat what the line already shows. When a candle closes beyond the band on the other side, the line and both bands change colour from the next candle on, and the alert tells you which way it turned. Nothing else is drawn, so the chart stays readable.
Why is there a small gap in the line at each colour change?
The aqua and the red versions are separate lines. A line needs two neighbouring values to draw a segment, and at a change the old colour ends on one candle while the new colour starts on the next, so a one-candle gap appears in the line and in both bands. It is normal and it marks exactly where the trend turned.
Price is below the line but the colour is still aqua. Why?
The colour does not follow the line, it follows the bands. A bullish state only ends when a candle closes below the lower band. A close under the VWMA but above the lower band is a pullback inside the bands, so the line stays aqua. This is the main difference from a plain moving average filter.
What do the bands tell me apart from the trigger?
They show how far price is from the volume-weighted average in volatility terms. A close near the band on the trend's side means price is stretched about 1.5 average true ranges away from the line; a close near the line means it has pulled back to the average. Wide bands mean a volatile window, narrow bands a quiet one.
Why does the far left of a new chart start aqua?
Before the first close outside a band, there is no trend state yet, and that neutral start is drawn in the bullish colours. As soon as one candle closes outside a band, the real state takes over. It only affects the oldest candles of the loaded history, never the recent ones.
Settings
Should I change the default settings?
Start with the defaults, 34 candles and 1.5 ATR: they are the settings on every chart on this page. Only change them after you have watched the colour on your own symbol and timeframe. A shorter length or a smaller multiplier makes the colour turn more often; a longer length or a bigger multiplier makes it turn less often and later.
What does each setting change exactly?
VWMA Length sets how many candles go into both the weighted average and the average true range, so it moves the line and the band width together. ATR Multiplier only moves the bands: at 1.5 they sit one and a half average true ranges from the line, at 2.0 two. The alert inputs switch the bullish and bearish alerts and each channel on or off.
Can I change the colours?
Yes, in the Colors tab of the indicator's properties: there you can set the colour and width of the bullish line, the bearish line and the four band lines. There are no colour inputs in the Inputs tab. Changes apply to that chart, and you can save them with a chart template.
Alerts
What do the alerts say?
'Deep Trend Curve [XAUUSD] - BULLISH trend confirmed' or '... BEARISH trend confirmed', sent once on the first tick after the candle that changed the colour has closed. The text names the symbol but not the timeframe, so if you run it on two timeframes of one symbol, check which chart fired. The sound is the fixed alert.wav file, and e-mails arrive with the subject 'Deep Trend Curve Alert'.
Will I get alerts for old colour changes when I attach it?
No. On the first calculation the indicator only notes the last closed candle and sends nothing. From then on it checks each newly closed candle once, so you hear only about colour changes that happen while it runs.
How do I get the alerts on my phone?
Switch on the push input. Then copy your MetaQuotes ID from the Messages section of the MetaTrader phone app and paste it in the desktop terminal under Tools, Options, Notifications, with push notifications enabled. The phone app cannot run custom indicators, so the terminal has to keep running with the chart open on your computer or a VPS.
Platforms and markets
Which markets and timeframes does it work on?
Any symbol in your Market Watch and any chart timeframe from M1 to MN1, on MetaTrader 4 and MetaTrader 5. It uses only the chart's own candles and their tick volume, with no other symbol or timeframe requested. It needs about 36 candles of history before it draws.
Why does the line look slightly different at another broker?
Tick volume is each broker's own count of price updates, and the weighting depends on it. Two brokers with slightly different tick counts or candle times produce slightly different lines, and a colour change close to a band can land on a different candle. On the same history the calculation always gives the same result.
Are the MT4 and MT5 builds the same?
Yes. Both have the same eight inputs in the same order, the same calculation, the same colours and the same alert texts. Values can only differ where the two terminals receive different tick volume or history for the same candles.
Can an Expert Advisor or another indicator read it?
Yes, through iCustom with the name 'Deep Trend Curve Indicator' and the eight inputs in order. Buffers 0 and 1 hold the line on bullish and bearish candles, buffers 2 to 5 the bands; the buffer that holds a value on a candle tells you its colour, and the others are empty. Read the last closed candle, shift 1, for a decided colour.
Can I run it on many charts or on a VPS?
Yes. Each chart runs its own copy with its own settings, and it draws no objects, only lines. After the first pass it recalculates just the last two candles on each tick. On a VPS it keeps checking closed candles and sending push or e-mail alerts while your own computer is off.
How it works
Will it place trades for me?
No. Deep Trend Curve Indicator is an indicator: it draws on the chart and can alert you. It never sends an order.
Do I get both MetaTrader 4 and MetaTrader 5?
Yes. The download holds the .ex4 for MetaTrader 4 and the .ex5 for MetaTrader 5.
After you buy
How do I get it after paying?
Digistore24 runs the checkout. Right after payment it takes you to your download page with one zip holding both builds and the PDF guide; the link to that page is also in your Digistore24 order e-mail, so you can download again at any time.
How do I install it?
In MetaTrader: File, Open Data Folder, then MQL4\Indicators (MetaTrader 4) or MQL5\Indicators (MetaTrader 5); copy the matching file there, refresh the Navigator and drag “Deep Trend Curve Indicator” onto a chart. The guide walks through it step by step.
Who is Digistore24?
Digistore24 is the reseller that sells Deep Trend Curve Indicator for Kestutis Balciunas (AlgoFXStore): it runs the checkout, charges your card or PayPal, collects the VAT for your country and delivers the download. Its name is the one on your statement, and its order e-mail holds your download link and the refund link.
What is the refund policy?
A 60-day money-back guarantee, handled by Digistore24. If Deep Trend Curve Indicator is not for you within 60 days of purchase, use the refund link in your Digistore24 order e-mail or Digistore24's order page (digistore24.com/en/cancel-revoke-contract) for a full refund, no questions asked. Digistore24 makes the refund to your original payment method.
Do I get the source code?
No. The download holds the compiled .ex4 and .ex5 files and the PDF guide.
Deep Trend Curve Indicator for MetaTrader 4 and 5.
Put a volume-weighted trend line with volatility bands on your MetaTrader charts and judge its colour changes on the markets you trade. Both builds, the guide and every setting explained. Instant download for €47, one payment.
Get instant access