OPEN-SOURCE SCRIPT
Cruzamento Mágico-EMA 5/21 + Stop ATR + Filtro BTC 30m

Of course, here is a brief description of the strategy in English.
**Triple Confirmation Swing Trading Strategy**
This strategy aims to capture trend-based movements in crypto assets by using a triple confirmation system to filter entry signals and increase the probability of success.
The conditions for a trade are:
1. **Entry Trigger (Timing):** The primary signal occurs when the 5-period Exponential Moving Average (EMA) crosses the 21-period EMA. A cross above suggests a buy, while a cross below suggests a sell.
2. **Asset Trend Filter:** An entry is only considered if the asset's own trend, as measured by the **ATR Stop** indicator, is moving in the same direction as the EMA crossover. This avoids entering trades against the local trend.
3. **Market Trend Filter (Bitcoin):** As a final confirmation, the strategy checks the trend of **Bitcoin (BTC) on a fixed 30-minute timeframe**, also using the ATR Stop. A trade is only executed if the BTC trend aligns with the asset's signal.
In short, the strategy only opens a **long** position if the EMAs cross up, the asset's ATR Stop is bullish, and the Bitcoin's ATR Stop is also bullish. The reverse applies for a **short** position.
**Triple Confirmation Swing Trading Strategy**
This strategy aims to capture trend-based movements in crypto assets by using a triple confirmation system to filter entry signals and increase the probability of success.
The conditions for a trade are:
1. **Entry Trigger (Timing):** The primary signal occurs when the 5-period Exponential Moving Average (EMA) crosses the 21-period EMA. A cross above suggests a buy, while a cross below suggests a sell.
2. **Asset Trend Filter:** An entry is only considered if the asset's own trend, as measured by the **ATR Stop** indicator, is moving in the same direction as the EMA crossover. This avoids entering trades against the local trend.
3. **Market Trend Filter (Bitcoin):** As a final confirmation, the strategy checks the trend of **Bitcoin (BTC) on a fixed 30-minute timeframe**, also using the ATR Stop. A trade is only executed if the BTC trend aligns with the asset's signal.
In short, the strategy only opens a **long** position if the EMAs cross up, the asset's ATR Stop is bullish, and the Bitcoin's ATR Stop is also bullish. The reverse applies for a **short** position.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.