
Version: V1.0
License: Mozilla Public License 2.0
Author: © MomentumQ
MomentumQ Sniper integrates multiple quantitative and technical modules into one visual framework.
It’s designed for professional and discretionary traders who want a complete bias and structure map directly on their chart.
Choose between Dark Mode or Light Mode to match your TradingView background.
All text, labels, and signal colors adjust automatically for clarity.
This module measures how far price is from its Simple Moving Average (SMA) over a defined period (default = 50 bars) and normalizes that distance to identify potential momentum rotations.
These labels can be toggled with “Show MA Signals.”
They act as contextual momentum markers — not guaranteed entry/exit signals.
Inspired by quantitative exhaustion logic, this module counts sequences of directional closes.
When such a streak completes, the bar is highlighted.
Custom background colors (bullish / bearish) are user-defined.
This helps you instantly spot exhaustion clusters that may precede reversals.
The core of Sniper.
It applies a Nadaraya-Watson kernel regression to smooth price and draws adaptive envelopes based on volatility.
The smoothing reacts to volatility using ATR or Standard Deviation.
When volatility rises, the bandwidth expands; when it contracts, smoothing tightens.
You can control:
You can compute the entire NW model using a higher timeframe source (e.g., 4H data on a 15m chart).
This produces a higher-level directional channel useful for lower-timeframe execution.
A small table (top-right corner) displays:
When “Show Signals” is enabled, Sniper can mark events derived from the NW envelopes.
Two built-in alert conditions:
You can attach TradingView alerts to receive notifications in real time.
A flexible framework of multiple MAs (5 → 325 periods) with individual visibility and type selection.
For each period you can choose:
Common use cases:
This helps visualize structural alignment (bullish stack vs bearish stack) at a glance.
The Ordinary Least Squares (OLS) Regression module fits a linear trend line over a selected number of bars (default 15).
Purpose:
An optional overlay for traditional 20-period SMA ± 2 standard deviations.When enabled:
This is a familiar complement to the adaptive NW model — allowing comparison between static and adaptive volatility zones.
Built-in alert conditions:
These alerts are optional and purely informational.
Important Notice
The MomentumQ Sniper indicator and this documentation are provided for educational and informational purposes only.
They do not constitute financial advice, investment recommendations, or an offer to buy or sell any financial instrument.Trading involves substantial risk. Past performance is not indicative of future results.
Users are solely responsible for their own decisions and should consult a licensed financial advisor before acting on any analysis.The MomentumQ Sniper script is licensed under the Mozilla Public License 2.0.
Redistribution or modification must comply with that license.© MomentumQ. All rights reserved.