OPEN-SOURCE SCRIPT
ETH Short-Term VWAP+EMA/RSI (ATR Risk, <1h) (James Logan)

ETH Short-Term VWAP + EMA / RSI Strategy (ATR-based Risk Control)
A short-term (< 1 hour) ETH trading system designed for intraday scalps and momentum swings on 5- to 15-minute charts.
It blends trend confirmation (EMA 50 / 200) with intrabar structure (EMA 21 pullback & VWAP filter) and RSI momentum triggers, managing exits dynamically through ATR-based stop, take-profit, and trailing stop targets.
Core logic
• Long when RSI crosses above the threshold within an up-trend (EMA 50 > EMA 200) and price is above VWAP.
• Short when RSI crosses below threshold within a down-trend (EMA 50 < EMA 200) and price is below VWAP.
• Optional pullback confirmation to the 21-EMA for cleaner entries.
• Risk defined by ATR-multiples for stop-loss, take-profit, and an adaptive trailing stop.
• Automatic flat-out exit after a set number of bars (time-based close).
Best use
• 5 min – 15 min ETH/USDT charts (Binance, Bybit, Coinbase, etc.)
• Works with both spot and perpetual data.
• Tune ATR and RSI thresholds per venue; defaults are balanced for 0.05 % per-side fees.
Key parameters
• ATR SL × 1.6 ATR TP × 2.2 ATR Trail × 2.0
• RSI 50 cross | EMA 50/200 trend filter | VWAP confirmation
• Default position sizing = USD-based (e.g. $1 000 per trade).
Notes
• All orders and exits are simulated at bar close; use 1-minute bar magnifier for finer fill modeling.
• No repainting—uses only confirmed bar data.
• Best validated with ≥ 200 trades and profit factor > 1.25 over multi-month backtests.
A short-term (< 1 hour) ETH trading system designed for intraday scalps and momentum swings on 5- to 15-minute charts.
It blends trend confirmation (EMA 50 / 200) with intrabar structure (EMA 21 pullback & VWAP filter) and RSI momentum triggers, managing exits dynamically through ATR-based stop, take-profit, and trailing stop targets.
Core logic
• Long when RSI crosses above the threshold within an up-trend (EMA 50 > EMA 200) and price is above VWAP.
• Short when RSI crosses below threshold within a down-trend (EMA 50 < EMA 200) and price is below VWAP.
• Optional pullback confirmation to the 21-EMA for cleaner entries.
• Risk defined by ATR-multiples for stop-loss, take-profit, and an adaptive trailing stop.
• Automatic flat-out exit after a set number of bars (time-based close).
Best use
• 5 min – 15 min ETH/USDT charts (Binance, Bybit, Coinbase, etc.)
• Works with both spot and perpetual data.
• Tune ATR and RSI thresholds per venue; defaults are balanced for 0.05 % per-side fees.
Key parameters
• ATR SL × 1.6 ATR TP × 2.2 ATR Trail × 2.0
• RSI 50 cross | EMA 50/200 trend filter | VWAP confirmation
• Default position sizing = USD-based (e.g. $1 000 per trade).
Notes
• All orders and exits are simulated at bar close; use 1-minute bar magnifier for finer fill modeling.
• No repainting—uses only confirmed bar data.
• Best validated with ≥ 200 trades and profit factor > 1.25 over multi-month backtests.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.