PROTECTED SOURCE SCRIPT

Nick2k Trend Tracker MT bot

46
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:
  • 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)

  1. Trend Engine: SMA slope normalized by a rolling percentile; flips with hysteresis at +0.1/–0.1.
  2. Filters: optional checks for slope strength, ADX, narrow range ratio, ATR squeeze, higher-timeframe slope.
  3. Sessions: entry/management can be gated to London, NY, Tokyo, Sydney sessions and weekdays.
  4. 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)

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.