OPEN-SOURCE SCRIPT
Price Action Trader

Overview
The 20 EMA Scalper is a precision-oriented scalping strategy built for high-frequency intraday traders operating on 1, 3, and 5-minute charts. It combines short-term trend detection using a fast Exponential Moving Average (EMA) with price-action-based entry triggers and ATR-calculated exit logic. Designed to help traders capture quick momentum bursts, the strategy emphasizes strict trade management through fixed 1:2 risk/reward ratios and optional VWAP filtering.
Key Features
Note:
This strategy is built for long and short momentum trades. It is not recommended for use during low-volume or sideways sessions.
The 20 EMA Scalper is a precision-oriented scalping strategy built for high-frequency intraday traders operating on 1, 3, and 5-minute charts. It combines short-term trend detection using a fast Exponential Moving Average (EMA) with price-action-based entry triggers and ATR-calculated exit logic. Designed to help traders capture quick momentum bursts, the strategy emphasizes strict trade management through fixed 1:2 risk/reward ratios and optional VWAP filtering.
Key Features
- Scalping-Focused Timeframes:
Optimized for 1-minute, 3-minute, and 5-minute charts. Ideal for prop firm challenges, momentum scalping, or high-frequency trading. - EMA Trend Confirmation:
Trades are only taken in the direction of a fast EMA (default: 13-period) plus momentum bias using price vs. previous close. - Price Action Entry Triggers:
Second-entry-style logic using pivot highs/lows and signal bar strength (body direction, breakout, volume increase). - ATR-Based Risk/Reward Logic:
Exit logic uses ATR-based stop-loss and 1:2 risk/reward take-profit targets for clear, consistent trade management. - Optional VWAP Filtering:
VWAP can be toggled to filter trades that occur far from mean-reversion levels.
Note:
This strategy is built for long and short momentum trades. It is not recommended for use during low-volume or sideways sessions.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.