Description
Volume SuperTrend AI builds its Supertrend around a volume-weighted moving average instead of the usual median price. The bands sit 3 ATRs either side of a 10-bar VWMA and tighten the way a standard Supertrend does, and the active band becomes the trailing line. Bars with more volume behind them pull the centre of the channel harder than thin drifts do.
The line is coloured by a KNN-style trend label carried over from the original script. In practice, with the default settings, the label is bullish only when a 2-period WMA of price has stayed above a 100-period WMA of the Supertrend line for the last 3 bars (the k input), and bearish otherwise. Treat it as a smoothed trend filter rather than a trained prediction model: it is simple, it is consistent, and it does not change its mind on a single bar.
Signals need both pieces to agree. An up arrow prints when the Supertrend flips bullish while the label is bullish, a down arrow when it flips bearish under a bearish label, and a small marker shows where the label itself changes. Flips the label disagrees with are skipped, which cuts out some of the whipsaw flips a plain Supertrend gives in a range. Inputs cover k, the neighbour window, both WMA lengths, the ATR and VWMA length, the band factor, an AI-signals switch, arrow width and colours.
Volume is read as tick volume. On Deriv synthetic indices tick volume is close to constant, so there the VWMA behaves much like a simple average and the indicator works as a regular Supertrend with the trend filter on top. Signals are also calculated on the forming candle, so treat an arrow as final once its candle closes.
This is an MT5 conversion of a Lua port of Volume SuperTrend AI by Zeiierman on TradingView, whose original is published under CC BY-NC-SA 4.0, and it is offered free. Works well alongside SSL Reversal & Breakout Matrix, which adds RSI, ADX and a 0-100 score to a channel flip. Free MT5 (.mq5) source included. Educational tool, not financial advice.



Reviews
There are no reviews yet.