OPEN-SOURCE SCRIPT
ema_sw_alligator

A powerful and visually intuitive trading indicator that plots four exponential moving averages (EMA 8, 13, 48, 200) with customizable offsets and dynamic gradient visualization between the fast EMAs.
key features:
- four ema periods: displays ema 8, 13, 48, and 200 with customizable lengths
- customizable offsets: each ema can be shifted forward or backward in time (default: ema 200 offset 20, ema 48 offset 5, ema 13 offset 10, ema 8 offset 0)
- dynamic gradient system: visual color gradient between ema 8 and ema 13 that changes based on momentum:
-- green gradient when ema 8 crosses above ema 13 (bullish momentum)
-- red gradient when ema 8 crosses below ema 13 (bearish momentum)
- full customization:
- toggle individual ema visibility on/off
- customize colors for each ema line
- adjust gradient colors and transparency
- modify offset values for each ema
trading strategy:
ENTRY (Long)
- DAILY Chart
- 8 EMA crosses above 200 and 13 EMA
- Price remains above 200 EMA
- Break of Structure
Stay in:
- IF price stays above 8/13 and 48EMA after Entry
EXIT / STOP:
- Stop under recent swing low
- Exit when price crosses below 13 EMA IF under Entry
- Exit when price crosses below 48 EMA IF under Entry
trading applications:
- identify trend direction using the ema alignment
- spot potential entry points when ema 8 crosses ema 13 with gradient color confirmation
- use ema 48 and ema 200 as longer-term trend filters
- the offset feature helps anticipate potential support/resistance levels
- clear entry and exit rules based on EMA crossovers and price structure
settings overview:
- adjust ema lengths according to your trading style
- modify offsets to fine-tune the indicator's responsiveness
- customize colors for better visual clarity
- control gradient transparency to balance visibility and chart readability
perfect for swing traders, day traders, and anyone who uses moving average crossovers in their trading strategy. the visual gradient makes it easy to identify momentum shifts at a glance, while the clear trading rules provide a systematic approach to entries and exits.
key features:
- four ema periods: displays ema 8, 13, 48, and 200 with customizable lengths
- customizable offsets: each ema can be shifted forward or backward in time (default: ema 200 offset 20, ema 48 offset 5, ema 13 offset 10, ema 8 offset 0)
- dynamic gradient system: visual color gradient between ema 8 and ema 13 that changes based on momentum:
-- green gradient when ema 8 crosses above ema 13 (bullish momentum)
-- red gradient when ema 8 crosses below ema 13 (bearish momentum)
- full customization:
- toggle individual ema visibility on/off
- customize colors for each ema line
- adjust gradient colors and transparency
- modify offset values for each ema
trading strategy:
ENTRY (Long)
- DAILY Chart
- 8 EMA crosses above 200 and 13 EMA
- Price remains above 200 EMA
- Break of Structure
Stay in:
- IF price stays above 8/13 and 48EMA after Entry
EXIT / STOP:
- Stop under recent swing low
- Exit when price crosses below 13 EMA IF under Entry
- Exit when price crosses below 48 EMA IF under Entry
trading applications:
- identify trend direction using the ema alignment
- spot potential entry points when ema 8 crosses ema 13 with gradient color confirmation
- use ema 48 and ema 200 as longer-term trend filters
- the offset feature helps anticipate potential support/resistance levels
- clear entry and exit rules based on EMA crossovers and price structure
settings overview:
- adjust ema lengths according to your trading style
- modify offsets to fine-tune the indicator's responsiveness
- customize colors for better visual clarity
- control gradient transparency to balance visibility and chart readability
perfect for swing traders, day traders, and anyone who uses moving average crossovers in their trading strategy. the visual gradient makes it easy to identify momentum shifts at a glance, while the clear trading rules provide a systematic approach to entries and exits.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。