Browse Indicators
Indicators MT5 Indicators MT4 Indicators ICT Indicators MT5 ICT Indicators MT4 ICT Indicators Add Indicators Download/Add MT5 Indicators Download/Add MT4 Indicators Blog Browse Indicators
Olymptrade – Start with $10. Get up to 100% more.
Product Post

Volatility Oscillator MT4 Indicator

Last Update Nov 4, 2026 3 min read 2,403 views 0 comments Intermediate
Indicator file
Volatility Oscillator
Free licence

Gives each MT4 candle a 0 to 100 value from its size among the 14 most recent bars, with arrows when a quiet squeeze breaks into expansion.

On MetaTrader 4, the Volatility Oscillator gives every candle a value from 0 to 100 that depends on how big it is next to the 14 bars of its lookback. Quiet runs of small candles sink that value into a purple squeeze at 20 or lower, and the first wide candle to break the calm sends it up into amber expansion at 80 or higher.

Volatility Oscillator Specifications

Only candle size feeds the reading. The calculation begins once the chart holds two bars more than the lookback period, and no arrow is printed until its candle has closed.

Specification Detail
Platform MetaTrader 4 (MT4); an MT5 version is available too
Categories Volatility, Oscillators, Breakout
Indicator type Breakout, entry and exit
Skill level Intermediate
Timeframes M15 to M30, H1 to H4
Trading style Intraday, day trading, swing trading
Markets Forex, crypto, stocks, indices, commodities
Display Own window with a line in three colours (values 0 to 100 inside a −8 to 108 range); signal arrows and a three-row panel over the candles
Alerts None
Version 1.0

On XAUUSD M15, the panel peeking out from behind the About tab gives a value of 0.0 in the Squeeze state, as low as the reading can go, and dates the most recent buy arrow to 32 bars earlier.

Volatility Oscillator Signals MT4 About tab, version 1.0
About tab of the MT4 version: indicator name, version 1.0 and the MT Indicator Hub link.

What Is the Volatility Oscillator Indicator?

Every new candle is measured against a lookback group of 14 bars, and the new candle is itself a member of that group. Its place in the group becomes the reading: near 0 when it ranks with the smallest candles, near 100 when it ranks with the biggest. On MT4, the label at the top of the indicator window reads Volatility Oscillator Signals MT4 (14), the number being that lookback.

A pair of dotted slate lines divides the indicator window into three zones. At 80, the Expansion level, and anywhere above it, the line is amber: this candle ranks with the widest in the lookback, so volatility is widening. At 20, the Squeeze level, and anywhere below it, the line is purple, since candles have contracted while the market winds up. Between the two levels, sky blue marks the Normal state.

A dark panel at the top left of the price chart sums all of this up. Its Value row holds the latest reading, its State row tells whether the market is in Squeeze, Normal or Expansion, and its Last Signal row gives the direction of the newest arrow with a count of bars since it appeared, or None before the first one.

Volatility Oscillator MT4 window on XAUUSD M15 with purple squeeze, amber expansion and the info panel
0.0 and Squeeze on the panel: no candle of the last 14 is smaller than the newest.

Buy Signal

Buy arrows belong to bullish volatility breakouts, and every one of them starts with a calm market. At some point in the 10 bars leading up to the signal, the line must have dipped into purple. After that, a large bullish bar drives the reading up past 80, the Expansion level, and the arrow is drawn only once that bar is closed.

A green arrow then points up from under the bar's low, while BUY · 0 bars appears on the panel. Two filters keep arrows apart. Min bars between signals demands a gap of 25 bars or more, and Alternate Buy / Sell, when it is on and both directions are enabled, lets a buy appear only after a sell.

For a long trade, the next bar's open is the first realistic entry, and the stop belongs under the signal bar's low. Profit can be taken at a fixed risk multiple, or the trade can stay open until purple returns to the line, the moment the volatility cycle behind the arrow is over.

Volatility Oscillator MT4 buy arrow after the line leaves the squeeze and crosses 80
6 Oct 09:15 on XAUUSD M15: a purple dip, a cross of 80, then the green arrow.

Sell Signal

A sell arrow needs exactly the same climb through 80. The oscillator registers how big a candle is and nothing about where it went, so the direction comes from the candle itself. When the oversized breakout candle closes bearish, a red arrow pointing down appears above its high, the panel changes to SELL, and a short trade would keep its stop above that high.

Size alone is not enough, and the squeeze check is the reason. With Require squeeze within N bars at 10, the indicator looks back over the bars preceding the expansion candle in search of purple. In a market that was already busy, a wide candle finds none and leaves no arrow; a value of 0 switches the check off.

Volatility Oscillator MT4 sell arrow following a squeeze and a cross of 80
5 Oct 14:30: the bearish candle that crossed 80 after the squeeze got the red arrow.

Indicator Settings

MT4 shows all nine inputs in one list, without the Oscillator, Signals and Display headings of the MT5 version.

Volatility Oscillator MT4 Inputs tab with defaults 14, 80, 20, 25 and 10
The MT4 Inputs tab lists every setting in a single column with its default.

Of the nine, only Range lookback period changes the line itself. The two levels choose where its colour switches and where the dotted Expansion and Squeeze lines are drawn, and the next five inputs decide which arrows make it onto the chart.

Input Default Effect
Range lookback period 14 Size of the group each new candle is ranked in; never fewer than 2
Expansion level (0-100) 80 Height an upward cross has to reach for an arrow; held between 1 and 100
Squeeze level (0-100) 20 Upper edge of the squeeze zone; always kept one point or more below the Expansion level
Show Buy signals true Turns green upward arrows on or off
Show Sell signals true Turns red downward arrows on or off
Alternate Buy / Sell true With both directions on, each arrow must point the other way from the one before
Min bars between signals 25 Fewest bars allowed between two arrows
Require squeeze within N bars (0 = off) 10 How far back the search for purple goes, in bars
Show info panel true Puts the info panel (Value, State, Last Signal) on the chart or removes it

Conclusion

Scoring candle size instead of price leaves this oscillator with one clear job: spotting the moment a calm market suddenly opens up, then letting the close of that bar choose the side.

Its limits come from the same design. Whatever happens between two candles, such as a weekend gap, is ignored by the size measure, and since one candle picks the side, a choppy market that swaps between bullish and bearish expansion bars can fool it. The arrow filters remember earlier arrows, so charts holding different amounts of history may disagree on a few signals. Alerts are not included, and the fixed panel at the upper left can sit over part of the price.

Your rating

Rate this indicator

How useful was this indicator? Click a star.

FAQ

Frequently asked questions

Sky blue is the calm middle ground between 20 and 80. Amber shows up at 80 or above, when the candle ranks among the widest of the 14 most recent bars, and purple at 20 or below, when candles have shrunk into a squeeze.

A wide candle earns an arrow only if purple appeared on the line during the 10 bars before it and 25 or more bars have passed since the last arrow; with alternation on, it must also point the other way. Big candles in an already lively market, or too close to an earlier signal, stay unmarked.

No. Big bullish and big bearish candles lift the line in the same way. The direction is added over the candles, where the arrow follows the close of the breakout candle: up for a bullish close, down for a bearish one.

It shows the side of the latest arrow and how many bars have closed since it was drawn, for example BUY · 2 bars. Until the first arrow appears on the chart, it reads None.

Discussion

Comments

Be the first to comment.

New releases

New MetaTrader 4&5 indicators

View all indicators
01 MT4 Beginner

Trend Continuation Oscillator MT4 Indicator

MT4 oscillator with Bull and Bear Continuation values; a Buy or Sell arrow marks the bar where either one turns positive.

2,908 views 11 downloads
02 MT4 Advanced

ICT Killzones MT4 Indicator

Marks the Asian, London, New York AM and New York PM killzones on MT4 as coloured boxes, with green high and red low lines to each session's end.

2,168 views 13 downloads
ICT Free
03 MT5 Advanced

ICT Killzones MT5 Indicator

Draws the Asian, London, New York AM and New York PM killzones of each day on MT5, with every box's high and low carried on as green and red lines.

2,971 views 14 downloads
ICT Free
04 MT4 Intermediate

RSI Color Candles MT4 Indicator

Paints each MT4 bar in one of four RSI(14) zones and marks with an arrow the bar where RSI first closes over 60 (Buy) or under 40 (Sell).

2,830 views 10 downloads
Useful trading articles

Build a sharper trading framework.

View all articles

Study market structure, liquidity, imbalance, and execution without scattered notes.

01 Beginner

How to Install an Indicator in MetaTrader 4

Install a custom .ex4 indicator in MetaTrader 4: download it, put it in MQL4 Indicators, refresh the Navigator and attach it to a chart.

2 min read
02 Beginner

How to Install an Indicator in MetaTrader 5

Add a custom .ex5 indicator to MetaTrader 5: copy it to MQL5 Indicators, reload the Navigator and attach it, plus fixes when it does not show up.

2 min read