OPEN-SOURCE SCRIPT
更新済 EMA Crossover Candles

EMA Crossover Candles
This indicator colors your chart candles based on the relationship between two Exponential Moving Averages (EMAs).
How It Works
Green Candles - When the Fast EMA is above the Slow EMA, indicating bullish momentum
Red Candles - When the Fast EMA is below the Slow EMA, indicating bearish momentum
Settings
Source - The price data used for EMA calculations (default: close)
Fast Length - Period for the fast EMA (default: 5)
Slow Length - Period for the slow EMA (default: 10)
How To Use
This indicator provides a quick visual reference for trend direction. Green candles suggest the short-term trend is bullish, while red candles suggest bearish conditions. This can help you:
Identify trend direction at a glance
Filter trades in the direction of the trend
Spot potential trend changes when candle colors shift
Tips
Adjust the Fast and Slow Length settings to match your trading timeframe
Shorter periods = more responsive but more false signals
Longer periods = smoother but slower to react to trend changes
Consider hiding default candles in Chart Settings for a cleaner look
Note: This indicator is for informational purposes only and should not be used as the sole basis for trading decisions. Always use proper risk management and consider combining with other forms of analysis.
Feel free to modify this to match your style or add any additional details you'd like to include.Claude is AI and can make mistakes. Please double-check responses. Opus 4.5
This indicator colors your chart candles based on the relationship between two Exponential Moving Averages (EMAs).
How It Works
Green Candles - When the Fast EMA is above the Slow EMA, indicating bullish momentum
Red Candles - When the Fast EMA is below the Slow EMA, indicating bearish momentum
Settings
Source - The price data used for EMA calculations (default: close)
Fast Length - Period for the fast EMA (default: 5)
Slow Length - Period for the slow EMA (default: 10)
How To Use
This indicator provides a quick visual reference for trend direction. Green candles suggest the short-term trend is bullish, while red candles suggest bearish conditions. This can help you:
Identify trend direction at a glance
Filter trades in the direction of the trend
Spot potential trend changes when candle colors shift
Tips
Adjust the Fast and Slow Length settings to match your trading timeframe
Shorter periods = more responsive but more false signals
Longer periods = smoother but slower to react to trend changes
Consider hiding default candles in Chart Settings for a cleaner look
Note: This indicator is for informational purposes only and should not be used as the sole basis for trading decisions. Always use proper risk management and consider combining with other forms of analysis.
Feel free to modify this to match your style or add any additional details you'd like to include.Claude is AI and can make mistakes. Please double-check responses. Opus 4.5
リリースノート
**EMA Crossover Candles**
This indicator colors your chart candles based on the relationship between two Exponential Moving Averages (EMAs) and provides alerts when crossovers occur.
**How It Works**
- **Green Candles** - When the Fast EMA is above the Slow EMA, indicating bullish momentum
- **Red Candles** - When the Fast EMA is below the Slow EMA, indicating bearish momentum
- **Triangle Markers** - Visual signals appear on the chart when crossovers occur
**Settings**
- **Source** - The price data used for EMA calculations (default: close)
- **Fast Length** - Period for the fast EMA (default: 5)
- **Slow Length** - Period for the slow EMA (default: 10)
**Alerts**
This indicator includes three alert options:
- **Bullish Crossover** - Triggers when the Fast EMA crosses above the Slow EMA and candles turn green
- **Bearish Crossover** - Triggers when the Fast EMA crosses below the Slow EMA and candles turn red
- **Any Crossover** - Triggers on either bullish or bearish crossover
**How To Set Up Alerts**
1. Add the indicator to your chart
2. Right-click on the chart and select "Add Alert" (or press Alt+A)
3. In the Condition dropdown, select "EMA Crossover Candles"
4. Choose your alert type (Bullish Crossover, Bearish Crossover, or Any Crossover)
5. Set your notification preferences (popup, email, sound, webhook, etc.)
6. Click "Create"
**How To Use**
This indicator provides a quick visual reference for trend direction. Green candles suggest the short-term trend is bullish, while red candles suggest bearish conditions. This can help you:
- Identify trend direction at a glance
- Filter trades in the direction of the trend
- Spot potential trend changes when candle colors shift
- Get notified of trend changes in real-time with alerts
**Tips**
- Adjust the Fast and Slow Length settings to match your trading timeframe
- Shorter periods = more responsive but more false signals
- Longer periods = smoother but slower to react to trend changes
- Consider hiding default candles in Chart Settings for a cleaner look
- Set up alerts on multiple timeframes for confluence signals
**Note:** This indicator is for informational purposes only and should not be used as the sole basis for trading decisions. Always use proper risk management and consider combining with other forms of analysis.
リリースノート
EMA Crossover CandlesThis indicator displays standard candlesticks with a twist - candles turn white when the fast EMA crosses above or below the slow EMA, making trend shifts instantly visible.
How It Works
Green Candles - Normal up candles (close > open)
Red Candles - Normal down candles (close < open)
White Candles - The exact candle where the EMA crossover occurs
The indicator also plots small triangles to mark crossover points for additional visual confirmation.
Settings
Source - The price data used for EMA calculations (default: close)
Fast Length - Period for the fast EMA (default: 5)
Slow Length - Period for the slow EMA (default: 10)
Visual Signals
White Candle - Indicates the moment the EMAs cross
Green Triangle (below bar) - Bullish crossover (fast EMA crossed above slow EMA)
Red Triangle (above bar) - Bearish crossover (fast EMA crossed below slow EMA)
Alerts
Three alert options are available:
Bullish Crossover - Fast EMA crosses above slow EMA
Bearish Crossover - Fast EMA crosses below slow EMA
Any Crossover - Either crossover type
How To Set Up Alerts
Add the indicator to your chart
Right-click on the chart and select "Add Alert" (or press Alt+A)
In the Condition dropdown, select "EMA Crossover Candles"
Choose your preferred alert type
Set notification preferences (popup, email, sound, webhook)
Click "Create"
Tips For Best Results
Adjust Fast and Slow Length settings to match your trading timeframe
Shorter periods = more responsive but more false signals
Longer periods = smoother but slower to react
White candles at key support/resistance levels tend to be more significant
Consider hiding default chart candles for a cleaner look (Chart Settings → Symbol → set colors to transparent)
Note: This indicator is for informational purposes only and should not be used as the sole basis for trading decisions. Always use proper risk management and consider combining with other forms of analysis.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。