OPEN-SOURCE SCRIPT
Telah dikemas kini

FCPO Session-Based Momentum Scalper with ATR Volatility Filter

1 048
This strategy is a precision intraday momentum scalping system explicitly designed for futures markets with defined trading sessions (such as FCPO), but it can easily be adapted for any session-based asset like indices or commodities. The core philosophy of this script is to avoid low-probability zones and only capitalize on high-conviction momentum thrusts.

Core Logic & Technical Mechanics:

Price Action Momentum: The strategy relies heavily on candlestick anatomy rather than lagging indicators. It calculates the minimum body-to-range ratio and raw body size. An entry is triggered only when a candle closes with a highly dominant body, confirming directional institutional momentum.
ATR Volatility Window: A 14-period Average True Range (ATR) is utilized not for trailing stops, but as a Volatility Filter. The script requires the ATR to be within a specific "Floor" and "Ceiling". This prevents the system from entering trades during dead/flat markets (avoiding theta burn) and extreme whipsaw events.
Macro Context: A standard 200 Simple Moving Average (SMA) is plotted to provide the user with macro-trend context, while the strategy executes on micro-momentum.
Advanced Risk & Session Management:

Precision Time Exclusions: The script features highly customizable time filters. It blocks new entries during mathematically proven volatile periods, such as the final hour of trading on Fridays (profit-taking whipsaws) and the last 30 minutes of the daily session.
Smart EOD Liquidation: To eliminate overnight gap exposure, the strategy includes an automated End-Of-Day (EOD) force-exit mechanism that flattens all active positions 5 minutes before the daily session closes.
Dynamic Circuit Breakers: It includes an advanced money management module that automatically halts trading if a daily maximum trade limit is reached, or if the user hits their monthly profit/loss target threshold.
How to Use:

Designed optimally for the 5-minute and 15-minute timeframes.
Customize your specific market's Morning and Afternoon session hours in the settings.
Adjust the ATR limits depending on your asset's average daily range.
Disclaimer: This script is for educational and backtesting purposes. Past performance is not indicative of future results. Always practice proper risk management.

Tips Tambahan:
Nota Keluaran
ADD TRENDLINE

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.