Free Indicators

PTZ Volatility Adjusted Mean

Published Oct 26, 2026, 10:26 PM ET

๐Ÿ“ˆ
NinjaTrader 8 ยท Free Indicator

PTZ Volatility Adjusted Mean

PTZ  Volatility Adjusted Mean
Exclusive dealE8 Marketsup to 50% OFF

An adaptive, volatility-aware trend line for NinjaTrader 8. It colors your candles by trend and prints clean BUY / SELL signals on bar close, filtered by ADX, RSI and slope strength, with ATR-based take-profit markers and a live dashboard.

NinjaTrader 8 port by PropTraderz of Uptrick’s Volatility Adjusted Mean (originally for TradingView), with the Buy/Sell logic prioritized. Licensed CC BY-SA 4.0.

Create a free account or login to unlock this download.


Create Free Account

How It Works

The core is an adaptive center line (KAMA-style). It measures how efficiently price is moving: in a clean trend the line speeds up and follows price closely, in chop it slows down and stays flat. That keeps it out of the noise without lagging badly in real moves. A signal only fires when price breaks away from the center by a volatility (ATR) buffer and several filters agree.

โ–ฒ BUY signal

Trend was bearish, close is more than 0.5 ATR above a rising center, ADX โ‰ฅ 20 with +DI over โˆ’DI, RSI above 52, and the center has climbed at least 0.12 ATR. Must hold for 2 bars in a row.

โ–ผ SELL signal

Trend was bullish, close is more than 0.5 ATR below a falling center, ADX โ‰ฅ 20 with โˆ’DI over +DI, RSI below 48, and the center has dropped at least 0.12 ATR. Must hold for 2 bars in a row.

Signals alternate (a BUY flips the trend to bullish, the next signal can only be a SELL) and there is a 6-bar cooldown between them. Everything is calculated on bar close, so signals do not repaint.

Features

โœ“Adaptive trend line โ€” fast in clean trends, flat in chop, colored turquoise (bullish) or violet (bearish)
โœ“Trend candles โ€” bars and outlines take the trend color so you read direction at a glance
โœ“Filtered BUY / SELL signals โ€” ADX/DMI trend strength, RSI momentum, minimum slope and consecutive-bar confirmation, each one can be switched on or off
โœ“Optional higher-timeframe filter โ€” only take signals in the direction of a higher-timeframe EMA (default 240-min, EMA 50)
โœ“ATR take-profit markers โ€” T1, T2 and T3 are marked on the chart when price reaches 1.0, 2.0 and 3.25 ATR from the signal close
โœ“Alerts and dashboard โ€” sound alert on every signal, plus a top-right panel with direction, center price, slope, ADX, RSI and take-profit status
โœ“Works on any instrument and timeframe โ€” NQ, ES, MNQ, MES, CL, GC, stocks, forex

Settings

Parameter Default Description
Vector Engine
Center Responsiveness 18 Bars used to measure trend efficiency
Fast / Slow Response 4 / 30 Fastest and slowest speed of the adaptive line
Center Smoothing 5 Extra smoothing applied to the center line
ATR Length 14 ATR period used for buffers and targets
Switch Buffer ATR 0.50 How far price must close beyond the center (in ATR)
Slope Lookback 3 Bars used to judge if the center is rising or falling
Noise Filters
Trend Strength ADX On ยท 14 ยท min 20 Requires a trending market and DMI agreement
Momentum Confirmation RSI On ยท 14 ยท 52 / 48 BUY needs RSI above 52, SELL needs RSI below 48
Minimum Center Slope On ยท 0.12 ATR Center must move at least this much over the slope lookback
Consecutive Confirmations 2 Bars in a row the conditions must hold
Bars Between Signals 6 Cooldown after each signal
Higher Timeframe Alignment Off ยท 240 min ยท EMA 50 Only signals in the direction of the higher-timeframe EMA
Take Profits & Display
TP1 / TP2 / TP3 Distance 1.0 / 2.0 / 3.25 ATR Distance of each target from the signal close
Show Buy/Sell ยท TP X ยท Center On Toggle signal labels, target markers and the center line
Trend Candles ยท Dashboard On Color candles by trend, show the info panel
Bull / Bear Color Turquoise / Dark Violet Trend colors for the line, candles and labels

How to Install

  1. Download the zip file. Do not unzip it.
  2. In NinjaTrader 8 go to Tools โ†’ Import โ†’ NinjaScript Add-On and select the zip.
  3. Open a chart, right-click โ†’ Indicators, and find it under PropTraderz โ†’ PTZVolatilityAdjustedMean.

Tip: on fast charts (1โ€“5 min) try turning on Higher Timeframe Alignment to cut counter-trend signals.

Credits & License

Based on Volatility Adjusted Mean by Uptrick, originally published for TradingView. Converted to NinjaTrader 8 by PropTraderz, with the Buy/Sell logic prioritized.

This adaptation is shared under the same license as the original, Creative Commons BY-SA 4.0: you are free to use and modify it, as long as you credit the original author and share your changes under the same license.

For educational purposes only. Not financial advice. Past signals do not guarantee future results โ€” always test on sim first and manage your risk.

Questions? Join the community or ask on the forum.

Get help with the settings, share your setups and connect with other futures traders.

PropTraderz
About the author
Monica ยท Founder of PropTraderz

I mainly trade NQ futures, mostly micros, on prop firm accounts. I actually started with options, and I still trade some stocks and options on the side. PropTraderz started as my own notes on my prop firm journey and the rules I had to learn, and grew into free tools, indicators and guides for other traders. I was helped a lot when I started, so this is my way of giving back. If something here helps you, pass it on and help the next trader too.

Ask me in the forum โ†’