PROTECTED SOURCE SCRIPT
Nick2k Trend Tracker MT bot

Nick2k Trend Tracker MT bot
Type: Indicator (signals + PineConnector alerts for EAs)
Markets: Designed for XAUUSD (gold), adaptable to other symbols
Timeframes: Optimized for M5/M15
---
What it does
Nick2k Trend Tracker MT bot identifies trend flips using a percentile-normalized SMA slope with hysteresis, then applies a multi-layer filter suite to avoid false signals in low-quality conditions.
It can optionally auto-manage trades via PineConnector:
The indicator also:
---
Core logic (simplified)
---
Visuals
---
Alerts & PineConnector integration
Alerts are formatted in PineConnector EA syntax for compatibility with MetaTrader auto-trading.
---
Inputs (organized by group)
---
Why this script is unique (and closed-source)
This is not a simple moving-average crossover. It combines several custom-built methods that are rarely seen in public scripts:
This represents a full trading framework designed for semi-automated gold scalping, not just a “signal indicator.”
The source is protected to prevent clones and preserve development effort invested in unique logic and PineConnector integration.
---
Recommended starting settings (XAUUSD M5/M15)
---
Limitations & disclaimer
---
Changelog
Type: Indicator (signals + PineConnector alerts for EAs)
Markets: Designed for XAUUSD (gold), adaptable to other symbols
Timeframes: Optimized for M5/M15
---
What it does
Nick2k Trend Tracker MT bot identifies trend flips using a percentile-normalized SMA slope with hysteresis, then applies a multi-layer filter suite to avoid false signals in low-quality conditions.
It can optionally auto-manage trades via PineConnector:
- Send open orders with SL/TP (ATR- or pip-based)
- Breakeven activation
- Dual trailing stops (pip-based or ATR-based)
- Staged partial closes (up to 3 levels)
The indicator also:
- Highlights chop zones in the background
- Provides diagnostic labels showing which filters passed/failed
- Lets you disable all alerts with one checkbox (visual testing mode)
---
Core logic (simplified)
- Trend Engine: SMA slope normalized by a rolling percentile; flips with hysteresis at +0.1/–0.1.
- Filters: optional checks for slope strength, ADX, narrow range ratio, ATR squeeze, higher-timeframe slope.
- Sessions: entry/management can be gated to London, NY, Tokyo, Sydney sessions and weekdays.
- Chop highlight: background shading when ranges/low-volatility are detected for consecutive bars.
---
Visuals
- Colored SMA line (gradient by slope)
- BUY/SELL labels at valid flip bars
- Chop background (yellow overlay)
- Filter score/diagnostic label (optional)
---
Alerts & PineConnector integration
- Open orders: sent at valid BUY/SELL flips with embedded SL/TP + BE/trailing if enabled
- Partial closes: 3 configurable milestones (ATR or pip based, % or fixed lots)
- Master toggle: switch all alerts ON/OFF instantly
Alerts are formatted in PineConnector EA syntax for compatibility with MetaTrader auto-trading.
---
Inputs (organized by group)
- SMA & Theme (length, colors)
- Auto Trading (license, symbol, lots, master toggle)
- SL/TP Target Type (prices vs pips)
- ATR SL/TP (length, multipliers, rounding)
- Breakeven (trigger/offset)
- Pip Trailing (trigger/dist/step)
- ATR Trailing (TF, period, multiplier, trigger)
- Partial Closes (mode, lots or %)
- Time Filters (sessions, weekdays)
- Filters (Slope, ADX, NRR, ATR squeeze, HTF confirm)
- Chop Zone Highlight (on/off, hold bars, color)
---
Why this script is unique (and closed-source)
This is not a simple moving-average crossover. It combines several custom-built methods that are rarely seen in public scripts:
- Normalized SMA slope with hysteresis: avoids whipsaws, adapts to volatility regimes.
- Multi-filter confirmation: ADX, NRR, ATR squeeze, HTF slope — stacked to improve quality.
- Chop detection with persistence: custom counter/hold logic to highlight ranging markets.
- Integrated trade management: PineConnector-ready messages with SL/TP, breakeven, dual trailing stops, staged partial closes.
- EA-compatible syntax: formatted exactly for PineConnector EAs, including safety toggles.
This represents a full trading framework designed for semi-automated gold scalping, not just a “signal indicator.”
The source is protected to prevent clones and preserve development effort invested in unique logic and PineConnector integration.
---
Recommended starting settings (XAUUSD M5/M15)
- Pip size: 0.10
- Slope threshold: 0.20 (M5), 0.16–0.20 (M15)
- ADX min: 18–22
- NRR floor: 2.0–2.4
- ATR ratio: 0.65–0.75
- ATR SL/TP: SL = 1.5×ATR, TP = 2.5×ATR
- Sessions: London & NY
---
Limitations & disclaimer
- Not financial advice. Test on demo before live trading.
- Performance depends on broker symbols, spread, and volatility regime.
- Auto-trading requires PineConnector EA set up correctly.
---
Changelog
- v1.0 – Initial release (trend engine, filters, sessions, chop highlight, PineConnector alerts, BE/trailing, partial closes, diagnostics)
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.