OPEN-SOURCE SCRIPT
Telah dikemas kini

Momentum Reversal Strategy

309
BEST USE IN 15MIN TIME FRAME EURUSD / XAUSUD
1. Strategy Overview
This strategy hunts short-term momentum reversals at key levels during high-liquidity sessions.

Timeframes: 5-minute for entries; 15-minute for trend context

Sessions: London for EUR/USD & GBP/USD; New York for XAU/USD

Pairs: EUR/USD, GBP/USD, XAU/USD

Indicators (3 max):

EMA(20) and EMA(50) (close)

MACD (12, 26, 9) histogram

Optional: RSI(14) (for divergence filter)

2. Entry Rules
Trend Filter (15 min):

Long only if EMA20 > EMA50; short only if EMA20 < EMA50.

Price-Action Zone (5 min):

Identify recent swing high/low within past 20 bars.

Draw horizontal support (for longs) or resistance (for shorts).

Indicator Alignment (5 min):

MACD histogram crossing from negative to positive for longs, positive to negative for shorts.

Candle close beyond EMA20 in direction of trade.

Candle Confirmation:

Bullish engulfing or hammer at support for longs; bearish engulfing or shooting star at resistance for shorts.

Entry Execution:

Place market order on candle close that meets all above.

3. Exit Rules
Stop-Loss (SL):

Long: 1.5× ATR(14) below entry candle low.

Short: 1.5× ATR(14) above entry candle high.

Take-Profit (TP):

Set at 2× SL distance (RR 1:2).

Trailing SL:

After price moves 1× SL in profit, trail SL to breakeven.

Partial Booking:

Close 50% at 1× SL (50% of TP), move SL to entry.

Close remaining at full TP.

4. Trade Management
False Signal Filter: Skip trades when RSI(14) > 70 for longs or < 30 for shorts (avoids overbought/oversold extremes).

One Trade at a Time: No multiple positions on same pair.

Session Cutoff: Close any open trade 15 minutes before session end.

5. Risk Parameters
Risk per Trade: 1% of account equity.

Reward Target: ≥2% (1:2 RR) per trade.

Win-Rate Expectancy: ≥75% based on indicator confluence and price-action confirmation.
Nota Keluaran
Author: insta: iamchhetry

Take your intraday trading to the next level with the Long Short Automated Trade indicator, a smart, volume-enhanced breakout system designed for automated signal generation on high-probability setups.

⚙️ Key Features
✅ Breakout Confirmation with EMA Trend Filters
Automatically detects high-conviction breakouts above/below Previous Day High/Low, validated by dual EMA trend bias (Fast EMA & Slow EMA).

✅ 15-Minute Swing High/Low Logic
Built-in higher-timeframe swing structure filters (from 15-min chart) ensure entries occur beyond key supply/demand pivots, minimizing false signals.

✅ Volume Spike Filtering
Trade signals are only generated during institutional-grade volume spikes, dynamically measured against a 20-period volume moving average, with customizable spike multiplier.

✅ Risk Management Built-in (TP/SL Calculation)
For every valid entry, precise Take-Profit (TP) and Stop-Loss (SL) levels are projected using ATR-based volatility stops and a customizable Risk:Reward Ratio.

✅ Trade Control: Max 2 Trades/Day
Intelligent session-level control limits trades to 2 strongest setups per day, avoiding overtrading and preserving signal quality.

✅ Visual Clarity on Chart
Clear BUY/SELL labels, entry-level lines, and visually mapped target and stop levels for quick decision-making and backtesting visibility.

✅ Multi-Timeframe Logic
Leverages multi-timeframe data seamlessly using request.security for swing structure and daily breakout levels.

🔍 How It Works
Long Trade: Triggered when:

Price closes above Previous Day High

Breaks above recent 15-min Swing High

Supported by EMA trend alignment (price above EMA20 & EMA50)

Volume shows a significant spike

Short Trade: Triggered when:

Price closes below Previous Day Low

Breaks below recent 15-min Swing Low

EMA alignment confirms bearish trend

High-volume confirmation present

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.