Multi-Timeframe PivotDescription:
This script provides an advanced tool for multi-timeframe pivot point
analysis. It identifies swing points based on a candle's relationship to
its neighbors. The default strength settings of 1 align with the Inner
Circle Trader (ICT) concept of market structure.
The ICT concept defines a swing point based on a simple 3-candle pattern:
- A swing high is a candle where the candles to the immediate left and right
both have lower highs.
- A swing low is a candle where the candles to the immediate left and right
both have higher lows.
A key feature is its ability to accurately calculate and translate pivot
points from up to five higher timeframes (HTFs) and display them
precisely on a lower timeframe (LTF) chart.
NOTE: This indicator is designed to show HTF data on an LTF chart.
If you select a timeframe in the settings that is lower than your
current chart's timeframe, it will show pivots for the chart's
timeframe instead.
Core Features:
- Up to five independent higher timeframes.
- Per-timeframe customization for pivot strength (left/right bars) and color.
- Optional "Watchlines" that project the price of each pivot forward,
complete with a text label identifying the timeframe.
- An optional "Alignment Model" that colors the background when price is
aligned across all active timeframes (requires at least 2 TFs to be enabled).
Default State:
For a clean initial application, the Watchlines and Alignment Model features
are disabled by default but can be enabled in the settings.
Multitimeframe
ATR Stop-Loss with Fibonacci Take-Profit [jpkxyz]ATR Stop-Loss with Fibonacci Take-Profit Indicator
This comprehensive indicator combines Average True Range (ATR) volatility analysis with Fibonacci extensions to create dynamic stop-loss and take-profit levels. It's designed to help traders set precise risk management levels and profit targets based on market volatility and mathematical ratios.
Two Operating Modes
Default Mode (Rolling Levels)
In default mode, the indicator continuously plots evolving stop-loss and take-profit levels based on real-time price action. These levels update dynamically as new bars form, creating rolling horizontal lines across the chart. I use this mode primarily to plot the rolling ATR-Level which I use to trail my Stop-Loss into profit.
Characteristics:
Levels recalculate with each new bar
All selected Fibonacci levels display simultaneously
Uses plot() functions with trackprice=true for price tracking
Custom Anchor Mode (Fixed Levels)
This is the primary mode for precision trading. You select a specific timestamp (typically your entry bar), and the indicator locks all calculations to that exact moment, creating fixed horizontal lines that represent your actual trade levels.
Characteristics:
Entry line (blue) marks your anchor point
Stop-loss calculated using ATR from the anchor bar
Fibonacci levels projected from entry-to-stop distance
Lines terminate when price breaks through them
Includes comprehensive alert system
Core Calculation Logic
ATR Stop-Loss Calculation:
Stop Loss = Entry Price ± (ATR × Multiplier)
Long positions: SL = Entry - (ATR × Multiplier)
Short positions: SL = Entry + (ATR × Multiplier)
ATR uses your chosen smoothing method (RMA, SMA, EMA, or WMA)
Default multiplier is 1.5, adjustable to your risk tolerance
Fibonacci Take-Profit Projection:
The distance from entry to stop-loss becomes the base unit (1.0) for Fibonacci extensions:
TP Level = Entry + (Entry-to-SL Distance × Fibonacci Ratio)
Available Fibonacci Levels:
Conservative: 0.618, 1.0, 1.618
Extended: 2.618, 3.618, 4.618
Complete range: 0.0 to 4.764 (23 levels total)
Multi-Timeframe Functionality
One of the indicator's most powerful features is timeframe flexibility. You can analyze on one timeframe while using stop-loss and take-profit calculations from another.
Best Practices:
Identify your entry point on execution timeframe
Enable "Custom Anchor" mode
Set anchor timestamp to your entry bar
Select appropriate analysis timeframe
Choose relevant Fibonacci levels
Enable alerts for automated notifications
Example Scenario:
Analyse trend on 4-hour chart
Execute entry on 5-minute chart for precision
Set custom anchor to your 5-minute entry bar
Configure timeframe setting to "4h" for swing-level targets
Select appropriate Fibonacci Extension levels
Result: Precise entry with larger timeframe risk management
Visual Intelligence System
Line Behaviour in Custom Anchor Mode:
Active levels: Lines extend to the right edge
Hit levels: Lines terminate at the breaking bar
Entry line: Always visible in blue
Stop-loss: Red line, terminates when hit
Take-profits: Green lines (1.618 level in gold for emphasis)
Customisation Options:
Line width (1-4 pixels)
Show/hide individual Fibonacci levels
ATR length and smoothing method
ATR multiplier for stop-loss distance
Volume bar range# Volume Bar Range (VBR) Indicator
## Overview
The Volume Bar Range indicator identifies key support and resistance levels based on high-volume price bars. It creates a visual range that represents significant price levels where the market has shown strong interest through volume confirmation.
## Features
### Visual Range Display
- **Blue/Aqua Area**: Shows the price range of the highest volume bar within the lookback period
- **Dynamic Color**: The fill color changes to indicate whether the range is stable (aqua) or newly updated (white)
- **Boundary Lines**: Invisible white lines mark the upper and lower boundaries of the range
### Trading Signals
- **BUY Signal**: Blue upward arrow appears when price breaks above the resistance level with volume confirmation
- **SELL Signal**: Black downward arrow appears when price breaks below the support level with volume confirmation
## How to Use
### Setup
1. Apply the indicator to any chart
2. The indicator automatically identifies the highest volume bar in the last 55 periods
3. The price range of this high-volume bar becomes your support/resistance zone
### Trading Strategy
- **Range Trading**: Trade within the identified support/resistance range
- **Breakout Trading**: Enter positions when price breaks above resistance (BUY) or below support (SELL)
- **Volume Confirmation**: Only take signals when current volume exceeds the 21-period average
### Signal Interpretation
- **BUY Signal**: Price closes above the resistance level with above-average volume
- **SELL Signal**: Price closes below the support level with above-average volume
- **No Signal**: Price remains within the range or volume is insufficient
## Key Parameters
- **Lookback Period**: 55 bars (automatically identifies the highest volume bar)
- **Volume MA**: 21-period simple moving average for volume confirmation
- **Signal Size**: Tiny markers to avoid chart clutter
## Best Practices
- Use on multiple timeframes for confirmation
- Combine with other technical indicators for stronger signals
- Pay attention to the color changes in the range area
- Consider market context and overall trend direction
## Ideal Markets
- Works well on liquid markets with consistent volume patterns
- Effective on stocks, forex, and crypto markets
- Best suited for swing trading and medium-term analysis
This indicator is particularly useful for traders who rely on volume analysis and want to identify key price levels where the market has shown significant interest.
HEMA Trend by Rostek (Filters + ATR + RR) For testing by anyone. Enjoy! :)
HEMA Trend Levels with Gradient, ATR-based SL & TP, HTF Filter, and R/R Statistics
This advanced indicator is designed to help you detect high-quality trend crossovers using HEMA (Hull Exponential Moving Average) smoothing logic. It integrates dynamic visualization, strong multi-layer filters, and risk management levels — all in one package.
✅ Core Concept
The indicator plots two HEMAs (fast and slow), with a gradient fill between them that dynamically changes color based on the trend direction. Crossovers between these HEMAs generate potential trade signals (long or short).
🎨 Key Visual Features
Smooth gradient fill area between fast and slow HEMA.
Dynamic arrows marking crossover points (precisely above/below HEMA cross).
Optional ATR-based Stop Loss (SL) and Take Profit (TP) levels shown as dashed lines with labels.
Automatic display of calculated Risk/Reward (R/R) ratio next to TP level.
⚙️ Powerful Filters
You can enable/disable each of these filters individually:
✅ EMA Filter — Confirm signals only when the price is above/below a selected EMA (default: 100).
✅ ADX Filter — Confirms signals only if ADX value exceeds a set threshold (default: 20).
✅ RSI Filter — Filter signals based on RSI value (e.g., >50 for longs, <50 for shorts).
✅ Higher Time Frame (HTF) EMA Filter — Only take signals aligned with a higher timeframe EMA trend (e.g., daily EMA 100).
📏 Risk Management Features
ATR-based Stop Loss (SL): Dynamic stop level calculated using ATR, configurable multiplier (e.g., 1.5 × ATR).
ATR-based Take Profit (TP): Dynamic take profit level based on ATR, configurable multiplier (e.g., 3 × ATR).
Risk/Reward Statistics: Calculates and displays R/R ratio on the chart to help visually evaluate trade setups.
🔔 Alerts
A single unified alert condition for both long and short filtered signals, making it easy to set up TradingView alerts.
⚡ Usage Tips
Adjust HEMA lengths (default: 20 & 40) to tune responsiveness.
Enable/disable filters depending on your strategy and market conditions.
Fine-tune ATR multipliers for SL/TP based on your risk tolerance.
Use HTF filter to trade only in the direction of the main higher timeframe trend.
✅ Ideal for
Trend-following traders who want smoothed entries.
Traders looking for integrated visual risk management levels.
Users who want precise, customizable signals with strong filtering logic.
GER40 Opening Range Breakout (Advanced)🔥 GER40 (DAX40) Opening Range Breakout Strategy
📌 Overview:
This strategy takes advantage of the high volatility and liquidity during the Frankfurt and London session openings (8:00–10:00 CET). It’s especially suitable for day traders who want to capitalize on early momentum.
✅ Strategy Steps:
1. Mark the Opening Range (08:00–08:15 CET)
Wait for the first 15 minutes after the Frankfurt open (08:00 CET).
Draw horizontal lines at the high and low of this range.
2. Entry Rules:
Buy when price breaks above the opening range high with strong volume.
Sell (short) when price breaks below the opening range low with strong volume.
3. Confirmation (optional but helpful):
Use a momentum indicator like RSI (above 50 for long, below 50 for short) or MACD crossing above/below the signal line.
Look for volume spike at breakout for validation.
4. Stop-Loss:
Set just below the range low (for long) or above the range high (for short).
Or use a fixed pip/point stop-loss like 15–25 points depending on current volatility.
5. Take Profit / Exit:
1:1.5 to 1:2 Risk/Reward Ratio.
Or scale out at fixed points (e.g., +20, +40).
Or trail stop after price moves in favor by +20 points.
📊 Additional Filters to Improve Accuracy:
Check macroeconomic calendar (avoid entering during red news like ECB, German CPI, etc.).
Use VWAP as a dynamic support/resistance for bias direction.
Use 5-min or 15-min charts for better signal clarity.
📈 Example:
Let’s say the DAX opens at 08:00 CET, and by 08:15, the high is 18,000 and the low is 17,950.
If price breaks above 18,000 with volume and RSI > 50, enter long.
Place stop at 17,950 or slightly below.
Take profit at 18,030–18,050 or trail stop.
🧠 Pro Tips:
GER40 is highly volatile, so ensure your risk per trade is small (e.g., 1% or less).
Avoid trading around major news (ECB rate decisions, German GDP, etc.).
Best sessions for GER40: Frankfurt Open (08:00 CET) and London Open (09:00 CET).
Multi-timeframe Spot ETH ETF flowsDescription of Multi-timeframe Spot ETH ETF Flows Pine Script
This Pine Script™ (version 6) creates a Multi-timeframe Spot ETH ETF Flows indicator to track and visualize net and cumulative capital flows for various Ethereum (ETH) Spot Exchange-Traded Funds (ETFs) listed on AMEX and NASDAQ. The script calculates up and down volume based on price movements in a lower timeframe, multiplies these by the average price (HLC3) for accuracy, and aggregates the data to display net and cumulative flows.
Key Features:
ETF List : Tracks nine ETH Spot ETFs (e.g., AMEX:ETHE, NASDAQ:ETHA, etc.).
Custom Timeframe Input : Allows users to override the default lower timeframe (automatically selected based on the chart’s timeframe) with a custom timeframe (default: 720 minutes). Higher timeframes provide more historical data but less precision.
Volume Analysis : Calculates positive (up) and negative (down) volume based on price movements (close vs. open or close vs. previous close) in the lower timeframe, weighted by the average price.
Net and Cumulative Flows :
Net flow is the sum of up and down volumes across all ETFs, displayed as colored columns (green for positive, red for negative, with transparency based on trend direction).
Cumulative flow is the running total of net flows since the ETFs' launch, plotted as a line. Visualization : Uses dynamic colors for net flow columns to indicate direction and strength, with a black line for cumulative flow.
Technical Details:
Data Retrieval : Uses request.security and request.security_lower_tf to fetch price and volume data from lower timeframes.
Array Processing : Sums up and down volume arrays to compute net flows for each ETF.
Auto Timeframe Switching : Selects an appropriate lower timeframe (e.g., 1-second for seconds-based charts, 5-minute for daily charts) unless a custom timeframe is specified.
Styling : Net flow is plotted as columns, with color intensity reflecting flow direction and trend continuity.
Purpose:
The indicator helps traders and investors monitor capital inflows and outflows for ETH Spot ETFs, providing insights into market sentiment and fund activity across multiple timeframes.
License : Mozilla Public License 2.0.
Dashboard TrendsDashboard Trends – Multi-Timeframe VWAP + EMA Bias Indicator
The Dashboard Trends indicator is a powerful market sentiment tool that visually displays trend biases across multiple timeframes using a combination of:
Anchored Session VWAP with Deviation Bands
EMA(22) vs EMA(200) Trend Comparison
Custom Neutral Zone Logic
Multi-Timeframe Dashboard Table
1-Minute Precision Bias and VWAP Positioning
This tool is designed for day traders, scalpers, and swing traders who want a clean and fast way to assess the market's trend structure at a glance.
📊 Features
✅ 1. Anchored Session VWAP
Custom VWAP that resets at the start of each daily session.
Displays ±1σ, ±2σ, ±3σ standard deviation bands.
Tracks real-time price positioning relative to VWAP.
✅ 2. EMA Trend Bias
Uses EMA(22) and EMA(200) across multiple timeframes (1m, 10m, 30m, 4h, 1D).
A trend is:
Bullish if EMA(22) > EMA(200) + threshold
Bearish if EMA(22) < EMA(200) - threshold
Neutral within buffer zone
Choose between:
Fixed Threshold (% based)
Dynamic ATR-based Threshold for volatility adaptation
✅ 3. VWAP Bias Calculation
Measures price deviation from session VWAP within normalized range
Color-coded output for:
Green: Bullish bias
Red: Bearish bias
Gray: Neutral zone
✅ 4. Real-Time Dashboard Table
Updates every 10 bars
Displays market bias for:
1m, 10m, 30m, 4h, 1D, and VWAP trend zones
Color-coded cells for instant decision-making
📈 Suggested Trading Strategy
You can build rules around trend alignment and VWAP zones for effective entries and exits.
📌 Entry Rules:
Long Entry:
1m, 10m, 30m, and VWAP all show Bullish (green)
Price is above VWAP and holding above +1σ
Optional: Use pullback to EMA(22) on the 1m or 10m chart as a trigger
Short Entry:
1m, 10m, 30m, and VWAP all show Bearish (red)
Price is below VWAP and holding below -1σ
Optional: Use rejection at EMA(22) on the 1m/10m as confirmation
📌 Exit / Take-Profit:
Take profit at ±2σ or ±3σ levels
Trail stops based on price moving back into Neutral or opposite bias
📌 Stop-Loss:
Just below VWAP or the opposite side of ±1σ band (depending on entry direction)
Or use fixed ATR-based stop for dynamic positioning
⚙️ Settings Recommendations
For volatile markets (crypto, small caps): Enable Dynamic ATR Threshold
For stable markets (indices, large caps): Use Fixed Threshold = 0.05–0.10%
For scalping: Set neutral zone buffer (1m) to a tighter value like 0.05
Alligator Crossover AlertThe Alligator Indicator consists of:
Jaw (Blue line): 13-period Smoothed Moving Average, shifted by 8 bars
Teeth (Red line): 8-period Smoothed Moving Average, shifted by 5 bars
Lips (Green line): 5-period Smoothed Moving Average, shifted by 3 bars
A crossing of these lines can signal:
Start of a new trend (when lines fan out in order)
Consolidation or end of trend (when lines cross over each other) - The indicator is for visual representation of the crossovers
Intra-bar Close/Open Gap [YuL]Just checking one idea: look at gaps between close and open bars on lower timeframe to try to estimate how much slippage exists there that may be a result of buying or selling pressure.
Perhaps it only useful in real time to see if situation of the current bar is changing.
Open to ideas and suggestions.
Candle Pattern Detector By Prashanth
Bullish Signal (🟢 below candle):
Plotted when any of the following occur:
✅ Bullish Engulfing
✅ Bullish Three-Line Strike
✅ Bottom wick ≥ % threshold (default: 80%)
Bearish Signal (🔴 above candle):
Plotted when any of the following occur:
❌ Bearish Engulfing
❌ Bearish Three-Line Strike
❌ Top wick ≥ % threshold (default: 80%)
Only one signal per candle (🟢 or 🔴)
If both bullish and bearish conditions happen on same candle → no signal
Helps simplify visual clutter while scanning for strong candle patterns
Your trading time period background fillThis script allows you to add background highlights to charts during any regional trading session, customize your own trading time, and is precise and customizable yet simple and easy to use, making it more convenient to review transactions.
Support global mainstream time zones: The drop-down list includes 30 commonly used IANA time zones (default is Asia/Shanghai) (such as Asia/Shanghai, America/New_York, Europe/London, etc.), one-click switching, no need to manually calculate the time difference.
Fully localized time input: "Start hour/minute" and "End hour/minute" are filled in with the local time of the selected time zone. The end hour defaults to 23:00 and can be adjusted to 0-23 at will.
Accurate time difference splitting: The script internally splits the time zone offset into whole hours and remainder minutes (supports half-hour zones, such as UTC+5:30), and ensures that all parameters are integers when calling timestamp to avoid errors.
Dynamic background rendering: Each K-line is judged according to the UTC timestamp whether it falls within the set range. If it meets the time period, it will be marked with a semi-transparent green background, and it will return to its original state after crossing the time period, helping you to identify the opening, closing or active period of any market at a glance.
Wide range of scenarios: It can be used for time-sharing highlighting of all-weather varieties of foreign exchange and cryptocurrency, and can also be used in conjunction with backtesting and timing strategies to only send signals during the active period of the target market, greatly improving trading efficiency and strategy accuracy.
Just select the region and set the time, and the script will automatically complete all complex time zone conversions and drawing, allowing you to focus on the transaction itself.
Evening Sessions HighlighterHighlights the evening hours ranging from opening hours to any other hours specified.
ATR & SMA Info Table (v6)An indicator that displays ATR data with percentage change and moving average including stock name and time frame
✅ SMA20 Trend Table -(MAJOAK)Trend table of Bullish or Bearish to the SMA 20. Displays 1 Day, 1Hr, 15 Min and 5 min.
OTE+STDV MultiTF IndicatorVERY ROUGH DRAFT OF INDICATOR EXPECTS BUGS. I AM NOT A CODER SO THIS SHOULD NOT BE PERFECT.
Place limit orders on yellow lines. You will get a buy signal only during perfect A+ setups.
PLEASE MESSAGE ME IF YOU ARE A CODER AND CAN FIX THIS OR MAKE IT BETTER
Discord: itscwiby
Orange Lines are Rejection Zones
Yellow Lines are Limit order spots. Usually you want to take this with a 40 tick SL. You can also use a Fib tool on the green box to get a better entry.
Generally you want to look at the 30m chart or higher for these zones and find a optimal entry on a smaller timeframe.
EMA Trend Dashboard
Trend Indicator using 3 custom EMA lines. Displays a table with 5 rows(position configurable)
-First line shows relative position of EMA lines to each other and outputs Bull, Weak Bull, Flat, Weak Bear, or Bear. EMA line1 should be less than EMA line2 and EMA line 2 should be less than EMA line3. Default is 9,21,50.
-Second through fourth line shows the slant of each EMA line. Up, Down, or Flat. Threshold for what is considered a slant is configurable. Also added a "steep" threshold configuration for steep slants.
-Fifth line shows exhaustion and is a simple, configurable calculation of the distance between EMA line1 and EMA line2.
--Lines one and five change depending on its value but ALL other colors are able to be changed.
--Default is somewhat set to work well with Micro E-mini Futures but this indicator can be changed to work on anything. I created it to help get a quick overview of short-term trend on futures. I used ChatGPT to help but I am still not sure if it actually took longer because of it.
Multi-TF Candle Close - PROPTRADERZ Draws a horizontal ray at the close of the last completed candle from a selectable timeframe (e.g. 1m, 5m, 15m), regardless of your current chart. Includes optional price label with offset for better visibility on short-term charts like 15s or 5s. Great for multi-timeframe traders.
Overnight High/Low, Session High/LowGives you the following information:
- Previous session(s) high and low (up to 10)
- The current session overnight high and low
- The previous session open and close
When any prior day high or low is broken, the line for it will stop extending to the right.
Normalized Volume IndexIn the realm of technical analysis, volume is more than just a measure of market activity—it’s a window into trader psychology. Two classic indicators that harness this insight are the Positive Volume Index (PVI) and Negative Volume Index (NVI). Developed in the early 20th century by Paul L. Dysart and later refined by Norman G. Fosback in 1976, these tools aim to distinguish between the behavior of the so-called “smart money” and the broader market crowd.
- Positive Volume Index (PVI) tracks price changes only on days when trading volume increases. It assumes that rising volume reflects the actions of less-informed retail traders—those who follow the herd.
- Negative Volume Index (NVI), on the other hand, focuses on days when volume decreases, under the premise that institutional investors (the “smart money”) are more active when the market is quiet.
This dichotomy allows traders to interpret market sentiment through the lens of volume behavior. For example, a rising NVI during a price uptrend may suggest that institutional investors are quietly accumulating positions—often a bullish signal.
Traders use PVI and NVI to:
- Confirm trends: If NVI is above its moving average, it often signals a strong underlying trend supported by smart money.
- Spot reversals: Divergences between price and either index can hint at weakening momentum or upcoming reversals.
- Gauge participation: PVI rising faster than price may indicate overenthusiastic retail buying—potentially a contrarian signal.
These indicators are often paired with moving averages (e.g., 255-day EMA) to generate actionable signals. Fosback’s research suggested that when NVI is above its one-year EMA, there’s a high probability of a bull market.
While PVI and NVI are cumulative indices, normalizing them—for example, by rebasing to 100 or converting to percentage changes—offers several benefits:
- Comparability: Normalized indices can be compared across different assets or timeframes.
- Clarity: It becomes easier to visualize relative strength or weakness.
- Backtesting: Normalized values are more suitable for algorithmic strategies and statistical analysis.
Normalization also helps when combining PVI/NVI with other indicators in multi-factor models, ensuring no single metric dominates due to scale differences
In essence, PVI and NVI offer a nuanced view of market dynamics by separating the noise of volume surges from the quiet confidence of institutional moves. When normalized and interpreted correctly, they become powerful allies in a trader’s decision-making toolkit.
How to use this (Educational material):
For instance, on average, when the Negative Volume Index (NVI) remains above its midline, the market tends to trend positively, reflecting consistent institutional participation. However, when the NVI dips and stays below the midline, it often signals a negative trend, indicating that smart money is stepping away or reducing exposure.
Another telling scenario occurs when the Positive Volume Index (PVI) drops below the NVI. While this might coincide with a brief price dip, institutions often interpret this as an opportunity to buy the dip, quietly accumulating positions while retail participants exit in panic. The result? A market recovery driven by smart money.
Conversely, when the PVI consistently remains above the NVI, it may point to retail enthusiasm outpacing institutional support. This imbalance can flag a tired or overextended trend, where the smart money has already positioned itself defensively. When this pattern persists, there's a high likelihood that institutions will pull the plug, leading to a pronounced trend reversal.
Simple Market Kill-Zones + Open (UTC)What it does
This Pine v6 indicator highlights the “kill-zones” around the big session opens—Asian (23:00–03:00 UTC), London (07:00–09:00 UTC) and New York (13:30–15:30 UTC)—by reading each bar’s actual UTC timestamp. It also draws dashed vertical lines at exactly 23:00, 07:00 and 13:30 UTC, so you never miss the liquidity ramps. Because it uses raw UTC hours/minutes, it stays accurate even when exchanges pause (e.g. Nano-BTC’s daily halt) or your chart’s display timezone changes.
Key Inputs
Show Asia/London/NY Kill Zone – toggle each shaded band on/off
Zone Colors – pick your own semi-transparent hues
Show Session-Open Lines – enable dashed verticals at the exact open times
Line Colors – customize the line opacity and style
How to use
Apply on your favorite timeframe (15 min–1 h is a sweet spot).
Toggle the zones you care about and pick readable colors.
Use the dashed lines as entry triggers or as visual bookmarks.
In your own Pine strategies, wrap order logic with the zone booleans to only trade when liquidity’s alive.
Custom EMA High/Low & SMA - [GSK-VIZAG-AP-INDIA] Custom EMA High/Low & SMA -
1. Overview
This indicator overlays a dynamic combination of Exponential Moving Averages (EMA) and Simple Moving Average (SMA) to identify momentum shifts and potential entry/exit zones. It highlights bullish or bearish conditions using color-coded SMA logic and provides visual Buy/Sell signals based on smart crossover and state-based logic.
2. Purpose / Use Case
Designed for traders who want to visually identify momentum breakouts, trend reversals, or pullback opportunities, this tool helps:
Spot high-probability buy/sell zones
Confirm price strength relative to volatility bands (EMA High/Low)
Time entries based on clean visual cues
It works well in trend-following strategies, particularly in intraday or swing setups across any liquid market (indices, stocks, crypto, etc.).
3. Key Features & Logic
✅ EMA High/Low Channel: Acts as dynamic support/resistance boundaries using 20-period EMAs on high and low prices.
✅ Timeframe-Specific SMA: A 33-period SMA calculated from a user-defined timeframe (default: 10-minute) for flexible multi-timeframe analysis.
✅ Signal Generation:
Buy: When SMA drops below EMA Low and close is above EMA High.
Sell: When SMA rises above EMA High and price closes below both EMAs.
Optionally, signals also fire based on SMA color changes (green = bullish, red = bearish).
✅ Strict or Loose Signal Logic: Choose between precise crossovers or broader state-based conditions.
✅ Debugging Tools: Optional markers for granular insight into condition logic.
4. User Inputs & Settings
Input Description
EMA High Length Period for EMA of high prices (default: 20)
EMA Low Length Period for EMA of low prices (default: 20)
SMA Length Period for Simple Moving Average (default: 33)
SMA Timeframe Timeframe for SMA (default: “10”)
Show Buy/Sell Arrows Enable visual arrow signals for Buy/Sell
Strict Signal Logic ON = crossover-based signals; OFF = state logic
Plot Signals on SMA Color Change Enable signals on SMA color shifts (Green/Red)
Show Debug Markers Plot small markers to debug condition logic
5. Visual Elements Explained
🔵 EMA High Line – Blue line marking dynamic resistance
🔴 EMA Low Line – Red line marking dynamic support
🟡 SMA Line – Color-coded based on position:
Green if SMA < EMA Low (Bullish)
Red if SMA > EMA High (Bearish)
Yellow otherwise (Neutral)
✅ BUY / SELL Labels – Displayed below or above candles on valid signals
🛠️ Debug Circles/Triangles – Help visually understand the signal logic when enabled
6. Usage Tips
Best used on 5–30 min timeframes for intraday setups or 1H+ for swing trades.
Confirm signals with volume, price action, or other confluences (like support/resistance).
Use strict mode for more accurate entries, and non-strict mode for broader trend views.
Ideal for identifying pullbacks into trend, or early reversals after volatility squeezes.
7. What Makes It Unique
Multi-timeframe SMA integrated with EMA High/Low bands
Dual signal logic (crossover + color shift)
Visually intuitive and beginner-friendly
Minimal clutter with dynamic signal labeling
Debug mode for transparency and learning
8. Alerts & Automation
The indicator includes built-in alert conditions for:
📈 Buy Alert: Triggered when a bullish condition is detected.
🔻 Sell Alert: Triggered when bearish confirmation is detected.
These alerts can be used with TradingView's alert system for real-time notifications or bot integrations.
9. Technical Concepts Used
EMA (Exponential Moving Average): Reacts faster to recent price, ideal for trend channels
SMA (Simple Moving Average): Smoother average for detecting general trend direction
Crossover Logic: Checks when SMA crosses over or under EMA levels
Color Coding: Visual signal enhancement based on relative positioning
Multi-Timeframe Analysis: SMA calculated on a custom timeframe, powerful for confirmation
10. Disclaimer
This script is for educational and informational purposes only. It is not financial advice. Always backtest thoroughly and validate on demo accounts before applying to live markets. Trading involves risk, and past performance does not guarantee future results.
11. Author Signature
📌 Indicator Name: Custom EMA High/Low & SMA -
👤 Author: GSK-VIZAG-AP-INDIA
Avg daily rangeThe Average Daily Range (ADR) is a technical indicator that measures the average price movement of a financial instrument over a specific period.