OPEN-SOURCE SCRIPT
MACD + Supertrend + DEMA Strategy

STRATEGY 📊 STRATEGY LOGIC:
Long Entry: When ALL of these occur simultaneously:
MACD histogram crosses above 0
Supertrend is bullish (green)
Short DEMA > Long DEMA
Short Entry: When ALL of these occur simultaneously:
MACD histogram crosses below 0
Supertrend is bearish (red)
Short DEMA < Long DEMA
Exits: Based on your TP/SL percentages from entry price
This follows the same clean structure as your MACD strategy but adds the alignment concept and proper risk management!
Long Entry: When ALL of these occur simultaneously:
MACD histogram crosses above 0
Supertrend is bullish (green)
Short DEMA > Long DEMA
Short Entry: When ALL of these occur simultaneously:
MACD histogram crosses below 0
Supertrend is bearish (red)
Short DEMA < Long DEMA
Exits: Based on your TP/SL percentages from entry price
This follows the same clean structure as your MACD strategy but adds the alignment concept and proper risk management!
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.