Swing Averages & Next Swing Forecast Swing Averages & Next Swing Forecast
What it does:
Finds confirmed swing highs/lows, keeps only “significant” legs (default ≥ $0.10), then computes average up/down leg sizes and projects the next swing low and next swing high. Optionally runs calculations on a higher timeframe (HTF) while plotting on your current chart.
Chart-Muster
Renko WPR Color ChangerChanges color when williams percent R is between 0 and -20 or when between -80 and -100. Works with renko, HA and regular candles. Can change color.
SMC Yardımcısı - TR (Optimize v2.1)BOS (Break of Structure)
Labels when price closes above/below a previous swing high/low.
Shows continuation of the current trend.
CHOCH (Change of Character)
Appears when trend direction shifts (from bullish to bearish or vice versa).
Marks possible market reversals.
FVG (Fair Value Gap)
Highlights price imbalance zones (3-candle gaps).
These are often areas where price later returns to “fill” liquidity.
OTE (Optimal Trade Entry, 62–79% retracement)
Uses the last swing high and swing low.
Draws the Fibonacci retracement zone (62–79%), considered a common institutional entry area.
BSL (Buy Side Liquidity – Equal Highs)
Detects equal highs and plots them as liquidity pools.
Shows where buy-side liquidity/stop hunts may occur.
SSL (Sell Side Liquidity – Equal Lows)
Detects equal lows and plots them.
Indicates sell-side liquidity levels.
Inducement / Liquidity Sweep
If price wicks above BSL or below SSL but closes back inside, a “sweep” label is shown.BOS (Break of Structure – Yapı Kırılımı)
Mark Every 100 Candles Backmark every 100 candles from last to back. Show traders can regconize daily range ( 100 candles) to reduce noise when analyzing.
Mohammad - Auto Trendlines - Versión EstableMohammad - Auto Trendlines - Dynamic Support & Resistance
This indicator automatically identifies and draws trendlines by connecting pivot highs and pivot lows, similar to how a professional trader would manually draw them on a chart. Each pivot point is used only once to maintain clean, non-overlapping lines.
Key Features:
Automatically detects and connects pivot points to form trendlines
Distinguishes between resistance lines (connecting highs, drawn from top) and support lines (connecting lows, drawn from bottom)
Each pivot/wick is used for maximum one trendline, preventing messy overlapping
Color-coded: Black for resistance lines (bearish), Blue for support lines (bullish)
Support lines can be toggled on/off (hidden by default for cleaner charts)
Parameters:
Minimum/Maximum Length: Controls the range of bars to search for trendline connections (5-40 bars default)
Pivot Strength: Determines how prominent a high/low must be to qualify as a pivot point
Line Extension: Projects trendlines forward into the future
Tolerance: Flexibility for validating price touches on the trendline
Maximum Lines: Limits the number of visible trendlines to prevent chart clutter
How It Works:
The indicator scans historical price data to identify significant pivot points (local highs and lows). It then connects these pivots with trendlines following these rules:
Resistance lines connect pivot highs where the recent high is lower than the older high (descending)
Support lines connect pivot lows where the recent low is higher than the older low (ascending)
Lines must have intermediate price touches to be considered valid
Each pivot can only be used once, ensuring clean, logical trendline placement
Use Cases:
Identify key support and resistance levels automatically
Spot trend continuations and potential reversal points
Save time by eliminating manual trendline drawing
Maintain consistency in technical analysis
The indicator updates every 5 bars and on the last bar to ensure current relevance while maintaining performance.
IFVG by Toño# IFVG by Toño - Pine Script Indicator
## Overview
This Pine Script indicator identifies and visualizes **Fair Value Gaps (FVG)** and **Inverted Fair Value Gaps (IFVG)** on trading charts. It provides advanced analysis of price inefficiencies and their subsequent inversions when mitigated.
## Key Features
### 1. Fair Value Gap (FVG) Detection
- **Bullish FVG**: Detected when `low > high ` (gap between current low and high of 2 bars ago)
- **Bearish FVG**: Detected when `high < low ` (gap between current high and low of 2 bars ago)
- Visual representation using colored rectangles (green for bullish, red for bearish)
### 2. Inverted Fair Value Gap (IFVG) Creation
- **IFVG Formation**: When a FVG gets mitigated (price fills the gap with candle body), an IFVG is created
- **Color Inversion**: The IFVG takes the opposite color of the original FVG
- Mitigated bullish FVG → Creates red (bearish) IFVG
- Mitigated bearish FVG → Creates green (bullish) IFVG
- **Mitigation Logic**: Uses only candle body (not wicks) to determine when a FVG is filled
### 3. Customizable Display Options
- **Show Normal FVG**: Toggle visibility of regular Fair Value Gaps
- **Show IFVG**: Toggle visibility of Inverted Fair Value Gaps
- **Smart FVG Display**: Even when "Show Normal FVG" is disabled, FVGs that are part of IFVGs remain visible
- **Extension Control**: Option to extend FVGs until they are mitigated
### 4. IFVG Extension Methods
- **Full Cross Method**: IFVG remains active until price completely crosses through it (including wicks)
- **Number of Bars Method**: IFVG remains active for a specified number of bars (1-100)
### 5. Visual Mitigation Signals
- **Cross Markers**: Shows X-shaped markers when IFVGs are mitigated
- Green cross above bar: Bearish IFVG mitigated
- Red cross below bar: Bullish IFVG mitigated
### 6. Comprehensive Alert System
- **IFVG Formation Alerts**: Notifications when new IFVGs are created
- **IFVG Mitigation Alerts**: Notifications when IFVGs are filled/mitigated
- **Separate Controls**: Individual toggles for bullish and bearish IFVG alerts
## How It Works
### Step-by-Step Process:
1. **FVG Detection**: Script continuously scans for 3-bar patterns that create price gaps
2. **FVG Tracking**: Each FVG is stored with its coordinates, type, and status
3. **Mitigation Monitoring**: Script watches for candle bodies that fill the FVG
4. **IFVG Creation**: Upon mitigation, creates an IFVG with opposite polarity at the same location
5. **IFVG Management**: Tracks and extends IFVGs according to chosen method
6. **Visual Updates**: Dynamically updates colors and visibility based on user settings
## Use Cases
- **Support/Resistance Analysis**: IFVGs often act as strong support/resistance levels
- **Market Structure Understanding**: Helps identify how market inefficiencies get filled and reversed
- **Entry/Exit Timing**: Can be used to time entries around IFVG formations or mitigations
- **Confluence Analysis**: Combine with other technical analysis tools for stronger signals
## Configuration Parameters
- **Colors**: Customizable colors for bullish/bearish FVGs and IFVGs
- **Extension**: Choose how long to display gaps on the chart
- **Alerts**: Full control over notification preferences
- **Visual Clarity**: Options to show/hide different gap types for cleaner charts
## Technical Specifications
- **Pine Script Version**: 5
- **Overlay**: True (displays directly on price chart)
- **Max Boxes**: 500 (supports up to 500 simultaneous gaps)
- **Performance**: Optimized array management for smooth operation
This indicator is particularly valuable for traders who use **Smart Money Concepts (SMC)** and **Inner Circle Trader (ICT)** methodologies, as it provides clear visualization of how institutional order flow creates and fills market inefficiencies.
Offset Strike LinesOffset Strike Lines (OSL) is a tool designed to plot strike-based grid levels by offsetting one symbol against another. It compares two instruments (for example, futures vs. index) and projects evenly spaced horizontal lines above and below a calculated reference price. Each line is annotated with the adjusted counter-symbol price, making it easy to visualize relative levels across markets. Customization options include interval size, number of lines, text size, line and text colors — giving traders a clear, flexible framework for mapping out strike zones and price relationships.
ICT HTF Candles + CISD + FVG, by AlephxxiiICT HTF Candles + CISD + FVG
A practical, friendly overlay for ICT-style trading
This indicator gives you three things at once—right on your chart:
HTF Candles Panel (context):
Compact candles from higher timeframes (e.g., 5m, 15m, 1H, 4H, 1D, 1W) appear to the right of price so you always see the higher-timeframe story without switching charts. It includes labels, remaining time for the current HTF candle, and optional open/high/low/close reference lines.
CISD Levels (bias flips):
Automatically plots +CISD and -CISD lines. When price closes above +CISD, the indicator considers bullish delivery. When price closes below -CISD, it considers bearish delivery. An on-chart table (optional) shows the current bias at a glance.
FVG (Fair Value Gaps):
Highlights inefficiency zones (gaps) on your current timeframe and/or a selected higher timeframe. You can choose to mark a gap “filled” when price hits the midpoint (optional).
Quick start (2 minutes)
Add to chart and keep your normal trading timeframe (e.g., 1–5m).
In settings → HTF 1..6, pick the higher timeframes you want to see (e.g., 5m, 15m, 1H, 4H, 1D, 1W).
Turn on FVG (current, HTF or both).
Watch +CISD / -CISD lines and the Current State table.
Close above +CISD → Bullish bias
Close below -CISD → Bearish bias
Trade with the bias and use FVGs as areas to refine entries or targets.
How to read it (the simple way)
Bias (CISD):
Bullish once price closes above the active +CISD level.
Bearish once price closes below the active -CISD level.
The small table (if enabled) says Bullish or Bearish right now.
HTF panel:
Shows higher-timeframe candles next to your current chart.
Labels show the timeframe (e.g., 1H) and a countdown for the current candle.
Optional traces draw HTF Open/High/Low/Close levels—great “magnets” for price.
FVGs:
Shaded boxes = potential inefficiency areas.
If Midpoint Fill is on, a touch of the midline counts as filled.
You can display current TF, HTF, or both.
Suggested workflow (popular ICT-style intraday)
Define bias with CISD
Only look for longs if Bullish, shorts if Bearish.
Check HTF context
Are you trading into a large HTF FVG or key HTF O/H/L/C level? That can be a target or a headwind.
Refine entries with FVGs
On your entry TF (1–5m), use fresh FVGs in the direction of the bias. Avoid fading straight into big HTF imbalances.
Key settings you’ll actually use
HTF 1..6: toggle each strip, select timeframe, and how many candles to show.
Style & layout: adjust offset, spacing, and width of the right-side panels.
Labels & timers: show/hide HTF name and remaining time; place labels at Top/Bottom/Both.
Custom daily open (NY): set the 1D candle to start at Midnight, 08:30, or 09:30 (America/New_York).
Trace lines: optional HTF O/H/L/C lines (style, width, anchor TF).
FVG module (extra): choose Current TF / HTF / Both, enable Midpoint Fill, auto-delete on fill, and show timeframe labels.
CISD lines: customize color, style (solid/dotted/dashed), thickness, and forward extension.
Table: enable/disable and choose its position.
Alerts
When a CISD completes, the script fires an alert (e.g., “Bullish CISD Formed” or “Bearish CISD Formed”).
Tip: Set your TradingView alert once on the indicator, then choose the alert message you want to receive.
Notes & limitations (read me)
“VI” label: The “Volume Imbalance” option marks price imbalances (body non-overlap). It does not read volume data.
Timezone: Daily logic and timers use America/New_York, which aligns with US indices/equities and common ICT practice.
Performance: This tool draws many boxes/lines/labels. If your chart feels heavy, reduce the number of HTFs or candles shown, or narrow panel width.
Repainting: HTF panels are designed to avoid future leakage; FVG logic follows standard 3-bar checks. As usual, wait for candle closes for confirmations.
Level cleanup: If Keep old CISD levels is OFF (default), the script keeps only the current active CISD to reduce clutter.
SCTI-D1SCTI-D1 Indicator Introduction / 指标简介
The SCTI-D1 (Smart Composite Trading Indicator - Daily) is a comprehensive, multi-feature trading tool designed for serious traders who demand depth, flexibility, and clarity in their market analysis. This indicator combines several powerful concepts into one seamless workflow, including:
Multiple EMA Systems with customizable lengths and visibility
PMA (Projected Moving Average) with fill options between lines
VWAP with configurable anchors and deviation bands
Divergence Detection for MACD and Histogram
Volume Profile with node detection (peaks, troughs, highs, lows)
Smart Money Concepts including order blocks, fair value gaps, equal highs/lows, and market structure shifts
Whether you trade stocks, forex, or cryptocurrencies, the SCTI-D1 helps you identify key levels, track institutional activity, and spot high-probability reversal signals—all in one clean, customizable interface.
SCTI-D1 指标简介
SCTI-D1(智能综合交易指标 - 日线版)是一款功能全面的交易工具,专为需要深度、灵活性和清晰市场分析的专业交易者设计。该指标将多种强大概念融合在一个流畅的工作流程中,包括:
多组EMA系统,可自定义长度和显示
PMA(投影移动平均线),支持均线间填充色
VWAP,可配置锚定周期和偏差带
背离检测,支持MACD和柱状图
成交量分布,支持节点检测(峰值、谷值、最高、最低)
聪明钱概念,包括订单块、公允价值缺口、等高/等低和市场结构转换
无论您交易股票、外汇还是加密货币,SCTI-D1 都能帮助您识别关键水平、跟踪机构资金动向并发现高概率反转信号——所有功能均集成在一个清晰可定制的界面中。
Ichimoku Trading Signals 1Swing Trading (Strategy 1, H4+ timeframes)
Use the Kumo Cloud to identify the trend: price above a green cloud = uptrend; price below a red cloud = downtrend.
Entry signals occur when price or the Tenkan-sen line crosses the Kijun-sen line, confirmed by Chikou Span momentum.
Exit triggers when price crosses back through the Kijun-sen or when Tenkan-sen crosses back below (for long positions) or above (for short positions).
Place stop-loss orders just beyond the nearest swing low/high candle cluster to manage risk tightly.
Ichimoku Trading Signals 2Swing Trading (Strategy 1, H4+ timeframes)
Use the Kumo Cloud to identify the trend: price above a green cloud = uptrend; price below a red cloud = downtrend.
Entry signals occur when price or the Tenkan-sen line crosses the Kijun-sen line, confirmed by Chikou Span momentum.
Exit triggers when price crosses back through the Kijun-sen or when Tenkan-sen crosses back below (for long positions) or above (for short positions).
Place stop-loss orders just beyond the nearest swing low/high candle cluster to manage risk tightly.
Strict VWAP+EMA Trend Aligner with Volume Power - SUBODH BAJPAIAuthor: SUBODH BAJPAI
This indicator combines VWAP, EMA crossover, and Volume Strength filters into a single, easy-to-read system with clear signals and backtest-ready logic.
🔑 Features
• VWAP Tracking → Confirms trend bias (Above = Bullish, Below = Bearish).
• EMA 10/20 Crossovers → Detects momentum shifts (10 > 20 = Long trend).
• Volume Strength Check → Uses both Vol/VolSMA and RVOL thresholds to validate real demand/supply.
• Strict Align Mode → A Long signal triggers only when ALL conditions agree (VWAP, EMA crossover, strong volume).
• ATR-based Stop Loss & Take Profit → Built-in risk management with RR targeting and optional trailing stop.
• Smart Debounce → Prevents noisy/repeated signals by enforcing cooldown bars.
• Backtest Ready → Full strategy version available in Strategy Tester.
🎯 Usage
• Works on any timeframe (intraday → swing).
• Best used on liquid stocks, indices, or futures.
• Look for “LONG” arrows/shapes when all confirmations align.
• Use along with your own support/resistance levels or price action setups.
⚠️ Disclaimer
This script is for educational purposes only.
Not financial advice. Always validate signals with your own strategy and risk management.
Forex 5m Simple Scanner + RSI DivergenceHello everyone. this is a easy to use indicator.
I wanted something very easy to visualize and understand. Great for the beginner's.
About this script:
“Forex 5m Simple Scanner + RSI Divergence”
This scanner helps beginner traders quickly identify trade opportunities across the top 10 forex pairs. It combines a simple EMA crossover system with an optional RSI filter to confirm trend direction, and adds RSI divergence detection to spot potential reversals early.
The built-in table shows each pair’s trend, RSI value, buy/sell signal, and divergence status—all in one place.
For beginners, this makes it easier to:
Avoid flipping between multiple charts.
See clear BUY/SELL 🚀 signals instead of guessing.
Spot high-probability setups with RSI divergence markers (😊/☹️).
It simplifies decision-making by turning complex signals into a straightforward dashboard that highlights where attention is needed most.
> 50% Body Candle A script that give the number of ATR of a candle. Good to mesure how explosive a move is.
Smart Money SignalsSmart Money Signals – Market Flow & Structure Visualizer
Overview
Smart Money Signals is a precision trading tool designed for traders who want to see market structure and momentum flow in real time. By detecting pivots, momentum imbalances, and dynamic support/resistance levels, the indicator transforms raw price action into a clear visual narrative of where capital is entering and exiting the market.
Instead of lagging averages or cluttered signals, Smart Money Signals highlights the moments that matter most—where bullish and bearish flows are confirmed, where support or resistance breaks, and where momentum zones show the true battleground between buyers and sellers. Its adaptive design makes it equally effective for scalpers seeking sharp entries, swing traders tracking reversals, and longer-term traders looking for confirmation of bias.
How It Works
The engine behind Smart Money Signals relies on swing detection and a configurable sensitivity filter. By monitoring directional momentum across recent bars, the system identifies bullish pivots (where downside exhaustion flips into strength) and bearish pivots (where upward thrust collapses into weakness).
When price confirms a pivot, the indicator draws flow lines to mark the breakout and labels them as either continuation or reversal events, depending on existing market bias. Momentum zones are automatically plotted, highlighting the critical areas where buyers defended price or sellers pressed it lower.
Dynamic support and resistance levels extend forward in time, updating live as price develops. These zones change color when broken, visually signaling whether structure has held or failed. Gradient background shading further emphasizes moments of extreme momentum, such as overbought or oversold surges, so that traders instantly see when market pressure intensifies.
Signals and Market Flows
Smart Money Signals provides visual cues that are both intuitive and actionable:
📈 Bullish Flow Signals appear when price breaks above a confirmed pivot, signaling continuation or reversal into strength.
📉 Bearish Flow Signals appear when price breaks below a confirmed pivot, indicating continuation or reversal into weakness.
Momentum Zones highlight the defended areas between pivots, giving traders a visual map of where structure is strongest.
Dynamic Support & Resistance lines extend across the chart, shifting from defense to failure when broken, ensuring that the most relevant levels are always visible.
Break Signals mark the exact bar where key levels give way, confirming structural violations in real time.
By filtering out noise and focusing on meaningful flow events, the system helps traders avoid overreaction and focus only on high-probability structural shifts.
Strategy Integration
Smart Money Signals is versatile across trading styles:
Trend Continuation : Enter in the direction of flow signals, using dynamic zones as both confirmation and stop-loss placement.
Reversal Trading : Watch for pivots tagged as reversal points, where market bias flips and new structure is created.
Momentum Zone Entries : Use the automatically drawn zones to identify low-risk entries on pullbacks or retests.
Bias Alignment : The integrated dashboard reveals the current market bias—bullish, bearish, or neutral—helping traders stay aligned with the dominant flow.
Stop-losses can be positioned beyond the dynamic zone on the opposite side, while take-profits may be guided by the width of zones or momentum-driven extensions. On higher timeframes, the indicator provides context for macro structure, while lower timeframes allow for tactical entry refinement.
Advanced Techniques
Traders seeking deeper precision can combine Smart Money Signals with volume or order flow tools to validate pivots and zone defenses. Monitoring the sequence of bullish and bearish flows helps identify trend maturity, while analyzing the success rate of pivots in the analytics panel builds a data-driven approach to confidence in signals.
Adjusting swing period and sensitivity allows the indicator to adapt to different market conditions, from volatile crypto pairs to steady forex majors. The flexible visual themes—Cyber, Ocean, Sunset, Matrix—ensure readability across setups, while gradient shading keeps the chart intuitive even under fast-moving conditions.
Why Use Smart Money Signals
Markets are driven by liquidity, momentum, and structure. Smart Money Signals uncovers these forces by translating price action into a clear visual map of flow. It shows:
Where structure was built.
Where it was defended.
Where it was broken.
And where momentum is likely to carry next.
By combining flow detection, dynamic zones, and a live analytics dashboard, the indicator provides traders with a complete framework for reading price action in real time.
Whether you trade crypto, forex, or indices, Smart Money Signals adapts seamlessly to any asset class, giving you clarity, precision, and confidence to execute without second-guessing.
Liquidity Sweep Pro (HTF + Confirmation) — patchedHow it works (in brief)
Bearish Sweep: High > (PDH/PWH + tolerance) and close < level, plus the selected confirmation.
Bullish Sweep: Low < (PDL/PWL − tolerance) and close > level, plus the selected confirmation.
Confirmation:
ATR: Candlestick range ≥ atrMult × ATR and candlestick direction matching.
MSS: Micro-structure shift: Bear → close below the most recent mini-low, Bull → close above the most recent mini-high.
ATR+MSS (default): both conditions must be met.
Optional session filter: Signals are only generated within the selected time period (exchange time period).
No repainting - no Lookahead: request.security(..., lookahead=barmerge.lookahead_off)
No repainting - no intrabar flutter: Signals only at candle close via barstate.isconfirmed (own _close signals for plot & alerts)
Use Previous Day High/Low
Activates PDH/PDL (previous day's high/low) as external liquidity levels.
These values come from the previous day's completed candlestick (no lookahead).
Use Previous Week High/Low
Activates PWH/PWL (previous week's high/low) as additional, "heavier" liquidity levels.
Also from the previous week's completed candlestick (no lookahead).
Sweep Tolerance (Ticks)
"Safety margin" in ticks around one level to filter out micro-wicks/spread noise.
Internal: tickSize = syminfo.mintick * tickTol.
Guidelines:
FX (majors, H1–H4): 1–5 ticks
Indices (M5–H1): 1–3 ticks
CFDs/volatile/smaller TFs: 5–10 ticks
Crypto: 5–50 ticks depending on the symbol
Larger = stricter (fewer, cleaner sweeps).
ATR Length
Period for ATR (volatility measure). The standard 14 is acceptable; 10–20 depends on the instrument.
Displacement Factor
Minimum "power" of the sweep candle relative to the current ATR.
Internal: rangeRatio = (High–Low)/ATR and we check rangeRatio > atrMult.
Guidelines:
0.6–0.8 → sensitive (more signals)
0.9–1.2 → stricter (only strong candles)
Micro-Structure Shift Lookback
Depth for the MSS check (structural break in the sweep direction):
Bear sweep: close < lowest(low, mssLen)
Bull sweep: close > highest(high, mssLen)
This ensures that we use the completed micro-structure as a reference (stable).
Guidelines: 3–8 (shorter = more, longer = stricter).
Confirmation Mode
None – only sweep at the level (wick back through the level + close).
ATR – sweep + candle must be "large enough" (rangeRatio > atrMult) and close appropriately (bearish/bullish).
MSS – Sweep + small structural break (MSS) in sweep direction.
ATR+MSS (recommended) – both conditions; very clean, but fewer signals.
Only trigger in session
Signals only within the specified session window.
Session Time (Exchange TZ)
Time window in the symbol's exchange time zone, not your local time.
FX/Indices: e.g., 8:00–17:00 (London/NY core time).
Crypto: often deactivated, as it operates 24/7.
Plot HTF Levels
Displays PDH/PDL/PWH/PWL as lines (for visual orientation).
Color Settings
PDH/PDL Color – Color of the daily levels.
PWH/PWL Color – Color of the weekly levels.
Bull/Bear Sweep Marker – Color of the sweep markers (shapes).
Best Practice Recommendations
Backtest setting: Alerts set to "Once per bar close" – your script will ultimately only generate bar close signals → 1:1 consistency.
Filter more strictly: Increase atrMult (e.g., 1.0–1.2) and mssLen 6–8.
More signals: atrMult 0.6–0.7, mssLen 3–4, but don't leave the tick tolerance too small (false sweeps!).
Instrument-specific:
FX H4/Session trading: Session on, tickTol 1–5, atrMult 0.8–1.0, mssLen 5–6.
Crypto: Session off, atrMult slightly higher (0.9–1.1), tickTol higher depending on the symbol.
Indices: Session on, tickTol 1–3, atrMult 0.8–1.0.
The additional filters
Min Body % / Max Wick %
filter out "pin candles" with a mini body and a large wick. These sweeps are often noise-oriented (stop clears without a real shift) → fewer false positives.
Min Close Distance from Level
requires that the closing price noticeably returns to the range. A close "close" to the level is often indecisive → even fewer false signals.
yEQ - TTTThe EQ LEVELS indicator by TheTopTraders is designed to display key Equilibrium (EQ) levels across different timeframes – Daily, Weekly, Monthly, and Yearly. These levels represent the midpoint between the high and low prices of the selected period and can serve as important reference points for trading decisions.
MarketSurge EPS Line [tradeviZion]MarketSurge EPS Line
EPS trend line overlay for TradingView charts, inspired by the IBD MarketSurge (formerly MarketSmith) EPS line style.
Displays EPS trend line on price charts
Uses 4-quarter earnings moving average
Shows earnings momentum over time
Works with actual, estimated, or standardized earnings data
Customizable line color and width
This script creates an EPS trend line overlay, similar to the EPS line feature in IBD MarketSurge (previously MarketSmith), allowing you to visualize earnings trends alongside price action.
Add script to chart
EPS line appears automatically
Adjust color and width in settings if needed
Hover over line for earnings details
Settings:
EPS data type (actual/estimate/standardized)
Line color and width
💡 Tip:
For the complete IBD Style experience, pair this EPS line with IBD Style Candles to visualize price action with clean bars like IBD Style
Smart Money Time (SMT)SMT Divergence – 90m / 30m / 10m (Prev-Cycle, Real-Time, Trailing)
Purpose:
This indicator finds SMT (Smart Money Technique) divergences between two related markets (e.g., CME_MINI:NQ1! vs CME_MINI:ES1! ). It does this per 90m/30m/10m cycles and only compares the current cycle to the immediately previous cycle —never older. It supports three cycle granularities:
90-minute cycles (9 blocks from 02:30–16:00 NY time)
30-minute sub-cycles (27 blocks)
10-minute sub-cycles (81 blocks; exactly 3 per 30-minute cycle)
For each cycle, the script tracks each symbol’s extreme (highest high for potential bearish SMT, lowest low for potential bullish SMT). When the leader sets a new extreme vs its own previous cycle while the lagger fails to do so vs its previous cycle, an SMT divergence is formed and plotted on the chart in real time. Lines trail as price makes new extremes within the same cycle.
What you’ll see on the chart:
A line from the previous cycle’s extreme to the current cycle’s extreme on the symbol pane where the indicator is applied (Primary A).
An optional text label at the current extreme (e.g., “90m SMT”, “30m SMT”, “10m SMT”).
Lines update (“trail”) as the current cycle goes on. When a new cycle begins, tracking resets for that cycle.
Default styling (editable):
90m SMT: solid, width 1, black
30m SMT: solid, width 1, black
10m SMT: dotted, width 1, black
You can toggle the text on/off and change width, style, and colors separately for 90m, 30m, and 10m.
Signals (definitions)
Bearish SMT: One market makes a Higher High vs its own previous cycle, while the other fails to make a Higher High vs its previous cycle.
Bullish SMT: One market makes a Lower Low vs its own previous cycle, while the other fails to make a Lower Low vs its previous cycle.
The line is drawn on Primary A by default.
Settings (explained)
Symbols
Primary Symbol A – the chart’s “leader/lagger” pane the script draws on.
Comparison Symbol B – the second market used for SMT checks.
Detection toggles
Detect SMT: 90m / 30m / 10m – turn on/off detection for each timeframe.
Note: The script always compares current cycle ↔ previous cycle only.
Validate candle direction
When enabled, the bar that makes the new extreme must also close in the confirming direction on that same market:
Bearish SMT: the bar that made the new Higher High must be a down close (close < open).
Bullish SMT: the bar that made the new Lower Low must be an up close (close > open).
This filter removes many “wick-only” probes and reduces false positives.
Turn off if you prefer to register SMTs on any intrabar extreme, regardless of bar close.
Delete SMT when invalidated
After an SMT forms, if the lagger later breaks the previous extreme it initially failed to break, the divergence is considered invalid and the script deletes the line and its label. (An “SMT invalidated” alert can fire if alerts are enabled.)
Enable alerts
Fires on SMT formed (separate messages for 90m/30m/10m and bullish/bearish) and on SMT invalidated.
To use, click Create Alert on the indicator and choose “Any alert() function call”. Use “Once per bar” (or per bar close) to taste.
Appearance – per timeframe (90m / 30m / 10m)
Bullish/Bearish colors, Line width, Line style, Show text (toggle subtitle label).
Text Options
Text color, Text size, Text offset (vertical spacing from the extreme).
How to use
Add to chart and select two related markets, e.g., NQ (A) vs ES (B).
Choose which cycles to monitor (90m / 30m / 10m).
Optionally enable Validate candle direction to demand a confirming close on the bar that made the extreme.
Watch for plotted SMTs:
Bearish SMT (HH vs no HH) often signals potential weakness
Bullish SMT (LL vs no LL) often signals potential strength
Use SMTs as context/confluence—e.g., near session highs/lows, liquidity pools, PD arrays, or your own levels. Combine with structure, order flow, and risk rules.
Turn on alerts to be notified when SMTs form or are invalidated in real time.
Notes & behavior
New-York session timing: Cycles are fixed windows in America/New_York and automatically handle DST.
Real-time & trailing: Lines trail to the most recent extreme within the same cycle but there’s no look-ahead across cycles.
No repaint across cycles: Each signal is strictly current cycle vs previous cycle.
Cleanup: On invalidation the script deletes the label first, then the line, preventing orphan labels.
Tips
10m SMTs are more frequent/noisier; 90m are fewer but more meaningful. Many traders look for multi-frame agreement (e.g., a 30m SMT aligning with a fresh 10m SMT).
If you want fewer signals, keep Validate candle direction on; if you want maximum sensitivity, turn it off.
Disclaimer: Educational use only. Markets are risky; do your own research and manage risk responsibly.
Bitcoin cme gap indicators, BINANCE vs CME exchanges premium gap
# CME BTC Premium Indicator Documentation CME:BTC1!
## 1. Overview
Indicator Name: CME BTC Premium
Platform: TradingView (Pine Script v6)
Type: Premium / Gap Analysis
Purpose:
* Visualize the CME BTC futures premium/discount relative to Binance BTCUSDT spot price.
* Detect gap-up or gap-down events on the daily chart.
* Assess short-term market sentiment and potential volatility through price discrepancies.
## 2. Key Features
1. CME Premium Calculation
* Formula:
CME Premium(%) = ((CME Price - Binance Price) / Binance Price) X 100
* Positive premium: CME futures are higher than spot → Color: Blue
* Negative premium: CME futures are lower than spot → Color: Purple
2. Premium Visualization Options
* `Column` (default)
* `Line`
3. Daily Gap Detection (Daily Chart Only)
* Gap Up: CME open > previous high × 1.0001 (≥ 0.01%)
* Gap Down: CME open < previous low × 0.9999 (≤ 0.01%)
* Visualization:
* Bar Color:
* Gap Up → Yellow (semi-transparent)
* Gap Down → Blue (semi-transparent)
* Background Color:
* Gap Up → Yellow (semi-transparent)
* Gap Down → Blue (semi-transparent)
4. Label Display
* If `Show CME Label` is enabled, the last bar displays a premium percentage label.
* Label color matches premium color; text color: Black.
* Style: `style_label_upper_left`, Size: `small`.
## 3. User Inputs
| Option Name | Description | Type / Default |
| -------------- | ------------------------- | --------------------------------------- |
| Show CME Label | Display CME premium label | Boolean / true |
| CME Plot Type | CME premium chart style | String / Column (Options: Column, Line) |
## 4. Data Sources
| Data Item | Symbol | Description |
| ------------- | ---------------- | ----------------------------- |
| Binance Price | BINANCE\:BTCUSDT | Spot BTC price |
| CME Price | CME\:BTC1! | CME BTC futures closing price |
| CME Open | CME\:BTC1! | CME BTC futures open price |
| CME Low | CME\:BTC1! | CME BTC futures low price |
| CME High | CME\:BTC1! | CME BTC futures high price |
## 5. Chart Display
1. Premium Column/Line
* Displays the CME premium percentage in real-time.
* Color: Premium ≥ 0 → Blue, Premium < 0 → Purple
2. Zero Line
* Indicates CME futures are at parity with spot for quick visual reference.
3. Gap Highlight
* Applied only on daily charts.
* Gap-up or gap-down is highlighted using bar and background colors.
4. Label
* Shows the latest CME premium percentage for quick monitoring.
## 6. Use Cases
* Analyze spot-futures premium to gauge CME market sentiment.
* Identify short-term volatility and potential trend reversals through daily gaps.
* Combine premium and gap analysis to support altcoin trend analysis and position strategy.
## 7. Limitations
* This indicator does not provide investment advice or trading recommendations; it is for informational purposes only.
* Data delays, API restrictions, or exchange differences may result in calculation discrepancies.
* Gap detection is meaningful only on daily charts; other timeframes may not provide valid signals.
Price Proximity Alert: EMA 25, MA 100, EMA 200 Holding LLCCustomised EMA`s and MA`s Proximity Alert System Indicator.
VSA Signals [odnac]This indicator applies Volume Spread Analysis (VSA) concepts to highlight important supply and demand events directly on the chart. It automatically detects common VSA patterns using price spread, relative volume, and candle structure, with optional trend filtering for higher accuracy.
Features:
Stopping Volume (SV): Signals potential end of a downtrend when heavy buying appears.
Buying Climax (BC): Indicates exhaustion of an uptrend with heavy volume near the top.
No Supply (NS): Weak selling pressure, often a bullish sign in an uptrend.
No Demand (ND): Weak buying interest, often a bearish sign in a downtrend.
Test: Low-volume test bar probing for supply.
Up-thrust (UT): Failed breakout with long upper wick, often a bearish trap.
Shakeout: Bear trap with high-volume wide down bar closing low.
Demand Absorption (DA): Demand absorbing heavy selling pressure.
Supply Absorption (SA): Supply absorbing heavy buying pressure.
Additional Options:
Background highlights for detected signals.
Configurable moving average (SMA, EMA, WMA, VWMA) as a trend filter.
Adjustable multipliers for volume and spread sensitivity.
Legend table for quick reference of signals and meanings.
Alerts available for all signals.
This tool is designed to help traders spot professional accumulation and distribution activity and to improve trade timing by recognizing supply/demand imbalances in the market.
Market Sessions [odnac]
This indicator highlights the three main global market sessions (USA, Europe, Asia) and their overlaps directly on the chart.
It helps traders quickly identify active trading periods and potential high-liquidity overlaps.
Features:
Customizable start and end times for each session
Optional daily dividers with weekday labels
Session markers displayed as circles above the candles
Overlap sessions displayed in distinct colors
Adjustable opacity for better chart visibility
Option to hide weekends
Sessions included:
USA Market Session (default 13:30–20:00 UTC)
Europe Market Session (default 07:00–16:00 UTC)
Asia Market Session (default 00:00–09:00 UTC)
Overlaps: USA + Europe, USA + Asia, Europe + Asia
This tool is designed for intraday timeframes (1m–60m) and can be useful for scalping, day trading, or session-based strategies.