OPEN-SOURCE SCRIPT

Adaptive Momentum Scalper (AMS) - ADX/RSI Filters Fixed

231
### 📘 Strategy Description: **Adaptive Momentum Scalper (AMS) – Prop Firm Edition**

The **Adaptive Momentum Scalper (AMS)** is a breakout-based trend-following strategy designed with **prop firm trading rules and risk management** in mind. It combines volatility, momentum, and trend filters with dynamic sizing to manage risk across changing market conditions.

#### ✅ Core Features:

* **Breakout Logic**: Enters long or short when price breaks above/below a short-term range.
* **Momentum Filter**: Confirms breakouts with ATR-based price momentum.
* **Trend Filter**: Uses EMA(20) to ensure directional bias.
* **Volatility Filter**: Requires ATR > ATR average to avoid choppy zones.
* **ADX Filter (Optional)**: Confirms strength of trend (default ADX > 20).
* **RSI Zone Filter (Optional)**: Limits long trades to RSI > 50, shorts to RSI < 50.
* **Dynamic Position Sizing**: Risk-based lot sizing tied to ATR and account equity.
* **Hard SL/TP or Time-Based Exit**: Trades close by target, stop, or max bars in trade.
* **Session Filtering**: Trade only within configured hours (to avoid high spread periods).
* **Prop Firm Safety-Oriented**: Configurable to stay within max drawdown rules.

---

### ⚙️ Settings:

* **Risk per Trade** (% of equity)
* **ATR multipliers** for stop loss and take profit
* **Trading hours** (e.g. 1 AM to 10 PM EST)
* **Max bars in trade before exit**
* **Enable/disable**:

* ADX filter
* RSI filter

---

### 🎯 Ideal Use:

* Scalping on **Gold (XAUUSD)** or other volatile assets.
* Forward testing under prop firm conditions (3% daily / 6% max drawdown).
* Identifying breakout opportunities with strong trend and momentum backing.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.