EMA Cross + MACD Confluence (with Session-Start Entry) — Strategy by Dreeco7
By Dreeco7
Performance Metrics
- Author: Dreeco7
- Symbol: CME_MINI:MNQ1!
- Timeframe: 10 seconds
- Net P&L: +3,820.00 USD (+0.38%)
- Win Rate: 23.3%
- Profit Factor: 2.297
- Max Drawdown: 2,585.00 USD (0.26%)
- Total Trades: 30
- Sharpe Ratio: 0.697
Description
EMA Cross + MACD Confluence Strategy (with Session-Start Entry)Idea originally from kirilovDescription:This strategy blends a classic Exponential Moving Average (EMA) crossover systemwith MACD histogram confirmation, all within your custom trading window. On each bar: • Calculates two user-defined EMAs (Fast and Slow). • Computes the MACD line, signal line, and histogram using customizable lengths. • Only takes new trades during your chosen session hours and date range. • Enters on a fresh crossover (or crossunder), OR immediately at session start if the crossover condition is already true. • Applies MACD confluence: long entries only when the MACD histogram is positive; short entries only when it’s negative. • Exits positions when the opposite EMA-cross signal fires or when the session closes.Key Features: • 100% user-defined parameters: EMAs, MACD lengths, session times, date range, and long/short or both directions. • Session-aware “catch-up” entry—never miss a trend that started before the market open. • Lightweight and transparent: only standard Pine v6 functions, no external libraries.Disclaimer:This script is provided for educational and illustrative purposes only.It is NOT financial advice, a recommendation to buy or sell, or a substitute for yourown due diligence. Past performance is no guarantee of future results. Trade at yourown risk.