OPEN-SOURCE SCRIPT
8/21 EMA Cross with 50 SMA Filter

Key Features:
8/21 EMA Crossover: Detects when the 8 EMA crosses above/below the 21 EMA
50 SMA Filter: Only shows signals when:
Bullish cross occurs AND price is above 50 SMA
Bearish cross occurs AND price is below 50 SMA
Visual Signals: Green "BUY" labels for filtered bullish crosses, red "SELL" labels for filtered bearish crosses
Comparison: Small gray triangles show unfiltered crosses that were rejected by the 50 SMA filter
Trend Background: Light green when above 50 SMA, light red when below
Alerts: Built-in alert conditions for both filtered signals
8/21 EMA Crossover: Detects when the 8 EMA crosses above/below the 21 EMA
50 SMA Filter: Only shows signals when:
Bullish cross occurs AND price is above 50 SMA
Bearish cross occurs AND price is below 50 SMA
Visual Signals: Green "BUY" labels for filtered bullish crosses, red "SELL" labels for filtered bearish crosses
Comparison: Small gray triangles show unfiltered crosses that were rejected by the 50 SMA filter
Trend Background: Light green when above 50 SMA, light red when below
Alerts: Built-in alert conditions for both filtered signals
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。