OPEN-SOURCE SCRIPT

MA8 Entry + Opposite Candle Exit

5 777
Condition Action
Cross above MA → full candle above → Buy entry ✅
Cross below MA → full candle below → Sell entry ✅
In a Buy trade, and:
• A red engulfing candle appears, or
• Price closes below MA ❌ Exit Buy
In a Sell trade, and:
• A green engulfing candle appears, or
• Price closes above MA ❌ Exit Sell

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.