EMA21/SMA21 + ATR Bands SuiteThe EMA/SMA + ATR Bands Suite is a powerful technical overlay built around one of the most universally respected zones in trading: the 21-period moving average. By combining both the EMA21 and SMA21 into a unified framework, this tool defines the short-term mean with greater clarity and reliability, offering a more complete picture of trend structure, directional bias, and price equilibrium. These two moving averages serve as the central anchor — and from them, the script dynamically calculates adaptive ATR bands that expand and contract with market volatility. Whether you trade breakouts, pullbacks, or reversion setups, the 21 midline combined with ATR extensions offers a powerful lens for real-time market interpretation — adaptable to any timeframe or asset.
🔍 What's Inside?
✅ EMA21 + SMA21 Full Plots and Reduced-History Segments using arrays:
Enable full plots or segmented lines for the most recent candles only with automatic color coding. The reduced-history plots are perfect for reducing clutter on your chart.
✅ ATR Bands (2.5x & 5x):
Adaptive ATR-based volatility envelopes plotted around the midline (EMA21 + SMA21) to indicate:
🔸Potential reversion zones.
🔸Trend continuation breakouts.
🔸Dynamic support/resistance levels.
🔸 Expanding or contracting volatility states
🔸 Trend-aware color changes — yellow when both bands are rising, purple when falling, and gray when direction is mixed
✅ Dual MA Fills (EMA21/SMA21):
Visually track when short-term momentum shifts using a fill between EMA21 and SMA21
✅ EMA5 & EMA200 Labels:
Display anchored labels with rounded values + % difference from price, helping you track short-term + macro trends in real-time.
✅ Intelligent Bar Coloring
Bars are automatically colored based on both price direction and position relative to the EMA/SMA. This provides instant visual feedback on trend strength and structural alignment — no need to second-guess the market tone.
✅ Dynamic Close Line Tools:
Track recent price action with flexible close-following lines
✅ RSI Overlay on Candles:
Optional RSI + RSI SMA displayed above the current bar, with automatic color logic.
🎯 Use Cases
➖Trend Traders can identify when price is stacked bullishly across moving averages and breaking above ATR zones.
➖Mean Reversion Traders can fade extremes at 2.5x or 5x ATR zones.
➖Scalpers get immediate trend insight from colored bar overlays and close-following lines.
➖Swing Traders can combine multi-timeframe EMAs with volatility thresholds for higher confluence.
📌 Final Note:
As powerful as this script can be, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages, or support/resistance levels. Use it as part of a well-rounded trading approach to confirm setups — not to define them alone.
Exponential Moving Average (EMA)
Multi-Timeframe 200 EMAMulti-Timeframe 200 EMA Indicator
This indicator plots five 200-period Exponential Moving Averages (EMAs) on your chart, each from a different timeframe: 1-hour, 2-hour, 4-hour, 8-hour, and 1-day.
What It Does:
Analyzes Higher Timeframes: It uses the request.security() function to fetch data from higher timeframes. This allows you to see significant long-term support and resistance levels from higher timeframes, all on your current chart.
Customizable: You can easily turn each EMA line on or off individually in the indicator's settings. By default, the 1-hour and 1-day EMAs are off, so you can focus on the intermediate timeframes right away.
Clean and Simple: The indicator is designed to be clean and easy to read, with different colors for each EMA line to help you quickly identify the different timeframes at a glance.
This is a powerful tool for trend analysis and identifying key price levels, helping you make more informed trading decisions.
All-in-One EMA & BBThis script combines Bollinger Bands and multiple EMAs into one powerful tool. It includes:
1) Bollinger Bands with customizable MA type and colors.
2) EMA 21 on Daily and Weekly timeframes.
3) EMA 21, 50, 100, 200 on current chart timeframe.
4) Toggle options for each indicator for a clean, flexible view.
Ideal for traders seeking multi-timeframe trend analysis and volatility insights.
Weekly and Daily EMA levelsThis Pine Script indicator provides important weekly and daily levels for lower time frame traders, whom trades based on reaction of these levels.
Dedicated to Prof Michael G
Key Features:
Multi-timeframe EMAs: Shows 12, 21, 50, 100, and 200 period EMAs from both Weekly and Daily timeframes
Horizontal dotted lines: Uses plot.style_linebr to create the dotted/dashed line effect
Works on all timeframes: The lines will appear on any chart timeframe you're viewing
Customizable: Individual toggles for each EMA period and timeframe
Settings Available:
Toggle Weekly/Daily EMAs on/off
Enable/disable individual EMA periods (12, 21, 50, 100, 200)
Customize colors for each EMA line
Adjust line width
Optional labels showing current EMA values
How to Use:
Copy the code into TradingView's Pine Editor
Click "Add to Chart"
Adjust settings in the indicator's Style tab as needed
The weekly EMAs appear with slightly more opacity (30%) while daily EMAs have higher transparency (60%) to help distinguish between timeframes. The lines will automatically update as new bars form and will be visible regardless of what timeframe you're currently viewing on your chart.
EMA 200 HIGH LOWS - BIRMANO - A Pine Script v6 indicator plotting a smoothed cloud between EMA 200 of high and close prices, with dynamic colors (green/soft red) based on price position. Includes RSI (14) in a subpanel for confluence, with an ATR filter to hide the cloud during high volatility.
EMAs CrossoverThis Pine Script strategy identifies bullish and bearish crossovers among four EMAs (5, 13, 26, and 50 periods) with an additional alignment condition for the EMAs. It can generate alert when:
Bullish Condition: An EMA crossover occurs (5 crossing over 13, 13 over 26, or 26 over 50), and all the shorter-period EMAs are above the longer-period EMAs, indicating a strong upward trend.
Bearish Condition: An EMA crossunder happens (5 crossing under 13, 13 under 26, or 26 under 50), and all shorter EMAs are below the longer EMAs, suggesting a strong downward trend.
The strategy uses these conditions to enter long positions on bullish signals and short positions on bearish signals.
Nifty Power -> Nifty 50 chart + EMA of RSI + avg volume strategyThis strategy works in 1 hour candle in Nifty 50 chart. In this strategy, upward trade takes place when there is a crossover of RSI 15 on EMA50 of RSI 15 and volume is greater than volume based EMA21. On the other hand, lower trade takes place when RSI 15 is less than EMA50 of RSI 15. Please note that there is no stop loss given and also that the trade will reverse as per the trend. Sometimes on somedays, there will be no trades. Also please note that this is an Intraday strategy. The trade if taken closes on 15:15 in Nifty 50. This strategy can be used for swing trading. Some pine script code such as supertrend and ema21 of close is redundant. Try not to get confused as only EMA50 of RSI 15 is used and EMA21 of volume is used. I am using built-in pinescript indicators and there is no special calculation done in the pine script code. I have taken numbars variable to count number of candles. For example, if you have 30 minuite chart then numbars variable will count the intraday candles accordingly and the same for 1 hour candles.
EMA with Adaptive Straight SegmentsThis script transforms a traditional Exponential Moving Average (EMA) into a series of straight-line segments, making trend direction clearer and easier to follow. Instead of plotting every curve of the EMA, it connects key points with angled steps, giving a trend-line style look that removes noise and highlights slope.
What makes this version special is its adaptive segmentation:
Segment length automatically adjusts based on market volatility (ATR%).
In low volatility, segments stretch longer to smooth things out.
In high volatility, segments shorten to stay responsive to price swings.
Features:
Clean, step-style EMA representation.
Adjustable minimum/maximum segment lengths.
Customisable number of historical segments.
Optional display of the original EMA for comparison.
HUD label showing current ATR%, segment length, and segment count.
This tool is especially useful if, like me, you prefer structural analysis over noisy indicators. It keeps your chart tidy while still reflecting the true slope of the EMA. I find 50 and 200 are the most useful.
MultiMA fxG v2 Indicateur permettant de centralier 3 moving average :
- Moving average Simple 8 (bleu)
- Moving average Exponentielle 21 (rouge)
- Moving average Exponentielle 50 (Orange)
====================================================
Simple Moving Average (SMA) 8: Displayed in blue, this line provides a quick view of short-term price trends.
Exponential Moving Average (EMA) 21: Shown in red, this average is more sensitive to recent price changes and highlights medium-term momentum.
Exponential Moving Average (EMA) 50: Marked in orange, this line tracks longer-term price movements for overall trend direction.
Traders can use the combination of these moving averages to identify potential crossover signals, trend strength, and possible reversal points.
EMA Cross by TejasFor all Free Sub users. Feel free to use it everywhere. Mostly ASTA students. Very Eaasy to use with signals.
Heiken Ashi + Ichimoku Baseline ScalperHi
This a trend identification strategy. You can hold your trade as long as the signals are in your favor.
Volume Rotor Clock [hapharmonic]🕰️ Volume Rotor Clock
The Volume Rotor Clock is an indicator that separates buy and sell volume, compiling these volumes over a recent number of bars or a specified past period, as defined by the user. This helps to reveal accumulation (buying) or distribution (selling) behavior, showing which side has superior volume. With its unique and beautiful display, the Volume Rotor Clock is more than just a timepiece; it's a dynamic dashboard that visualizes the buying and selling pressure of your favorite symbols, all wrapped in an elegant and fully customizable interface.
Instead of just tracking price, this indicator focuses on the engine behind the movement: volume. It helps you instantly identify which assets are under accumulation (buying) and which are under distribution (selling).
---
🎨 20 Pre-configured Templates
---
🧐 Interpreting the Clock Display
The interface is designed to give you multiple layers of information at a glance. Let's break down what each part represents.
1. The Main Clock Hands (Current Chart Symbol)
The clock hands—hour, minute, and second—are dedicated to the symbol on your current active chart .
Minute Hand: Displays the base currency of the current symbol (e.g., USDT, USD) at its tip.
Hour Hand: Displays the percentage of the winning volume side (buy vs. sell) at its tip.
Color Gauge: The color of the text characters at the tip of both the hour and minute hands acts as your primary volume gauge for the current symbol.
If buy volume is dominant , the text will be green .
If sell volume is dominant , the text will be red .
Tooltip: Hovering your mouse over the text at the tip of the hour or minute or other spherical elements hand will reveal a detailed tooltip with the precise Buy Volume, Sell Volume, Total Volume, Buy %, and Sell % for the current chart's symbol.
2. The Volume Scanner: Bulls & Bears (Symbols Inside the Clock) 🐂🐻
The circular symbols scattered inside the clock face are your multi-symbol volume scanner. They represent the assets you've selected in the indicator's settings.
Green Circles (Bulls - Upper Half): These represent symbols from your list where the total buy volume is greater than the total sell volume over the defined "Lookback" period. They are considered to be under bullish accumulation. The size of the circle and its text grows larger as the buy percentage becomes more dominant. The percentage shown within the circle represents the buy volume's share of the total volume, calculated over the 'Lookback (Bars)' you've set.
Red Circles (Bears - Lower Half): These represent symbols where the total sell volume is greater than the total buy volume. They are considered to be under bearish distribution or selling pressure. The size of the circle indicates the dominance of the sell-side volume. The percentage shown within the circle represents the sell volume's share of the total volume, calculated over the 'Lookback (Bars)' you've set.
3. The Bullish Watchlist (Symbols Above the Clock) ⭐
The symbols arranged neatly along the top edge of the clock are the "best of the bulls." They are symbols that are not only bullish but have also passed an additional, powerful strength filter.
What it Means: A symbol appears here when it shows signs of sustained, high-volume buying interest . It's a way to filter out noise and focus on assets with potentially significant accumulation phases.
The Filter Logic: For a bullish symbol (where total buy volume > total sell volume) to be promoted to the watchlist, its trading volume must meet specific criteria based on this formula:
ta.barssince(not(volume > ta.sma(volume, X))) >= Y
In plain English, this means: The indicator checks how many consecutive bars the `volume` has been greater than its `X`-bar Simple Moving Average (`ta.sma(volume, X)`). If this count is greater than or equal to `Y` bars, the condition is met.
(You can configure `X` (Volume MA Length) and `Y` (Consecutive Days Above MA) in the settings.)
Why it's Useful: This filter is powerful because it looks for consistency . A single spike in volume can be an anomaly. However, when an asset's volume remains consistently above its recent average for several consecutive days, it strongly suggests that larger players or a significant portion of the market are actively accumulating the asset. This sustained interest can often precede a significant upward price trend.
---
⚙️ Indicator Settings Explained
The Volume Rotor Clock is highly customizable. Here’s a detailed walkthrough of every setting available in the "Inputs" tab.
🎨 Color Scheme
This group allows you to control the entire aesthetic of the clock.
Template: Choose from a wide variety of professionally designed color themes.
Use Template: A simple checkbox to switch between using a pre-designed theme and creating your own.
`Checked`: You can select a theme from the dropdown menu, which offers 20 unique templates like "Cyberpunk Neon" or "Forest Green". All custom color settings below will be disabled (grayed out and unclickable).
`Unchecked`: The template dropdown is disabled, and you gain full control over every color element in the sections below.
🖌️ Custom Appearance & Colors
These settings are only active when "Use Template" is unchecked.
Flame Head / Tail: Sets the start and end colors for the dynamic flame effect that traces the clock's border, representing the second hand.
Numbers / Main Numbers: Customize the color of the regular hour numbers (1, 2, 4, 5...) and the main cardinal numbers (3, 6, 9, 12).
Sunburst Colors (1-6): Controls the six colors used in the gradient background for the "sunburst" effect inside the clock face.
Hands & Digital: Fine-tune the colors for the Hour/Minute Hand, Second Hand, central Pivot point, and the digital time display.
Chain Color / Width: Customize the appearance of the two chains holding the clock.
📡 Volume Scanner
Control the behavior of the multi-symbol scanner.
Show Scanner Labels: A master switch to show or hide all the bull/bear symbol circles inside the clock.
Lookback (Bars): A crucial setting that defines the calculation period for buy/sell volume for all scanned symbols. The calculation is a sum over the specified number of recent bars.
`0`: Calculates using the current bar only .
`7`: Calculates the sum of volume over the last 8 bars (the current bar + 7 historical bars).
Symbols List: Here you can enable/disable up to 20 slots and input the ticker for each symbol you want to scan (e.g., BINANCE:BTCUSDT , NASDAQ:AAPL ).
⭐ Bullish Watchlist Filter
Configure the criteria for the elite watchlist symbols displayed above the clock.
Enable Watchlist: A master switch to turn the entire watchlist feature on or off.
Volume MA Length: Sets the lookback period `(X)` for the Simple Moving Average of volume used in the filter.
Consecutive Days Above MA: Sets the minimum number of consecutive days `(Y)` that volume must close above its MA to qualify.
Symbols Per Row: Determines the maximum number of watchlist symbols that can fit in a single row before a new row is created above it.
Background / Text Color: When not using a template, you can set custom colors for the watchlist symbols' background and text.
📏 Position & Size
Adjust the clock's placement and dimensions on your chart.
Clock Timezone: Sets the timezone for the digital and analog time display. You can use standard formats like "America/New_York" or enter "Exchange" to sync with the chart's timezone.
Radius (Bars): Controls the overall size of the clock. The radius is measured in terms of the number of bars on the x-axis.
X Offset (Bars): Moves the entire clock horizontally. Positive values shift it to the right; negative values shift it to the left.
Y Offset (Price %): Moves the entire clock vertically as a percentage of your screen's price pane. Positive values move it up; negative values move it down.
Momentum_EMABand📢 Reposting Notice
I am reposting this script because my earlier submission was hidden due to description requirements under TradingView’s House Rules. This updated version fully explains the originality, the reason for combining these indicators, and how they work together. Follow me for future updates and refinements.
🆕 Momentum EMA Band, Rule-Based System
Momentum EMA Band is not just a mashup — it is a purpose-built trading tool for intraday traders and scalpers that integrates three complementary technical concepts into a single rules-based breakout & retest framework.
Originality comes from the specific sequence and interaction of these three filters:
Supertrend → Sets directional bias.
EMA Band breakout with retest logic → Times precise entries.
ADX filter → Confirms momentum strength and avoids noise.
This system is designed to filter out weak setups and false breakouts that standalone indicators often fail to avoid.
🔧 How the Indicator Works — Combined Logic
1️⃣ EMA Price Band — Dynamic Zone Visualization
Plots upper & lower EMA bands (default: 9-period EMA).
Green Band → Price above upper EMA = bullish momentum
Red Band → Price below lower EMA = bearish pressure
Yellow Band → Price within band = neutral zone
Acts as a consolidation zone and breakout trigger level.
2️⃣ Supertrend Overlay — Reliable Trend Confirmation
ATR-based Supertrend adapts to volatility:
Green Line = Uptrend bias
Red Line = Downtrend bias
Ensures trades align with the prevailing trend.
3️⃣ ADX-Based No-Trade Zone — Choppy Market Filter
Manual ADX calculation (default: length 14).
If ADX < threshold (default: 20) and price is inside EMA Band → gray background marks low-momentum zones.
🧩 Why This Mashup Works
Supertrend confirms trend direction.
EMA Band breakout & retest validates the breakout’s strength.
ADX ensures the market has enough trend momentum.
When all align, entries are higher probability and whipsaws are reduced.
📈 Example Trade Walkthrough
Scenario: 5-minute chart, ADX threshold = 20.
Supertrend turns green → trend bias is bullish.
Price consolidates inside the yellow EMA Band.
ADX rises above 20 → trend momentum confirmed.
Price closes above the green EMA Band after retesting the band as support.
Entry triggered on candle close, stop below band, target based on risk-reward.
Exit when Supertrend flips red or ADX momentum drops.
This sequence prevents premature entries, keeps trades aligned with trend, and avoids ranging markets.
🎯 Key Features
✅ Multi-layered confirmation for precision trading
✅ Built-in no-trade zone filter
✅ Fully customizable parameters
✅ Clean visuals for quick decision-making
⚠ Disclaimer: This is Version 1. Educational purposes only. Always use with risk management.
200 EMA w/ Ticker Memory200 EMA w/ Ticker Memory — Multi-Symbol & Multi-Timeframe EMA Tracker with Alerts
Overview
The 200 EMA w/ Ticker Memory indicator allows you to monitor the 200-period Exponential Moving Average (EMA) across multiple symbols and timeframes. Designed for traders managing multiple tickers, it provides customizable timeframe inputs per symbol and instant alerts on price touches of the 200 EMA.
Key Features
Multi-symbol support: Configure up to 20 different symbols, each with its own timeframe setting.
Flexible timeframe input: Assign specific timeframes per symbol or use a default timeframe fallback.
Accurate 200 EMA calculation: Uses request.security to fetch 200 EMA from the symbol-specific timeframe.
Visual EMA plots: Displays both the EMA on the selected timeframe and the EMA on the current chart timeframe for comparison.
Touch alerts: Configurable alerts when price “touches” the 200 EMA within a user-defined sensitivity percentage.
Ticker memory: Remembers your configured symbols and displays them in an on-chart table.
Compact info table: Displays current symbol status, alert settings, and timeframe in a clean, transparent table overlay.
How to Use
Configure Symbols and Timeframes:
Input your desired symbols (up to 20) and their respective timeframes under the “Symbol Settings” groups in the indicator’s settings pane.
Set Default Timeframe:
Choose a default timeframe to be used when no specific timeframe is assigned for a symbol.
Adjust Alert Settings:
Enable or disable alerts and set the touch sensitivity (% distance from EMA to trigger alerts).
Alerts
Alerts trigger once per bar when the price touches the 200 EMA within the defined sensitivity threshold.
Alert messages include:
Symbol / Current price / EMA value / EMA timeframe used / Chart timeframe / Timestamp
Customization
200 EMA Color: Change the line color for better visibility.
Touch Sensitivity: Fine-tune how close price must be to the EMA to count as a touch (default 0.1%).
Enable Touch Alerts: Turn on/off alert notifications easily.
For:
- Swing traders monitoring multiple stocks or assets.
- Day traders watching key EMA levels on different timeframes.
- Analysts requiring a quick visual and alert system for 200 EMA touches.
- Portfolio managers tracking key technical levels across various securities.
Limitations
Supports up to 20 configured symbols (can be extended manually if needed).
Works best on charts with reasonable bar frequency due to request.security usage.
Alert frequency is limited to once per bar for clarity.
Disclaimer
This indicator is provided “as-is” for educational and informational purposes only. It does not guarantee trading success or financial gain.
Scalping Indicator (EMA + RSI)Buy and Sell Signals. Use with Supply and Demand to find good entries. Do not rely solely on this signal. Monitors with short and long EMA cross along with oversold or overbought RSI.
Supertrend EMA Vol Strategy V5### Supertrend EMA Strategy V5
**Overview**
This is a trend-following strategy designed for cryptocurrency markets like BTC/USD on daily timeframes, combining the Supertrend indicator for dynamic trailing stops with an EMA filter for trend confirmation. It aims to capture strong uptrends while avoiding counter-trend trades, with optional volume filtering for high-conviction entries and ATR-based stop-loss to manage risk. Ideal for long-only setups in bullish assets, it visually highlights trends with green/red bands and fills for easy interpretation. Backtested on BTC from 2024-2025, it shows potential for outperforming buy-and-hold in trending markets, but always use with proper risk management—past performance isn't indicative of future results.
**Key Features**
- **Supertrend Core**: Uses ATR to plot adaptive uptrend (green) and downtrend (red) lines, flipping on closes beyond prior bands for buy/sell signals.
- **EMA Trend Filter**: Entries require price above the EMA (default 21-period) for longs, ensuring alignment with the broader trend.
- **Volume Confirmation**: Optional filter only allows entries when volume exceeds its EMA (default 20-period), reducing false signals in low-activity periods.
- **Risk Controls**: Built-in ATR-multiplier stop-loss (default 2x) to cap losses; exits on Supertrend flips for trailing profits.
- **Visuals**: Green/red lines and highlighter fills for up/down trends, plus buy/sell labels and circles for signals.
- **Customizable Inputs**: Tweak ATR period (default 10), multiplier (default 3), EMA length, start date, long/short toggles, SL, and volume filter.
- **Alerts**: Built-in for buy/sell and direction changes.
**How to Use**
1. Add to your TradingView chart (e.g., BTC/USD 1D).
2. Adjust inputs: Start with defaults for trend-following; increase multiplier for fewer trades/higher win rate. Enable volume filter for volatile assets.
3. Monitor signals: Green "Buy" for long entries (if close > EMA and conditions met); red "Sell" for exits.
4. Backtest in Strategy Tester: Focus on equity curve, win rate (~50-60% in tests), and drawdown (<15% with SL).
5. Live Trading: Use small position sizes (1-2% risk per trade); combine with your analysis. Shorts disabled by default for bull-biased markets.
EMA Deviation with Min/Max Levelshis indicator visualizes the percentage deviation of the closing price from its Exponential Moving Average (EMA), helping traders identify overbought and oversold conditions. It dynamically tracks the minimum and maximum deviation levels over a user-defined lookback period, highlighting extreme zones with color-coded signals:
• 🔵 Normal deviation range
• 🔴 Near historical maximum — potential sell zone
• 🟢 Near historical minimum — potential buy zone
Use it to spot price extremes relative to trend and anticipate possible reversals or mean reversion setups.
MK_OSFT - Multi-timeframe MA Lines with labelsProvides SMA/EMA levels on a chart for the 5m, 15m, 1H and 4H timeframes. It does not draw the full MA's on the chart but provides 'only' the actual MA values at the current candle as a horizontal line with a label.
Trend Impulse Tester | Trend–Impulse–No-Chop (In development) Trend strategy. Regulate your entry and make the drawdown less than 3%, entry at % of capital. Currently under development.
Used on cryptocurrency. The 30 min timeframe was used. Adjust the values yourself, settings are provided
Multi-EMAMulti-EMA Indicator
This script plots five commonly used Exponential Moving Averages (EMAs) on your chart for trend identification and trade timing.
Included EMAs & Colors:
EMA 8 — Red
EMA 20 — Orange
EMA 50 — Yellow
EMA 100 — Cyan
EMA 200 — Blue
How to use:
Shorter EMAs (8 & 20) help identify short-term momentum and potential entry/exit points.
Mid-range EMA (50) gives a broader view of intermediate trends.
Longer EMAs (100 & 200) are used to confirm long-term trend direction and key support/resistance zones.
Crossovers between EMAs can signal potential trend changes.
Price trading above most EMAs often signals bullish conditions, while trading below suggests bearish momentum.
Designed to work on any timeframe or market.
Trend Filter (Higher Timeframe EMA)English (EN)
This indicator overlays the higher timeframe (default: 1H) EMA trend onto your current chart to serve as a directional filter for trading decisions.
- Fetches and plots EMA20 / EMA50 / EMA200 from a higher timeframe (user-configurable)
- Identifies LONG trend when EMA20 > EMA50 > EMA200, SHORT trend when EMA20 < EMA50 < EMA200
- Changes background color based on trend direction (Green = Long, Red = Short)
- Can trigger alerts when a new trend direction is detected
1. Apply this script to lower timeframes such as 5m or 15m charts to see the higher timeframe trend.
2. When the background is green, consider long setups; when red, consider short setups.
3. Use this as a filter in conjunction with your main entry signals, not as a standalone strategy.
- Default higher timeframe is 1 hour, but you can change it in the settings.
- This script does not provide financial advice. Use at your own risk.
日本語(JP)
このインジケーターは、現在のチャートに上位足(デフォルト:1時間足)のEMAトレンドを重ねて表示し、売買方向のフィルターとして利用できます。
【機能】
- 上位足(設定可能)のEMA20 / EMA50 / EMA200 を取得して表示
- EMA20 > EMA50 > EMA200 でロングトレンド、EMA20 < EMA50 < EMA200 でショートトレンド判定
- トレンド方向に応じて背景色を変化(緑=ロング、赤=ショート)
- トレンド発生時にアラートを送信可能
【使い方】
1. 5分足や15分足など短期足に適用し、背景色で上位足の流れを確認します。
2. 背景が緑の時は買い目線、赤の時は売り目線で短期エントリーを検討します。
3. 単独での売買判断ではなく、他のテクニカル指標と併用してご利用ください。
【注意】
- デフォルトは1時間足で計算していますが、設定から変更可能です。
- 本スクリプトは投資助言を行うものではありません。ご利用は自己責任でお願いします。