OPEN-SOURCE SCRIPT
HTF MACD Dual Zero Cross + First EMA Pullback

This script aims to get the trader on the right side of the momentum and get better entries by only alerting when price pulls back to the trader's specified EMA.
This script isnt meant to catch tops or bottoms but to trade with the momentum once it starts.
This script will alert whe nthe MACD and signal line both cross the zero line, after that the script waits for price to make a pullback and then alet either a sell or buy. Ive found this works best when you trade with the trend on a higher timeframe.
You can use whatever MACD settings you prefer and really customize this to the asset youre trading.
You can also change whether you get an alert based on a wick touch of the EMA or a candle close.

This script isnt meant to catch tops or bottoms but to trade with the momentum once it starts.
This script will alert whe nthe MACD and signal line both cross the zero line, after that the script waits for price to make a pullback and then alet either a sell or buy. Ive found this works best when you trade with the trend on a higher timeframe.
You can use whatever MACD settings you prefer and really customize this to the asset youre trading.
You can also change whether you get an alert based on a wick touch of the EMA or a candle close.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.