Skip to content
Wildflower
Join waitlist

The volume flow indicator (VFI) in Studio

Katsanos' volume flow indicator: volume on the bigger up moves against volume on the bigger down moves, with a signal line.

Updated 29 November 2026 · 3 minute read

The volume flow indicator, from Markos Katsanos, adds up the volume of candles where price made a real move up, takes away the volume where it made a real move down, and compares that with the average volume. Use it in the Indicator condition block, as an Indicator signal and in the condition exit, the same way in Backtest and the Bot. Your indicator draws it on TradingView, NinjaTrader, MetaTrader 5 and Quantower. cTrader gives indicators tick volume only, so it can't be drawn there.

How each candle counts

  • The candle's average price is its high, low and close added and divided by 3.
  • A move counts only when that average price moved more than a cutoff since the candle before. The cutoff is your share, times how much the average price has been moving (the standard deviation of the log of each move, over the candles you choose), times the close. A share of 0 counts every move.
  • A counted move up adds the candle's volume. A counted move down takes it away. Anything smaller adds 0.
  • No candle counts for more than a number of times the average volume of the candles before it. You choose the number, so one huge candle cannot swamp the line.

The two lines

  • The volume flow line. The counts of your last candles added up and divided by their average volume. Above 0, more volume came on the up moves.
  • The signal line. An exponential average of the volume flow line, over the candles you choose.

A row reads one of the two lines. It asks above or below a level you type, crossing it, and the line rising, falling or turning. In the Bot and Backtest it can also ask whether the volume flow line crosses its signal line.

This version

The steps are the ones TradingView's widely used version of Katsanos' indicator follows. Wildflower's standard deviation is the population one, and the signal line is an exponential average. A candle whose volume is unknown starts the line again.

When it has a value

It needs the longer of your two lengths, plus your length, plus the signal line's candles less one. A condition exit reads the last 512 candles, so Studio refuses an exit row that needs more. A row that needs more candles than your warmup holds is refused when you put the strategy on an account.

Every number is yours

The row asks for its length, the cutoff share, how many candles the price's moves are measured over, the cap on a candle's volume, the signal line's length and which line it reads. Nothing has a default.

What's next

The other volume indicators.