OPEN-SOURCE SCRIPT
업데이트됨 FCPO Session-Based Momentum Scalper with ATR Volatility Filter

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:
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:
릴리즈 노트
ADD TRENDLINE오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.