OPEN-SOURCE SCRIPT

4EMA_3826_Manh Luan_VN

79
✅ Giữ nguyên logic hiện tại: Khi có tín hiệu BUY hoặc SELL, prevTrend sẽ cập nhật thành 1 hoặc -1.
✅ Reset prevTrend về 0 khi EMA không theo thứ tự: Nếu emaBuy == false và emaSell == false, nghĩa là các đường EMA không thỏa mãn điều kiện sắp xếp theo trend, prevTrend sẽ trở về 0.
✅ Giữ tính năng hiển thị tín hiệu BUY/SELL đúng với thay đổi của trend.

Giờ bạn có thể thử lại trên TradingView! 🚀

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.