Devils Mark Plus Volume Imbalance Multi TimeframeFollowing the success of the devil marks multi timeframe indicator I decided to add volume imbalance. Devils mark code remains unchanged here.
Functionality of the Devils mark remains the same as in when a candle prints without a wick at either end it indicates an area of price imbalance and it is assumed that the market will want to re-balance this level at some point in the future.
The same can be said for volume imbalances where 2 adjacent candles bodies don't meet. Again it it assumed the market will come back at some point to readdress this imbalance. Once mitigated the volume imbalance will be removed by the indicator.
These areas are best used to add confluence to trade ideas and shouldn't be used to formulate trade ideas on their own.
A table is included for easy reference.
Please note that data for timeframes lower than the current timeframe will not be shown. It is also worth noting that data on much higher timeframes than the current chart timeframe may not be shown due to data restrictions. If in doubt go up a timeframe !
I hope you find this indicator useful.
Chart patterns
COT Index Indicator 1) One‑liner
My version of the OTC COT Index indicator: a 0–120 oscillator built from CFTC COT data that shows where Commercial, Noncommercial, and Nonreportable net positions sit relative to recent extremes.
2) Short paragraph
This is my version of the OTC COT Index indicator. It converts CFTC Commitments of Traders (COT) net positions into a normalized 0–120 oscillator for each trader group—Commercials, Noncommercials, and Nonreportables—so you can quickly see when positioning is near recent highs or lows. Data comes from TradingView’s official COT library and supports both “Futures Only” and “Futures and Options” reports.
3) Compact bullets
What: My version of the OTC COT Index indicator
Why: Quickly spot when trader groups are near positioning extremes
Data: CFTC COT via TradingView/LibraryCOT/2; Futures Only or Futures & Options
How: Index = 120 × (Current − Min) ÷ (Max − Min) over a configurable lookback
Plots: Commercials (blue), Noncommercials (orange), Nonreportables (red)
Lines: Overbought, Midline, Oversold, optional 0/100, upper/lower bounds
Note: Values are relative to the chosen window; not trading advice
4) Publication‑ready (sections)
Overview
My version of the OTC COT Index indicator. It turns CFTC COT positioning into a 0–120 oscillator per trader group (Commercials, Noncommercials, Nonreportables) to highlight relative extremes.
Data source
CFTC Commitments of Traders via TradingView’s official library (TradingView/LibraryCOT/2).
Supports “Futures Only” and “Futures and Options.”
Method
Net positions = Longs − Shorts.
Index = 120 × (Current Net − Min(Net, Lookback)) ÷ (Max(Net, Lookback) − Min(Net, Lookback)).
Inputs
Weeks Look Back (normalization window)
Weeks Look Back for Historical Hi/Los (longer reference)
Report Type selection
Visuals
Three indexes by trader group, plus reference levels (OB/OS, Midline, optional 0/100).
Notes
Some symbols map to specific CFTC codes for reliability.
If no relevant COT data exists for the symbol, the script reports it clearly.
If you want this adapted to a specific platform’s character limits (e.g., TradingView’s publish dialog), tell me the target length and I’ll trim it to fit.
Fabio + Waqar SMC AlertThis script is a custom TradingView indicator designed to combine elements of a trend‑following VWAP approach (inspired by the “Fabio” strategy) with a smart‑money‑concepts framework (inspired by Waqar Asim). Here’s what it does:
* **Directional bias:** It calculates a 15‑minute VWAP and compares the current 15‑minute close to it. When price is above the 15‑minute VWAP, the script assumes a long bias; when below, a short bias. This reflects the trend‑following aspect of the Fabio strategy.
* **Liquidity sweeps:** Using recent pivot highs and lows on the current timeframe, it identifies when price takes out a recent high (for potential longs) or low (for potential shorts). This represents a “liquidity sweep” — a fake breakout that collects stops and signals a possible reversal or continuation.
* **Break of structure (BOS):** After a sweep, the script confirms that price is breaking away from the swept level (i.e., higher than recent highs for longs or lower than recent lows for shorts). This BOS confirmation helps avoid false signals.
* **Entry filters:** For a long setup, the bias must be long, there must be a liquidity sweep followed by a BOS, and price must reclaim the current‑timeframe VWAP. For a short setup, the opposite conditions apply (short bias, sweep + BOS to the downside, and price rejecting the VWAP).
* **Alerts and plot:** It provides two alert conditions (“Fabio‑Waqar Long Setup” and “Fabio‑Waqar Short Setup”) that you can attach to notifications. It also plots the intraday VWAP on your chart for visual reference.
In short, this script watches for a confluence of trend direction, liquidity sweeps, structural shifts, and VWAP reclaim/rejection, and then notifies you when those conditions align. You can use it as an alerting tool to identify high‑probability setups based on these combined strategies.
Highlight 15:00 to 19:00 candles CK - Indicator can used for back testing price movement on 1 hour timeframe for commodities
Previous session High/Low – Asia London USA Overview
This indicator automatically plots the Previous Day’s (PD) session Highs and Lows for the Asia (Tokyo), London, and USA (New York) trading sessions.
Each session is color-coded for clarity:
🟩 Asia (Green)
🟥 London (Red)
🟦 USA (Blue)
At the close of each session, the indicator records that session’s high and low, draws horizontal lines across the chart, and labels them neatly in the center of each range — above the high and below the low for perfect visual balance.
⚙️ How It Works
The script continuously tracks the current high and low within each session.
When a session closes, those values are locked in as the PD High and PD Low.
Clean lines and centered labels are drawn immediately.
The labels automatically offset slightly above or below the line to avoid overlap, with user-controlled spacing.
This helps traders quickly identify where price interacts with the previous session’s structure, a core concept for many session-based and liquidity-based strategies.
🧭 Sessions and Timezones
Each market session runs in its native timezone, so you can align them perfectly to your chart or your preferred trading hours:
Asia Session: Default 08:30 – 11:00 (Australia/Adelaide time)
London Session: Default 08:00 – 10:00 (Europe/London)
USA Session: Default 09:30 – 16:00 (America/New_York)
You can change each session’s hours and timezone from the Inputs panel.
🎨 Customization
In the Inputs menu you can:
Toggle each session on or off
Choose line color and thickness
Enable or disable labels
Adjust vertical offset (ticks) for label spacing
“High label offset” – moves label further above the high line
“Low label offset” – moves label further below the low line
These adjustments make it easy to keep charts clean and readable on any instrument or timeframe.
📈 Practical Use
This indicator is ideal for:
Session traders who mark PD Highs/Lows as liquidity zones
London or NY session scalpers who watch for breakouts, fakeouts, or reversals
ICT / Smart Money Concepts users wanting automatic session reference levels
Anyone wanting a quick visual map of inter-session structure
Julius Single TrailJulius Single Trail — How it works
This indicator combines a Kalman-like smoothed Donchian midline with an ATR-style volatility buffer to create a single adaptive trailing line that flips with trend. It also recolors candles to reflect regime and visually marks ranging conditions using Bollinger Band width. Optionally, it adds a dotted price line and can hide default candles for a clean, unified look.
Core logic
Donchian midpoint: Calculates the middle of the highest high and lowest low over Donchian Length. This is the directional anchor.
Kalman-like smoothing: Applies a lightweight exponential update to the Donchian midpoint using Alpha, reducing noise while staying responsive.
Volatility buffer: Uses RMA of True Range over Volatility Length multiplied by Volatility Multiplier to form an adaptive offset around the smoothed midline.
Dynamic trail:
Up-trend regime (regime = 1): The trail is kMid - offset and only ratchets upward (math.max), acting like a long stop.
Down-trend regime (regime = -1): The trail is kMid + offset and only ratchets downward (math.min), acting like a short stop.
Flip conditions: Regime flips only when price is on the far side of both the smoothed midpoint and the current trail:
Flip to down when close < kMid and close < dynTrail
Flip to up when close > kMid and close > dynTrail
Candle styling:
Wick color shows immediate price direction (green for bullish, red for bearish).
Body color follows the trail’s regime (Uptrend Color or Downtrend Color).
In ranging conditions, all candle elements turn gray.
Ranging detection:
Computes Bollinger Bands on close with BB Length and BB Multiplier.
Calculates width as a percentage of the basis. If width% (optionally smoothed) is below Range Threshold %, candles are gray to signal consolidation.
What it plots
Dynamic Trail: A single, thick line that changes color by regime:
Uptrend: Uptrend Color (default lime)
Downtrend: Downtrend Color (default red)
Optional Trail Fill to Close: A translucent band between the trail and the close (disabled by default).
Optional Dotted Price Line: A dotted horizontal line at the current price (toggle via Show Dotted Price Line).
Candle treatment:
You can hide default candles (Hide Default Candles), then use a separate custom-candle script for wick/body/border mapping. In this script, default candles can be made fully transparent to let the trail and colors dominate.
Inputs
Donchian Length: Window for the highest/lowest used to form the midline.
Kalman Alpha 0–1: Smoothing factor for the midline. Higher = more responsive, lower = smoother.
Volatility Length: RMA length of True Range for the volatility buffer.
Volatility Multiplier: Scales the buffer around the midline. Higher widens the trail, reducing flips.
Uptrend Color / Downtrend Color: Trail and body color by regime.
Show Cloud To Close: Fills between price and trail using the trail’s color.
Hide Default Candles: Makes the native candles fully transparent.
Show Dotted Price Line / Price Line Color: Toggles and colors the dotted price line.
Ranging parameters:
BB Length (Ranging) and BB Multiplier (Ranging): Bollinger Band settings.
Range Threshold %: If BB width% < threshold, candles turn gray to indicate range.
Use Smoothed Width / Width Smoothing Length: Smooths BB width% before comparison.
Signals and interpretation
Regime shifts:
Bullish flip: When price closes above both the smoothed midpoint and the current trail. Trail switches to the lower band (kMid - offset) and ratchets up.
Bearish flip: When price closes below both the smoothed midpoint and the current trail. Trail switches to the upper band (kMid + offset) and ratchets down.
Trend bias:
Green trail/body: Favor long bias; trail can serve as a dynamic stop.
Red trail/body: Favor short bias; trail can serve as a dynamic stop.
Ranging filter:
Gray candles: Lower-probability trend continuation; consider reducing position sizing, waiting for a breakout, or using mean-reversion tactics.
How to use it
Trend following:
Enter in the direction of the regime when flips occur or on pullbacks that respect the trail.
Use the trail as a stop-loss guide: exit when price closes beyond the trail and the regime flips.
Range awareness:
When candles turn gray, avoid trend entries or switch to range tactics. Wait for color to return and a clean flip.
Tuning suggestions:
Faster, more responsive: Lower Donchian Length, increase Alpha, lower Volatility Length and/or Volatility Multiplier.
Smoother, fewer flips: Increase Donchian Length, decrease Alpha, increase Volatility Length and/or Volatility Multiplier.
Ranging strictness: Increase Range Threshold % to mark ranges more often; smooth the width to avoid choppiness.
Example settings
Swing trading:
Donchian Length: 50
Alpha: 0.25
Vol Length: 14
Vol Mult: 1.6
BB Length: 20, BB Mult: 2.0, Range Threshold %: 2.0, Smoothed width ON (20)
Intraday (more responsive):
Donchian Length: 20–30
Alpha: 0.4–0.6
Vol Length: 10–14
Vol Mult: 1.2–1.6
Range Threshold %: 1.5–2.5 depending on instrument
Alerts (suggested)
Regime flips:
Condition: close > dynTrail and close > kMid -> Alert: Bullish regime
Condition: close < dynTrail and close < kMid -> Alert: Bearish regime
Range state:
Condition: BB width% < threshold -> Alert: Ranging
You can wire these using alertcondition() on the flip conditions and isRange variable inside the script.
Notes and limitations
This is a single-side ratcheting trail per regime, designed to reduce whipsaw by requiring price to clear both the midpoint and the trail before flipping.
Like all trend tools, it can lag tops/bottoms and may chop in low-volatility, sideways markets.
For assets with highly irregular volatility, retune Volatility Multiplier and Range Threshold %.
Short description (for header):
Adaptive, single-line trailing stop based on Kalman-smoothed Donchian mid + ATR-style buffer. Colors candles by regime, grays out ranges via BB width. Optional price line and cloud.
If you want, I can add alertcondition() for the flip and range events and a light custom-candle overlay so you can publish with built-in alert templates and consistent candle styling.
Relative Valuation OscillatorRelative Valuation Oscillator (RVO) Description
The Valuation_OTC.pine script is a Relative Valuation Oscillator for TradingView that compares the current asset against a reference asset (like Bitcoin, S&P 500, or Gold) to determine if it's relatively overvalued or undervalued.
Key Features:
1. Multiple Calculation Methods:
Simple Ratio - Compares price ratio deviation from average
Percentage Difference - Direct percentage comparison between assets
Ratio Z-Score - Statistical measure (standard deviations from mean)
Rate of Change Comparison - Compares momentum/performance
Normalized Ratio - 0-100 scale centered at zero
2. Customizable Settings:
Reference asset selection (default: BTC/USDT)
Adjustable lookback period (10-500 bars)
Optional smoothing with configurable period
Overbought/oversold level thresholds (default: ±1.5)
3. Trading Signals:
Overvalued - Oscillator above overbought level (red zone)
Undervalued - Oscillator below oversold level (green zone)
Neutral - Between thresholds
Crossover alerts for key levels
Divergence detection (bullish/bearish)
4. Visual Components:
Color-coded oscillator line (green when positive, red when negative)
Optional signal line for additional smoothing
Background shading for valuation zones
Information table showing current metrics and status
Shape markers for crossovers and divergences
5. Alert Conditions:
Overvalued/undervalued alerts
Zero-line crossovers
Divergence signals
This indicator is useful for pairs trading, relative strength analysis, and identifying when an asset is trading at extremes relative to a benchmark asset.
2-Period RSI Extreme One-Bar CrossIndicates when a 2 period rsi crosses from oversold of 10 or less to 50 and vice versa will indicate when the 2 period rsi crosses from overbought of 90 and above to 50.
Bollinger Band Spread (Dunk)Bollinger Band Width measures the distance between the upper and lower Bollinger Bands. It reflects market volatility—wider bands mean higher volatility, narrower bands mean lower volatility.
When the width contracts to low levels, it can signal price consolidation and potential breakouts. When the width expands, it indicates active markets or strong trends.
Traders use it to spot volatility squeezes, confirm breakouts, and compare relative volatility across assets or timeframes.
Custom Date MarkersCustom Date Markers - Pine Script Indicator
This indicator provides a powerful visual tool for technical and pattern analysis by allowing traders to mark up to 10 specific historical dates with customizable vertical lines on any chart. Each date can be assigned its own unique color, making it easy to categorize and distinguish between different types of events or market catalysts.
Primary Use Cases:
The indicator excels at identifying cyclical patterns and recurring market behavior. By marking significant dates such as earnings announcements, Federal Reserve meetings, dividend ex-dates, or seasonal events, traders can quickly visualize whether stocks consistently react in similar ways around these recurring dates. This is particularly valuable for discovering hidden patterns that might not be obvious from price action alone.
Practical Applications:
Earnings Analysis: Mark historical earnings dates to see if a stock tends to rally or sell-off before/after announcements
Macro Events: Identify how assets respond to FOMC meetings, CPI releases, or other economic data
Seasonal Patterns: Track dates that show recurring volatility or directional moves (like tax deadline periods, end-of-quarter re balancing, etc.)
Event Studies: Analyze the impact of company-specific events like product launches, FDA approvals, or leadership changes
Advanced Insights:
What makes this tool particularly interesting is its ability to reveal non-obvious correlations. For example, you might discover that a retail stock consistently experiences volume spikes 2-3 weeks before Black Friday across multiple years, or that certain tech stocks show weakness during specific conference dates. The color-coding feature allows you to layer multiple event types simultaneously—perhaps using red for bearish catalysts and green for bullish ones—creating a visual heat map of historical market reactions.
The indicator's 6-month default spacing (covering 4.5 years) is strategically designed to capture multiple business cycles while maintaining clarity on the chart. This timeframe is long enough to identify genuine patterns rather than coincidences, yet focused enough to remain relevant to current market conditions.
Pro Tip: Combine this indicator with volume analysis or other technical indicators to validate whether the patterns you observe are accompanied by meaningful market participation or if they're statistical noise.
Custom MA & VWAP Crossover SignalsCrossover logic:
Buy = MA1 crosses above MA2.
Sell = MA1 crosses below MA2.
Labels show at the bar where crossover happens:
Green “Buy” label at bar high.
Red “Sell” label at bar low.
BTC Confluence Score + Confirmed Signals (12m/1h)This script combines 7 different signals across multiple timeframes (12 min + 1 hour + BTC dominance), then only gives you a BUY or SELL when everything aligns.
It’s designed to filter out fake-outs and help you catch momentum reversals that stick.
WHAT IT’S DOING UNDER THE HOOD
Timeframes
12 min (fast) → short-term trigger (RSI, Stoch RSI, volatility)
1 hour (slow) → trend confirmation (EMA structure, RSI, MACD)
BTC Dominance (1 h) → strength/flow confirmation (is capital rotating into BTC or alts?)
This gives you a multi-timeframe confluence, which is what professional traders look for before entering a trade.
2. The 7 “Score” Ingredients
Each bar gets a “score” from –7 (super bearish) to +7 (super bullish) based on:
# Condition Bullish signal (+1) Bearish signal (–1)
1 RSI (12m) RSI > 50 RSI < 50
2 RSI (1h) RSI > 50 RSI < 50
3 MACD Histogram > 0 Histogram < 0
4 BTC Dominance level > 59.8 % < 59.8 %
5 BTC Dominance trend 3 EMA > 8 EMA 3 EMA < 8 EMA
6 1h EMAs trend 50 EMA > 200 EMA and price > 50 EMA 50 EMA < 200 EMA and price < 50 EMA
7 Volatility (ATR) Current ATR > average (momentum increasing) —
The Confluence Score bar at the bottom shows this numerically:
💚 +5 to +7 → Strong bullish conditions
❤️ –5 to –7 → Strong bearish conditions
🩶 Between –2 and +2 → Choppy / neutral
3️⃣ Confirmed Entry Logic (the clear triangles you see now)
You’ll now see only two real actionable markers:
✅ BUY (Green Triangle Up)
Triggered when:
Stoch RSI crosses upward on 12 min
RSI > 50 (momentum confirmation)
MACD histogram > 0 (trend shift)
Confluence score ≥ 4 (default threshold)
This means momentum + trend + structure + volume all agree on an upward move.
→ Ideal for going long or closing shorts.
🚨 SELL (Red Triangle Down)
Triggered when:
Stoch RSI crosses downward
RSI < 50
MACD histogram < 0
Confluence score ≥ 4 bearish
That’s your exit / short confirmation.
4️⃣ Color Bars (Score Strength)
At the bottom of the chart:
💚 Green Bars = full bullish confluence (+5 or more)
💛 Lime/Orange Bars = moderate bullish or early reversal
❤️ Red Bars = strong bearish confluence (–5 or less)
🩶 Gray Bars = chop/no edge
If you prefer visual simplicity, just use:
BUY = Green Triangle appears on green bars
SELL = Red Triangle appears on red bars
That’s your “double confirmation.”
🎯 HOW TO TRADE IT
⏱ Timeframes
Use 12 min for entries (fast scalps or 1–2 hr setups).
Confirm direction with the 1 hour timeframe — only trade in that direction.
💰 Entry Playbook
Signal What to Do
✅ Green Triangle appears Enter long or scale in. Set stop below recent swing low.
🚨 Red Triangle appears Exit long / enter short / scale out.
Bars gray or alternating Stay out — market is undecided.
🧮 Min Score Setting
Default = 4 (balanced).
Raise to 5 for cleaner, fewer signals.
Lower to 3 for more aggressive, frequent trades.
📲 Alerts
You can now create TradingView alerts using:
BUY Confirmed
SELL Confirmed
Set alert type:
“Once per bar close” — so you only get notified after confirmation, not mid-bar noise.
Y ou now have your own BTC AI Confluence System:
Filters all noise from RSI, MACD, EMAs, volatility, and BTC dominance
Waits for perfect alignment across multiple timeframes
Gives you one simple green (BUY) or red (SELL) signal
Lets you scalp 1–2 % moves safely or swing trade confirmations
ICT Kill zones ver 2ICT Kill zones :
London 02:00 - b5:00
NY 7:00 -10:00
NY Lunch
13:00 - 14:30
*all times are NYC times
BTC Confluence Alert 1 Overall Purpose
This script is a custom TradingView indicator that scans for confluence (agreement) between:
BTC’s short-term and medium-term momentum (12-minute and 1-hour RSIs),
The MACD histogram (trend direction and momentum strength),
Bitcoin dominance (money flowing back into BTC).
When all three are bullish, it flashes green and triggers a single alert.
ICT London & NY Kill ZonesICT london and NYC kiill zones marked on the chart automatically - use with NY time zone
20 EMA Undercut Bounce - M4v3r1ck💎 The "EMA Undercut Bounce" Bullish Scanner
This indicator is designed to identify high-conviction continuation patterns where price makes a temporary dip for liquidity before resuming a powerful, established uptrend. It specifically looks for a bullish rejection off the 20-period Exponential Moving Average (EMA).
🎯 Strategy Logic
The signal is generated only on the Daily (1D) timeframe when the following five precise conditions are met on the most recent completed bar:
1. Price Action (The Undercut Bounce)
• Undercut: The bar's low price must have touched or temporarily traded below the 20-Day EMA.
• Rejection: The bar's close price must have fully recovered and closed above the 20-Day EMA. This is the classic sign of strong buying pressure defending a key support level.
2. Strong Trend Hierarchy (The Bullish Stack)
The moving averages must be perfectly stacked, confirming a robust multi-timeframe uptrend structure:
• 10-Day EMA > 20-Day EMA
• 20-Day EMA > 50-Day SMA
• 50-Day SMA > 200-Day SMA
3. Momentum Confirmation (The Upward Slope)
Both the 10-Day EMA and the 20-Day EMA must be rising from the previous day. This ensures that the short-term trend momentum is positive, ruling out signals during flat or turning markets.
💡 How to Use This Indicator
1. Timeframe: Ensure your chart is set to the Daily (1D) timeframe for accurate results.
2. Signal: A Green Background highlight and an Up-Arrow below the bar mark a confirmed signal.
3. Alerts: Use the built-in alert condition to set up notifications for stocks on your watchlist, allowing you to catch these high-quality setups without constantly monitoring charts.
This script is ideal for trend-following traders looking to enter a position after a healthy shakeout and confirmation of continued bullish commitment.
Avivso 150 + ATHThis Pine Script displays a dynamic on-chart watermark and key stock data.
It shows company info, symbol, industry, market cap, ATR(14) with color status, earnings countdown, and distances from the current price to SMA150 and the all-time high.
It also plots SMA 20 and SMA 150 moving-average lines on the chart and supports configurable position, size, and padding for the watermark.
Pullback Finder AutoPullback Finder Auto — Intraday Momentum Cooling Detector
Pullback Finder Auto is designed to find stocks that have made a strong intraday run from the open and are now cooling off while still positive — the classic pullback zone where continuation entries often form.
It automatically measures the percentage change from today’s open and highlights bars where:
the stock has already run at least a chosen amount (for example +10 % above its open), and
the current price is still up but within a defined pullback range (for example between +3 % and +8 % above the open).
When those two conditions are met, you’ll see green graphics on your chart:
Green triangle markers under the candle.
Optionally, small green PB labels such as “PB 5.2 %” showing the exact percentage from open when the setup occurs.
A green highlight in the sub‑window or line plot if you left the “Change from Open %” plot active.
These are your visual cues that a pullback has formed — a stock that previously ran and is now pulling back while holding strength.
How it works
The script continuously monitors:
• High % from Open = (high − open) / open × 100
• Current % from Open = (close − open) / open × 100
A “Pullback” condition triggers only if:
the high % is greater than or equal to your minimum run threshold, and
the current % sits between your minimum and maximum pullback percentages.
When both are true, the indicator plots the green triangle and optional label.
Default parameters
Min Run % = 10
Min Current % = 3
Max Current % = 8
Session Start = 09:30 – 16:00 US Eastern
All can be changed to fit different volatility levels.
Lower values catch smaller moves; higher values restrict signals to explosive runners.
Using it in real time
During live trading, Pullback Finder Auto updates with each candle.
When a bar first enters the target zone, a green triangle and PB label will appear immediately under that candle.
These are dynamic: if price moves out of the valid zone on the same bar, the marker may disappear.
You can create an alert on “Pullback Finder Auto – Pullback Candidate” to be notified whenever new triangles appear across your active symbols.
This works on any timeframe:
use shorter timeframes such as 1‑minute or 5‑minute charts for fast, intraday detection,
use longer timeframes for a broader view of the day’s market structure.
Using it on past data (scanning backwards)
When you scroll back through history, past green triangles remain visible at every bar where the condition was true at that time.
The PB labels next to those candles show exactly how far above the open the stock was trading during the historical setup.
Use this for visual back‑testing: study how price reacted after these pullback points, adjust the thresholds, and refine your criteria for different markets.
The grey or teal line under the chart (if enabled) shows the percent‑from‑open curve so you can see the full run‑and‑cool pattern leading into each triangle signal.
If you convert the indicator into a strategy, the same condition becomes historical entry points you can test with the Strategy Tester.
Summary
1. Pullback Finder Auto paints green triangles and PB labels whenever an intraday pullback fits your criteria.
2. It runs dynamically in real‑time and also preserves markers for historical review.
3. Adjust the thresholds to match volatility or timeframe.
4. Ideal for visual scanning, watchlist alerts, or integration into a lightweight screening strategy.
Rolling Performance Metrics TableRolling Performance Metrics Table
A clean, customizable table overlay that displays rolling performance metrics across multiple time periods. Perfect for quickly assessing price momentum and performance trends at a glance.
FEATURES:
- Displays performance across 5 time periods: 1 Week, 3 Month, 6 Month, 1 Year, and 2 Year
- Shows historical price at the start of each period
- Calculates both absolute price change and percentage change
- Color-coded results: Green for positive performance, Red for negative performance
- Fully transparent design with no background or borders - text floats cleanly over your chart
- Customizable table position (9 placement options)
DISPLAY COLUMNS:
1. Period - The lookback timeframe
2. Price - The historical price at the start of the period
3. Change (Value) - Absolute price change from the period start
4. Change (%) - Percentage return over the period
CUSTOMIZATION:
- Adjust the number of bars for each period (default: 1 Week = 5 bars, 3 Month = 63 bars, 6 Month = 126 bars, 1 Year = 252 bars, 2 Year = 504 bars)
- Choose from 9 table positions: Top, Middle, Bottom combined with Left, Center, Right
- Default position: Middle Left
USAGE:
Perfect for traders who want to quickly assess momentum across multiple timeframes. The transparent overlay design ensures minimal obstruction of chart analysis while providing critical performance data at a glance.
NOTE:
- The table only appears on the last bar of your chart
- Customize bar counts in settings to match your specific timeframe needs (e.g., daily vs hourly charts)
- "N/A" appears when historical data is insufficient for the selected period
TTM Squeeze Pro - IntradayTTM Squeeze Pro – Intraday (AI MTF Edition)
Design Rationale
This indicator is built to help traders identify when markets are consolidating, when volatility is building (squeeze), and when a breakout or trend is starting — all across multiple timeframes.
The design combines three powerful ideas:
Volatility Compression & Expansion (TTM Squeeze Logic):
By comparing Bollinger Bands (BB) and Keltner Channels (KC), the indicator detects when volatility contracts (BB inside KC). These moments often precede explosive moves. White dots on the BB basis line mark these “squeeze” periods.
Trend Strength & Direction (ADX System):
The ADX (Average Directional Index) measures how strong a trend is.
ADX rising above the threshold → trending market.
ADX falling below the threshold → consolidation.
The system classifies each bar as Trending Up, Trending Down, Consolidating, or Neutral, depending on ADX and momentum direction.
Multi-Timeframe (MTF) Alignment:
The same logic is applied to several timeframes (1m, 3m, 5m, 15m, 30m, 1h).
A compact table at the top-right shows each timeframe’s trend and squeeze strength.
This helps traders see whether short-term and higher timeframes are aligned, improving trade confidence and timing.
The AI Enhancer automatically adjusts all parameters (ADX, BB, KC lengths, and thresholds) depending on the current chart timeframe, keeping signals consistent between scalping and swing trading setups.
Trend and squeeze strengths are normalized on a 1–9 scale, giving users a quick numerical sense of trend power and squeeze intensity. The design emphasizes clarity, speed, and adaptability — critical for intraday trading decisions.
How to Use
Identify a Squeeze Setup:
Look for white dots on the chart — this marks low volatility and potential energy buildup.
Wait for Breakout Confirmation:
When the white dots disappear, volatility expands.
Check the MTF table — if multiple timeframes show green (uptrend) or red (downtrend) in the “TR” column, momentum is aligning.
Enter the Trade:
Go long if breakout happens above BB basis and most timeframes show green.
Go short if breakout happens below BB basis and most timeframes show red.
Exit or Manage Position:
When new white dots appear → volatility contracting again → consider exiting or tightening stops.
If MTF colors become mixed → trend losing strength.
In Summary
The TTM Squeeze Pro – Intraday AI MTF Indicator blends volatility analysis, trend strength, momentum, and multi-timeframe alignment into one adaptive tool.
Its design aims to simplify complex market behavior into a visual, data-backed format — enabling traders to catch high-probability breakout trends early and avoid false moves during low-volatility phases.
Strong PivotsThis finds pivots based on your inputs (number of candles back and forward that are above or below the range of the potential pivot points) and then optionally changes the color to help you visually identify the pivot. You can also specify pivots as strong pivots if they reverse in 1 time segment beyond a certain percentage (wick % of full candle range).
For example, if the pivot is at a high point but has a green body candle and a wick > 35% of the candle, it will change the body color to red to help visually understand that the candle can be considered a strong part of the downtrend, regardless of it closing green. This will help your mind interpret the top pivot candle as part of the potential trend reversal for the following candles and could even be used as part of your strategy ruleset.
A+ Confluence Alert (BTC filter) — Kailash//@version=5
indicator("A+ Confluence Alert (BTC filter) — Kailash", overlay=true)
// === USER INPUTS ===
btcTicker = input.symbol("BINANCE:BTCUSDT", "BTC symbol (for bias filter)")
btcHTF = input.timeframe("60", "BTC Higher TF (for bias)") // 1H
localHTF = input.timeframe("15", "Local bias TF") // 15m
ema_fast_len = input.int(20, "EMA fast length")
ema_slow_len = input.int(50, "EMA slow length")
vol_sma_len = input.int(20, "Volume SMA length")
vol_mult = input.float(1.5, "Volume spike multiplier", step=0.1)
liquidity_look = input.int(12, "Liquidity sweep lookback (bars)")
session_filter = input.bool(true, "Use session filter (NY window)")
ny_start = input.session("1300-2000", "NY session (UTC)")
// === FETCH BTC HIGHER-TF BIAS ===
btc_close_htf = request.security(btcTicker, btcHTF, close, lookahead=barmerge.lookahead_off)
btc_ema_fast = request.security(btcTicker, btcHTF, ta.ema(close, ema_fast_len), lookahead=barmerge.lookahead_off)
btc_ema_slow = request.security(btcTicker, btcHTF, ta.ema(close, ema_slow_len), lookahead=barmerge.lookahead_off)
btc_bias_long = btc_ema_fast > btc_ema_slow
btc_bias_short= btc_ema_fast < btc_ema_slow
// === LOCAL BIAS (on localHTF) for current chart symbol ===
local_close = request.security(syminfo.tickerid, localHTF, close, lookahead=barmerge.lookahead_off)
local_ema_f = request.security(syminfo.tickerid, localHTF, ta.ema(close, ema_fast_len), lookahead=barmerge.lookahead_off)
local_ema_s = request.security(syminfo.tickerid, localHTF, ta.ema(close, ema_slow_len), lookahead=barmerge.lookahead_off)
local_long = local_ema_f > local_ema_s
local_short = local_ema_f < local_ema_s
// === VOLUME SPIKE ===
vol_sma = ta.sma(volume, vol_sma_len)
vol_spike = volume > vol_sma * vol_mult
// === SIMPLE LIQUIDITY SWEEP DETECTION (proxy) ===
// Long-sweep: price made new local low (below recent lowest) and then reclaimed above that prior low.
// Short-sweep: symmetrical for highs.
recent_low = ta.lowest(low, liquidity_look)
recent_high = ta.highest(high, liquidity_look)
sweep_long = (low < recent_low ) and (close > recent_low ) // low punched lower, then close reclaimed
sweep_short= (high > recent_high ) and (close < recent_high ) // high pumped, then reclaimed down
// === ORDER-BLOCK RECLAIM PROXY ===
// Define last opposite directional candle high/low as "OB"
var float ob_high = na
var float ob_low = na
// Update order blocks when opposite direction candles form
if close < open // bearish candle
ob_high := high
if close > open // bullish candle
ob_low := low
// Reclaim conditions: price closes above recent bearish-high (for long), or below recent bullish-low (for short)
reclaim_long = not na(ob_high) and close > ob_high
reclaim_short = not na(ob_low) and close < ob_low
// === SESSION FILTER ===
in_session = true
if session_filter
in_session := not na(time(timeframe.period, ny_start))
// === FULL CONFLUENCE LOGIC ===
// Long confluence: BTC bias long, local bias long, sweep_long or reclaim_long, volume spike, in session
long_confluence = btc_bias_long and local_long and (sweep_long or reclaim_long) and vol_spike and in_session
// Short confluence: BTC bias short, local bias short, sweep_short or reclaim_short, volume spike, in session
short_confluence = btc_bias_short and local_short and (sweep_short or reclaim_short) and vol_spike and in_session
// === PLOTTING SIGNALS ON CHART ===
plotshape(long_confluence, title="A+ Long", style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, text="A+ Long")
plotshape(short_confluence, title="A+ Short", style=shape.labeldown, location=location.abovebar, color=color.red, size=size.small, text="A+ Short")
// === ALERTS ===
alertcondition(long_confluence, title="A+ Confluence Long", message="A+ LONG: BTC bias long, local bias long, sweep/OB reclaim + volume spike. Symbol: {{ticker}}. Time: {{time}}")
alertcondition(short_confluence, title="A+ Confluence Short", message="A+ SHORT: BTC bias short, local bias short, sweep/OB reclaim + volume spike. Symbol: {{ticker}}. Time: {{time}}")
// === INFO BOX ===
var label info = na
if barstate.islast
label.delete(info)
info := label.new(x=bar_index, y=high, yloc=yloc.abovebar, style=label.style_label_left, text=
"A+ Long: " + (long_confluence ? "YES" : "NO") + " " +
"A+ Short: " + (short_confluence ? "YES" : "NO") + " " +
"BTC HTF Bias: " + (btc_bias_long ? "LONG" : btc_bias_short ? "SHORT" : "NEUTRAL") + " " +
"Local Bias: " + (local_long ? "LONG" : local_short ? "SHORT" : "NEUTRAL") + " " +
"VolSpike: " + (vol_spike ? "YES" : "NO"),
color=color.new(color.blue, 80), textcolor=color.white)






















