Position Size calculatorOverview
This indicator automatically calculates the average candle body size (|open − close|) for the current trading day and derives a position size (quantity) based on your fixed risk per trade (default ₹1000).
For example:
If today’s average candle body = ₹3.50 and risk = ₹1000 → Quantity = 285
How It Works:
The indicator calculates the absolute difference between open and close (the candle’s body) for every bar of the current day.
It averages those body sizes to estimate the average daily volatility.
Then it divides your chosen risk per trade by the average body size to estimate an appropriate quantity.
It automatically resets at the start of each new day.
Why Use It
While risk size can be derived manually or using TradingView’s built-in Long/Short Position Tool, this indicator provides a faster, more practical alternative when you need to make quick trade decisions — especially in fast-moving intraday markets .
It keeps you focused on execution rather than calculation.
Tip
You can still verify or fine-tune the quantity using the Long/Short Position Tool or a manual calculator, but this indicator helps you react instantly when opportunities appear.
Candlestick analysis
Strong Engulfing Scalping qgm engulfing detector. If no time to find engulfing my strategy found engulfing alert u through notification
ADIL_TREND// ===== NOTES =====
// - This indicator tracks an internal position state (inLong / inShort). These are NOT actual executed trades — they are used only to decide when to show exit/cover markers.
// - Long entry requires anchored VWAP condition; short entry ignores VWAP per your earlier spec.
// - Exit / Cover markers are generated only on the single bar that meets the exit condition while the corresponding position is open.
Engulfing bull & bear w/ Volume Confirmation (v6)This script ID's bullish & bearish engulfing bars with volume ≥ SMA (volume, 20) x 1.3 and (optionally) ≥ previous bar's volume.
Parameters adjustable
Wyckoff Accumulation / Distribution Detector (v3)🌱 Spring (Bullish Wyckoff Signature)
🧠 Definition
A Spring happens when price dips below a well-defined support level, usually near the end of an accumulation phase, then quickly reverses back above support.
This is not ordinary volatility — it's usually intentional by large operators (“Composite Man”) to:
Trigger stop-losses of weak holders
Create the illusion of a breakdown to scare late sellers in
Absorb all remaining supply at low prices
Launch the next markup leg once weak hands are flushed out
🧭 Typical Spring Characteristics
Feature Behavior
Location Near the bottom of a trading range after a decline
Price Action Temporary breakdown below support, then sharp reversal above
Volume Usually low to average on the break, indicating lack of real selling pressure. Sometimes a volume surge on the reversal as strong hands step in
Candle Often shows a long lower wick, closes back inside the range
Intent Shakeout of weak holders, allow institutions to accumulate more quietly
📈 Why It's Bullish
Springs typically mark the final test of supply. If price can dip below support and immediately recover, it means:
Selling pressure is exhausted (no follow-through)
Strong hands are absorbing remaining shares
A bullish breakout is often imminent
🪤 Upthrust (Bearish Wyckoff Signature)
🧠 Definition
An Upthrust is the mirror image of a Spring. It happens when price pokes above a resistance level, usually near the end of a distribution phase, but then fails to hold above it and falls back inside the range.
This is typically smart money distributing to eager buyers:
Late breakout traders pile in
Institutions sell into that strength
Price collapses back into the range, trapping breakout buyers
🧭 Typical Upthrust Characteristics
Feature Behavior
Location Near the top of a trading range after a rally
Price Action Temporary breakout above resistance, then quick reversal down
Volume Frequently low on the breakout, suggesting a lack of real buying interest — or sometimes high but with no progress, showing hidden selling
Candle Often shows a long upper wick, closes back inside the range
Intent Trap breakout buyers, provide liquidity for institutional sellers to unload near highs
📉 Why It's Bearish
Upthrusts show demand failure and supply swamping:
Buyers cannot sustain the breakout.
The sharp reversal signals large players are exiting.
Typically precedes markdown phases or sharp declines.
📝 Trading Implications
Spring → Often followed by a sign of strength rally → good long entry if confirmed with volume expansion and follow-through.
Upthrust → Often followed by a sign of weakness → short setups, especially if the next rally fails at lower highs.
The script looks for:
🌱 Spring:
Price makes a low below recent pivot support,
Closes back above,
Does so on low volume → likely a shakeout.
🪤 Upthrust:
Price makes a high above recent pivot resistance,
Closes back below,
On low volume → likely a bull trap.
Candle PlotUsed Linear Regression Candles by ugurvu
Added Regular and Heiken Ashi candles to choices
Added ability to choose timeframe but I find it does not look great when showing higher timeframes
To keep main chart less cluttered, I will add this indicator to my chart and then move a secondary indicator from the chart into it. You will need to pin the scale of the indicator to the scale of the Candle Plot.
Or, you can have the regular chart set to Regular candle and the Candle Plot set to Heiken Ashi or vice versa.
(SPY to ES) ETF→Futures Multi-Level (10 Levels + Select All)Converts selected ETF levels (SPY or QQQ) into equivalent futures levels (ES or NQ).
Uses live price ratio between ETF and futures for real-time level translation.
Supports 10 independent levels (A–J) with user-defined ETF price inputs.
Provides checkboxes to toggle each level’s visibility or show all at once.
Applies smoothing (ta.sma) to reduce noise from short-term price movement.
Lets user customize each line’s color, width, and style (solid, dashed, dotted).
Automatically updates lines as new bars form without user interaction.
Uses persistent line objects to keep levels stable when scrolling or zooming.
Adapts to either SPY→ES or QQQ→NQ depending on the “Convert SPY?” toggle.
Draws clean horizontal lines without legend clutter for visual precision.
SOME ONE PUBLISHED THIS FUNCTIONALITY FOR A CHARGE SO I MADE IT FREE.
-rA
ATR-BHEEM-NOCHANGE-CANDLESCandles remain normal — removed barcolor(barCol)
ATR trailing stop line still shows trend direction (green/red)
Optional buy/sell labels added only when trend flips
Clean and ready for intraday 1-min charts
Price Change x% from Prior CloseThis indicator identifies candles where price moved a specified percentage below the prior candle's Close price.
The script plots a gray bar at the threshold price for each candle and a green up-arrow for candles where the price crosses below the threshold price.
The Threshold Price Percentage can be set in the indicator settings window.
Outside Candle Session Breakout [CHE]Outside Candle Session Breakout
Session - anchored HTF levels for clear market-structure and precise breakout context
Summary
This indicator is a relevant market-structure tool. It anchors the session to the first higher-timeframe bar, then activates only when the second bar forms an outside condition. Price frequently reacts around these anchors, which provides precise breakout context and a clear overview on both lower and higher timeframes. Robustness comes from close-based validation, an adaptive volatility and tick buffer, first-touch enforcement, optional retest, one-signal-per-session, cooldown, and an optional trend filter.
Pine version: v6. Overlay: true.
Motivation: Why this design?
Short-term breakout tools often trigger during noise, duplicate within the same session, or drift when volatility shifts. The core idea is to gate signals behind a meaningful structure event: a first-bar anchor and a subsequent outside bar on the session timeframe. This narrows attention to structurally important breaks while adaptive buffering and debouncing reduce false or mid-run triggers.
What’s different vs. standard approaches?
Baseline: Simple high-low breaks or fixed buffers without session context.
Architecture: Session-anchored first-bar high/low; outside-bar gate; close-based confirmation with an adaptive ATR and tick buffer; first-touch enforcement; optional retest window; one-signal-per-session and cooldown; optional EMA trend and slope filter; higher-timeframe aggregation with lookahead disabled; themeable visuals and a range fill between levels.
Practical effect: Cleaner timing at structurally relevant levels, fewer redundant or late triggers, and better multi-timeframe situational awareness.
How it works (technical)
The chart timeframe is mapped to an analysis timeframe and a session timeframe.
The first session bar defines the anchor high and low. The setup becomes active only after the next bar forms an outside range relative to that first bar.
While active, the script tracks these anchors and checks for a breakout beyond a buffered threshold, using closing prices or wicks by preference.
The buffer scales with volatility and is limited by a minimum tick floor. First-touch enforcement avoids mid-run confirmations.
Optional retest requires a pullback to the raw anchor followed by a new close beyond the buffered level within a user window.
Optional trend gating uses an EMA on the analysis timeframe, including an optional slope requirement and price-location check.
Higher-timeframe data is requested with lookahead disabled. Values can update during a forming higher-timeframe bar; waiting and confirmation mitigate timing shifts.
Parameter Guide
Enable Long / Enable Short — Direction toggles. Default: true / true. Reduces unwanted side.
Wait Candles — Minimum bars after outside confirmation before entries. Default: five. More waiting increases stability.
Close-based Breakout — Confirm on candle close beyond buffer. Default: true. For wick sensitivity, disable.
ATR Buffer — Enables adaptive volatility buffer. Default: true.
ATR Multiplier — Buffer scaling. Default: zero point two. Increase to reduce noise.
Ticks Buffer — Minimum buffer in ticks. Default: two. Protects in quiet markets.
Cooldown Bars — Blocks new signals after a trigger. Default: three.
One Signal per Session — Prevents duplicates within a session. Default: true.
Require Retest — Pullback to raw anchor before confirming. Default: false.
Retest Window — Bars allowed for retest completion. Default: five.
HTF Trend Filter — EMA-based gating. Default: false.
EMA Length — EMA period. Default: two hundred.
Slope — Require EMA slope direction. Default: true.
Price Above/Below EMA — Require price location relative to EMA. Default: true.
Show Levels / Highlight Session / Show Signals — Visual controls. Default: true.
Color Theme — “Blue-Green” (default), “Monochrome”, “Earth Tones”, “Classic”, “Dark”.
Time Period Box — Visibility, size, position, and colors for the info box. (Optional)
Reading & Interpretation
The two level lines represent the session’s first-bar high and low. The filled band illustrates the active session range.
“OUT” marks that the outside condition is confirmed and the setup is live.
“LONG” or “SHORT” appears only when the breakout clears buffer, debounce, and optional gates.
Background tint indicates sessions where the setup is valid.
Alerts fire on confirmed long or short breakout events.
Practical Workflows & Combinations
Trend-following: Keep close-based validation, ATR buffer near the default, one-signal-per-session enabled; add EMA trend and slope for directional bias.
Retest confirmation: Enable retest with a short window to prioritize cleaner continuation after a pullback.
Lower-timeframe scalping: Reduce waiting and cooldown slightly; keep a small tick buffer to filter micro-whips.
Swing and position context: Increase ATR multiplier and waiting; maintain once-per-session to limit duplicates.
Timeframe Tiers and Trader Profiles
The script adapts its internal mapping based on the chart timeframe:
Under fifteen minutes → Analysis: one minute; Session: sixty minutes. Useful for scalpers and high-frequency intraday reads.
Between fifteen and under sixty minutes → Analysis: fifteen minutes; Session: one day. Suits day traders who need intraday alignment to the daily session.
Between sixty minutes and under one day → Analysis: sixty minutes; Session: one week. Serves intraday-to-swing transitions and end-of-day planning.
Between one day and under one week → Analysis: two hundred forty minutes; Session: two weeks. Fits swing traders who monitor multi-day structure.
Between one week and under thirty days → Analysis: one day; Session: three months. Supports position traders seeking quarterly context.
Thirty days and above → Analysis: one day; Session: twelve months. Provides a broad annual anchor for macro context.
These tiers are designed to keep anchors meaningful across regimes while preserving responsiveness appropriate to the trader profile.
Behavior, Constraints & Performance
Signals can be validated on closed bars through close-based logic; enabling this reduces intrabar flicker.
Higher-timeframe values may evolve during a forming bar; waiting parameters and the outside-bar gate reduce, but do not remove, this effect.
Resource footprint is light; the script uses standard indicators and a single higher-timeframe request per stream.
Known limits: rare setups during very quiet periods, sensitivity to gaps, and reduced reliability on illiquid symbols.
Sensible Defaults & Quick Tuning
Start with close-based validation on, ATR buffer on with a multiplier near zero point two, tick buffer two, cooldown three, once-per-session on.
Too many flips: increase the ATR multiplier and cooldown; consider enabling the EMA filter and slope.
Too sluggish: reduce the ATR multiplier and waiting; disable retest.
Choppy conditions: keep close-based validation, increase tick buffer, shorten the retest window.
What this indicator is—and isn’t
This is a visualization and signal layer for session-anchored breakouts with stability gates. It is not a complete trading system, risk framework, or predictive engine. Combine it with structured analysis, position sizing, and disciplined risk controls.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
PSP by EleventradesPSP INDICATOR:
this is a free indicator i built that plots psp (precision swing point) on the chart in correlation with the related assets.
i’ve adjusted every setting and fixed every bug myself.
MINH PHUOC KINH Btrendline , polynomial , ma , fear zone , indicator('MINH PHUOC KINH B', shorttitle='MINH PHUOC KINH B', max_lines_count=500, max_labels_count=500, max_bars_back=5000, overlay=true)
CVD Candles + Divergence (Pane) [NIRALA]This indicator provides a powerful way to analyze market dynamics by visualizing Cumulative Volume Delta (CVD) as candlesticks and automatically detecting divergences between price and order flow. It is designed to help traders spot potential trend exhaustion and reversals that may not be apparent from price action alone.
Key Concepts
Cumulative Volume Delta (CVD): CVD is a running total of the difference between buying and selling volume from market orders. A rising CVD indicates aggressive buying, while a falling CVD indicates aggressive selling. Unlike price, which can be influenced by passive limit orders, CVD shows the raw intent of aggressive market participants.
Divergence: A divergence occurs when price and CVD move in opposite directions. This signals a potential conflict between price action and the underlying order flow, often preceding a reversal.
Bearish Divergence: Price makes a new high, but CVD fails to make a new high (or makes a lower high). This suggests buying aggression is weakening despite the higher price, and a reversal to the downside may be imminent.
Bullish Divergence: Price makes a new low, but CVD fails to make a new low (or makes a higher low). This suggests selling pressure is drying up, and a reversal to the upside may be coming.
Features
CVD as Candlesticks: Plots CVD in a familiar OHLC candlestick format in a separate pane, providing a more intuitive view of order flow momentum and volatility compared to a simple line.
Automatic Divergence Detection: The script automatically identifies classic bullish and bearish divergences between price pivots and CVD pivots, drawing lines on both the main price chart and the indicator pane to clearly highlight them.
Multi-Timeframe Analysis: Calculates CVD from a user-defined lower timeframe, offering a more granular and precise view of the order flow that builds up a single candle on your chart.
Customizable Pivot Lookbacks: Allows you to adjust the sensitivity of the pivot detection for finding both short-term and long-term divergences.
Alerts: Includes built-in alerts that can notify you when a new bullish or bearish divergence is confirmed.
How to Use
Look for High-Probability Setups: This indicator is most powerful when its signals appear at key areas of support or resistance. A divergence at a major price level is a much stronger signal than one in the middle of a range.
Confirm with Price Action: Do not trade on a divergence signal alone. Wait for a confirmation candle (e.g., a bearish engulfing candle after a bearish divergence, or a bullish hammer after a bullish divergence) before considering an entry.
Combine with Your Strategy: Use this indicator as a confirmation tool to enhance your existing trading strategy. For example, if your primary strategy gives a sell signal and this indicator simultaneously prints a bearish divergence, it significantly increases the probability of the trade.
This tool is designed for discretionary traders looking to add a layer of order flow analysis to their decision-making process.
HTF Open Cross — Multi-Symbol Scanner V2The HTF Open Cross — Multi-Symbol Smart Scanner is a professional-grade dashboard that continuously monitors up to 20 instruments for lower-timeframe (LTF) price crosses relative to their higher-timeframe (HTF) open.
Each detected signal represents a momentum confirmation — when a lower timeframe candle closes beyond the HTF open by a configurable Z-threshold in pips, in alignment with the previous HTF candle bias (bullish or bearish).
🔍 Key Features
📊 Multi-Instrument Scan: Evaluate up to 20 tickers simultaneously, with independent LTF/HTF pairings.
⏰ Active Signal Tracking: Displays only signals fired within a user-defined expiry window (e.g., last 10 minutes).
🧭 Session-Aware Filtering: Signals are valid only during active market sessions (customizable).
🧮 Auto Pip Detection: Automatically detects appropriate pip scaling for FX and JPY pairs.
🧱 Zebra Table Bands: Alternating row colors for visual clarity.
🔄 Smart Sorting: Arrange the dashboard by LONGs first, expiry soonest, or expiry latest.
⏳ Countdown Timer: Each signal shows remaining time until expiry for fast decision-making.
🎯 Real-Time Bias View: See at a glance which markets are currently biased LONG or SHORT relative to their HTF opens.
⚙️ How It Works
The script calls request.security() to fetch HTF and LTF data for each symbol.
It detects cross conditions:
LONG = previous HTF bullish + LTF close ≥ HTF open + threshold
SHORT = previous HTF bearish + LTF close ≤ HTF open − threshold
Each signal is timestamped, age-filtered, and stored in sortable arrays.
The table dashboard refreshes dynamically to show only active signals, color-coded and ranked.
🧭 Use Cases
Identify when momentum aligns across multiple instruments.
Spot early bias shifts between sessions.
Create alerts for systematic scalping or bias confirmation models.
Multi-Resolution RSI with Machine LearningMulti-Resolution RSI
Developed by imaclone.x.
Last Updated: August 21st 2025
A single indicator that fuses my ML-RSI.ai pipeline with a classic multi-timeframe RSI. One script, dual-resolution oscillators if desired, plus a machine-learning similarity engine and modular signal-processing layers.
What it does
* Primary RSI augmented with KNN similarity engine (K, lookback, weighting). Feature embeddings include RSI magnitude, RSI momentum, volatility surface, regression slope, and price momentum vectors.
* Adaptive smoothing stack: Kalman filter recursion, Double EMA cascades, or ALMA convolution.
* Multi-resolution control for the primary oscillator timeframe.
* Optional *second* RSI projected from any timeframe for hierarchical confluence.
* Advanced visuals: upper/lower thresholds, midline, background regime highlighting, crossovers, and B/S event labels.
* Color architectures: None, Trend-Following (50-line bifurcation), or Impulse (band-breach). Optional bar tinting for full-chart context.
Inputs (groups)
* Timeframe Settings: primary + secondary RSI TF/lengths.
* Levels & Visuals: thresholds, highlights, cross events, B/S markers.
* RSI Base: smoothing toggle, MA class, ALMA sigma.
* KNN Machine Learning: enable, K neighbors, historical window, feature dimensionality, ML weighting.
* Advanced Filtering: method + intensity.
* Coloring: None, Trend-Following, Impulse.
Signals
* B flag when ML-RSI crosses upward through the lower threshold.
* S flag when ML-RSI crosses downward through the upper threshold.
* Secondary RSI = higher-timeframe confirmation, not standalone trigger.
Usage notes
* Raise ML weight + feature dimensionality for deeper similarity recognition; lower them for classic oscillator behavior.
* Kalman recursion delivers adaptive, low-lag smoothing; Double EMA and ALMA yield stronger dampening.
* Typical config: intraday primary RSI + higher-TF secondary RSI for regime anchoring.
Changelog
* v6 merge: Unified CM-style MTF RSI framework with my KNN-enhanced kernel and filter stack. One composite indicator replaces multiple scripts.
Credits
* MTF band logic inspired by earlier open-source frameworks.
* ML kernel and implementation by imaclone.x.
Disclaimer
For research and algorithmic experimentation only. No signals guaranteed.
And please kindly, for the love of God, DYOFR.
NFTs vs SOL - Momentum Divergence DetectionNFTs vs SOL – Momentum Divergence Detection:
See when NFT activity (proxy volumes) leads or lags SOL momentum.
This is an indicator that I designed to compare Solana’s price momentum with aggregated NFT market activity. It converts both into standardized z-scores for direct comparison, then measures their divergence. The resulting signal highlights when NFT trading activity begins to move ahead of, or behind, SOL price action.
Core Function:
• Measures SOL’s momentum using Rate of Change (ROC), then standardizes and smooths it.
• Combines multiple NFT-related token volumes (BLUR, LOOKS, TNSR, MAGIC, APE, optionally ME and PENGU), applies log normalization, weighting, and smoothing to form a composite NFT activity score.
• Plots their difference (NFT Z − SOL Z) as a histogram to visualize lead/lag phases.
Interpretation:
• div > 0: NFT activity exceeds SOL momentum → potential early signal for upside.
• div < 0: NFT activity trails SOL momentum → possible cooling or lag.
• Zero-line crosses: indicate leadership changes between NFTs and SOL.
On-Chart Visualization:
• Orange histogram: divergence (lead/lag strength).
• Purple line: NFT composite z-score.
• Blue line: SOL momentum z-score.
• Green/Red markers: lead or lag signals.
• Top-right table: rolling correlation and active proxies.
Usage:
Apply to 30m–1D charts.
Enter exchange-prefixed NFT tickers (e.g., KUCOIN:BLURUSDT).
Adjust weights to emphasize liquid tokens.
Interpret lead/lag crosses within the broader market structure, using trend and volume as confirmation.
Recommended Presets:
• Swing trading: 1D or 4H charts, smoother settings for stability.
• Active setups: 2H or 1H charts, lower smoothing for responsiveness.
Key Notes:
• Requires valid tickers and sufficient lookback history.
• Use crosses as context, not direct trade signals.
• High correlation = synchronous behavior; low correlation = decoupled regime.
Summary:
A contextual radar for Solana traders tracking NFT market flow. It helps identify when NFT trading activity begins leading or lagging SOL’s momentum which often signals shifts in speculative energy and trend strength.
Copyright © 2025 imaclone (Zen Silva). All rights reserved.
License: Private. No copying, sharing, or derivative works.
Fair Value Gap ZonesDescription
This script automatically detects and highlights Fair Value Gaps (FVGs) on any chart and timeframe.
It identifies bullish and bearish imbalance zones using candle-to-candle price displacement and shades them visually on the chart for easy reference.
Bullish FVGs are marked with dark green zones, showing areas where price may later return before continuing upward.
Bearish FVGs are shaded in light red, indicating potential retracement zones in downtrends.
All zones extend forward automatically, updating dynamically as new candles form.
Designed for traders who use Smart Money Concepts (SMC) or ICT-style analysis, this tool helps visualize market inefficiencies and potential reaction points with clear, minimal visuals.
STP SMISMI INDEICATOR BY STPCO
CHANDE SMI LINE TO CANDLE
Determines peaks and troughs with the indicator.
SMA 10/20 Simple SMA 10/20. Here are two simple moving averages that can help you see the underlying trend. These are the moving averages used by the famous trader Qullamagie
Smart Structure Pro - Market Structure & Smart Money Concepts═══════════════════════════════════════════════════════════════════════════════
SMART STRUCTURE PRO
═══════════════════════════════════════════════════════════════════════════════
A comprehensive market structure analysis tool that identifies institutional trading
patterns and smart money concepts for improved trade timing and decision-making.
═══════════════════════════════════════════════════════════════════════════════
📊 WHAT IT DOES
═══════════════════════════════════════════════════════════════════════════════
This indicator automatically detects and visualizes key market structure elements:
🔹 BOS (Break of Structure)
- Identifies trend continuation patterns
- Marks when price breaks above previous highs (bullish) or below previous lows (bearish)
- Confirms trend strength and momentum
🔹 CHoCH (Change of Character)
- Detects potential trend reversals
- Alerts when market structure shifts from bullish to bearish or vice versa
- Helps identify early reversal opportunities
🔹 Order Blocks
- Highlights institutional entry zones
- Identifies the last opposite candle before a structure break
- Shows areas where smart money likely entered positions
🔹 Fair Value Gaps (FVG)
- Detects price imbalances and inefficiencies
- Shows areas where price moved rapidly leaving gaps
- Often act as support/resistance when retested
🔹 Liquidity Zones
- Marks swing high and low levels
- Identifies areas where stop losses likely cluster
- Shows potential stop hunt and liquidity grab zones
═══════════════════════════════════════════════════════════════════════════════
🎯 HOW TO USE
═══════════════════════════════════════════════════════════════════════════════
BULLISH SETUP:
1. Wait for Bullish CHoCH (trend reversal signal) or BOS ↑ (continuation)
2. Look for price to pull back into an Order Block or Fair Value Gap
3. Enter long when price bounces from these zones
4. Place stop loss below the Order Block
5. Target the next liquidity zone or resistance level
BEARISH SETUP:
1. Wait for Bearish CHoCH (trend reversal signal) or BOS ↓ (continuation)
2. Look for price to retrace into an Order Block or Fair Value Gap
3. Enter short when price rejects from these zones
4. Place stop loss above the Order Block
5. Target the next liquidity zone or support level
DASHBOARD INTERPRETATION:
• Trend: Current market direction (Bullish/Bearish)
• Volume: Confirmation strength (High volume = stronger signals)
• Signal: Latest structure break detected
• Key High/Low: Critical levels for the current trend
• Position: Price location (Premium = expensive, Discount = cheap)
═══════════════════════════════════════════════════════════════════════════════
⚙️ SETTINGS GUIDE
═══════════════════════════════════════════════════════════════════════════════
STRUCTURE DETECTION:
• Pivot Length (Default: 10)
- Lower values = More signals but potentially weaker
- Higher values = Fewer signals but stronger/more reliable
- Recommended: 8-12 for intraday, 10-15 for higher timeframes
• Structure Line Extension
- Visual preference for how far lines extend
- Does not affect signal detection
SMART MONEY CONCEPTS:
• Order Block Extension: How long OB boxes remain visible
• FVG Extension: How long gap boxes remain visible
• Min FVG Size: Filter out small gaps (0 = show all)
- Set to 10-20% to reduce noise
- Set to 0 to see all gaps
VOLUME FILTER:
• Volume Confirmation (Recommended: ON)
- Filters weak signals without volume support
- Reduces false breakouts
• Volume Multiplier (Default: 1.5)
- Higher = Stricter filtering (fewer but stronger signals)
- Lower = More signals (but may include weak ones)
DISPLAY:
• Dashboard: Toggle information panel
• Trend Background: Subtle color tint showing current trend
• Dashboard Position: Choose corner placement
═══════════════════════════════════════════════════════════════════════════════
🔔 ALERTS
═══════════════════════════════════════════════════════════════════════════════
Available alert conditions:
✓ Bullish BOS - Uptrend continuation confirmed
✓ Bearish BOS - Downtrend continuation confirmed
✓ Bullish CHoCH - Reversal to uptrend detected
✓ Bearish CHoCH - Reversal to downtrend detected
✓ Structure Break - Any significant market structure change
To set up alerts:
1. Click the "⏰" alert icon
2. Select "Smart Structure Pro"
3. Choose your desired condition
4. Configure notification method
5. Click "Create"
═══════════════════════════════════════════════════════════════════════════════
⚠️ IMPORTANT DISCLOSURES
═══════════════════════════════════════════════════════════════════════════════
REPAINTING BEHAVIOR:
• Pivot points WILL repaint until confirmed (this is by design and unavoidable)
• Structure breaks (BOS/CHoCH) use CLOSED candles and do NOT repaint after confirmation
• Order Blocks and FVGs are drawn on confirmed signals and do NOT repaint
• All signals wait for candle close before triggering
BEST PRACTICES:
• Use on higher timeframes (15min+) for more reliable signals
• Combine with other analysis (support/resistance, volume profile, etc.)
• Wait for candle close confirmation before acting on signals
• Use proper risk management - this is not a standalone trading system
• Backtest on your preferred instrument and timeframe
PERFORMANCE:
• Limited to 100 boxes, 100 lines, 100 labels for optimal performance
• Older objects automatically removed as new ones appear
• Works on all markets (Forex, Crypto, Stocks, Indices, Commodities)
═══════════════════════════════════════════════════════════════════════════════
📚 CONCEPTS EXPLAINED
═══════════════════════════════════════════════════════════════════════════════
MARKET STRUCTURE:
Market structure refers to the pattern of price movements creating swing highs
and lows. Understanding structure helps identify trend direction and potential
reversal points.
SMART MONEY CONCEPTS:
These are trading techniques based on tracking institutional order flow and
understanding where large players (banks, funds, institutions) enter and exit
positions.
ORDER BLOCKS:
The last opposing candle before a strong directional move. Institutions often
leave unfilled orders in these zones, which can act as support/resistance when
price returns.
FAIR VALUE GAPS:
Areas where price moved so quickly that it left an imbalance. These gaps often
get "filled" as price returns to find equilibrium, creating trading opportunities.
═══════════════════════════════════════════════════════════════════════════════
🎓 EDUCATIONAL VALUE
═══════════════════════════════════════════════════════════════════════════════
This indicator helps traders:
✓ Understand market structure mechanics
✓ Identify institutional trading patterns
✓ Improve trade timing and entry precision
✓ Recognize trend continuation vs reversal
✓ Learn smart money concepts through visualization
═══════════════════════════════════════════════════════════════════════════════
📋 TECHNICAL DETAILS
═══════════════════════════════════════════════════════════════════════════════
• Version: 1.0.0
• Pine Script Version: 5
• Indicator Type: Overlay
• No Repainting: Structure breaks use confirmed candles
• Performance Optimized: Limited drawing objects
• Works On: All markets and timeframes
• Alerts: Yes, fully customizable
═══════════════════════════════════════════════════════════════════════════════
👤 AUTHOR
═══════════════════════════════════════════════════════════════════════════════
Created by: Zakaria Safri
Original Work: All code and concepts are original implementations
Based On: ICT (Inner Circle Trader) educational concepts
License: © 2024 Zakaria Safri - Personal Use Only
═══════════════════════════════════════════════════════════════════════════════
⚖️ DISCLAIMER
═══════════════════════════════════════════════════════════════════════════════
This indicator is for educational and informational purposes only. It does not
constitute financial advice. Trading involves substantial risk of loss. Past
performance does not guarantee future results. Always conduct your own research
and consult with a licensed financial advisor before making trading decisions.
The author is not responsible for any losses incurred from using this indicator.
═══════════════════════════════════════════════════════════════════════════════
If you find this indicator helpful, please:
👍 Like and favorite
⭐ Leave a review
📢 Share with other traders
💬 Comment with feedback or suggestions
Happy Trading! 📈
BBBDXY-9 - Intraday/ SwingWhat it is
A chart-grade USD basket that outputs full O/H/L/C candles. It combines nine FX pairs using weighted log-returns and geometric aggregation, then rescales to 100 at an anchor. You can build from 1m, 1H, 4H, or D and analyze it like a normal chart (drawings, structure, bar replay, and a clean Source output for other tools).
Why another USD gauge?
A legacy EUR-heavy USD measure can, at times, behave close to an EURUSD proxy and under-represent moves versus other majors and Asia EM. A diversified basket helps capture USD dynamics beyond EUR-centric effects. This study is independent and does not rely on third-party brands.
Basket (defaults are editable in Inputs)
Pairs used: EURUSD (inverted), USDJPY, USDCAD, GBPUSD (inverted), USDMXN, USDCNH, USDCHF, AUDUSD (inverted), USDSGD.
Inverted means the pair is flipped internally so rising values reflect USD strength. Weights default to a diversified mix and can be customized.
How it works (high level)
Sample each component on the chosen base timeframe.
Compute log-returns versus the anchor, multiply by weights, sum, and exponentiate (geometric combine).
Re-scale so the index equals 100 at the anchor.
Optional: plot an arithmetic comparison line.
Base-TF and aggregation rules
Build from timeframe: 1m, 1H, 4H, D.
If chart TF is greater than base TF, aggregate up from the base TF (no down-mixing).
If chart TF equals base TF, show native base candles.
If chart TF is lower than base TF, sample the base TF (step-like).
For intraday precision and exact wicks, choose 1m as base and view higher TFs by aggregation.
For longer history with fewer requests, choose 1H, 4H, or D as base.
Inputs (overview)
Build-from TF (1m, 1H, 4H, D) and a feed prefix if your broker symbols require one.
Per-pair weights (editable).
Anchor date and time (chart timezone) plus optional auto-rebase to first available bar if the exact anchor is missing.
Arithmetic comparison line (optional).
Source output selector (Open, High, Low, Close) for downstream tools.
Custom candle colors.
How to use
For granular intraday structure and wick accuracy, set base TF to 1m and view higher TFs by aggregation.
For swing and weekly context, set base TF to 1H, 4H, or D.
Keep default weights unless you have a specific reason to alter the basket.
Rising index suggests USD strength versus the basket; falling index suggests USD weakness.
Notes and limitations
Depends on availability and quality of the underlying FX symbols on your data feed.
Indicator only; no financial advice, no alerts, no orders.
No external open-source code reused.
Past behavior does not guarantee future results.
Figure (publication image)
Top: a legacy EUR-heavy USD index on 1H. The horizontal line marks a local swing high; price stalls and rolls over beneath it.
Bottom: this diversified USD basket on 1H. The horizontal line marks the same calendar window; the advance extends differently into that zone before rolling later.
This side-by-side illustrates that a EUR-centric gauge can diverge from a diversified USD basket. Similar divergences appear at other points; the example is illustrative and not a signal.
- riseofatrader