OPEN-SOURCE SCRIPT
Marin Andrei - EMA 20-30 Price Alerts • Regime + Session Filter

A clean and reliable trend-following alert system based on the 20 EMA and 30 EMA crossover zone, enhanced with multiple smart filters to eliminate noise and false signals. - configurable.
Core features:
✅ Trend confirmation: Buy only when price is above both EMAs; sell only when below.
📈 Slope & momentum filters: Optional slope and ATR-based spread validation.
🕒 Regime filter: Trade only in the direction of the higher-timeframe EMA trend (e.g., 200 EMA).
⏰ Session control: Limit signals to your preferred trading hours.
🔔 Built-in alerts: Instant notifications for clean buy/sell conditions.
Perfect for traders who want EMA-based precision entries with smarter filters for volatility, session timing, and overall market regime.
Core features:
✅ Trend confirmation: Buy only when price is above both EMAs; sell only when below.
📈 Slope & momentum filters: Optional slope and ATR-based spread validation.
🕒 Regime filter: Trade only in the direction of the higher-timeframe EMA trend (e.g., 200 EMA).
⏰ Session control: Limit signals to your preferred trading hours.
🔔 Built-in alerts: Instant notifications for clean buy/sell conditions.
Perfect for traders who want EMA-based precision entries with smarter filters for volatility, session timing, and overall market regime.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.