Math by Thomas - SMC OB + FVG📄 Description
This script is designed for traders following the Smart Money Concepts (SMC) methodology. It automatically detects:
✅ Bullish and Bearish Order Blocks (OBs) based on structural breakouts, displacement, and volume conditions.
✅ Fair Value Gaps (FVGs) using a 3-candle price imbalance model.
🔄 Both OBs and FVGs clean up dynamically when invalidated by price action.
Built with institutional logic, this tool helps identify areas of interest for potential reversals, liquidity grabs, or mitigation plays.
⚙️ How It Works
🔷 Order Blocks (OB)
A Bullish OB is marked after a Break of Structure (BOS) to the upside.
A Bearish OB is marked after BOS to the downside.
Filters like displacement candle and volume spike can be toggled in settings.
Boxes are drawn from the opposing candle in the move, and will disappear once broken or expired.
🟥 Fair Value Gaps (FVG)
FVGs are detected when the middle candle leaves a price imbalance between the first and third candle.
Zones are marked with transparent boxes.
Labels (FVG) appear only once every 20 bars to reduce clutter.
Gaps are removed only after a full candle closes through the zone (conservative logic).
🛠️ User Settings
Choose volume multiplier and ATR period for OB displacement logic.
Set box extension, label transparency, and cleanup behavior.
Full control over colors and midline display.
📈 How to Use
Apply the indicator to any chart (works best on indices, forex, crypto).
Use OBs as points of interest for potential reaction zones or mitigation setups.
Use FVGs to identify imbalances that may attract price.
Watch for confluence between OBs and FVGs for high-probability entries.
📚 Best Practice
Use on 15m–1h timeframe for clean structure.
Align with higher TF bias for direction.
Combine with liquidity sweeps, EQH/EQL, or breaker blocks for refinement.
Candlestick analysis
Market Balance LevelMarket Balance Level (MBL)
This indicator dynamically identifies price consolidation zones (market balance levels) and plots a horizontal line at the average midpoint of the range once a valid breakout occurs. It helps traders visualize key zones where the market was previously in equilibrium and is likely to retest before continuing its trend.
How It Works:
Detects consolidation ranges using consecutive candles within a tight high-low structure.
When a breakout occurs (above or below the range), it plots a line at the average midpoint of the consolidation.
Triangles are drawn on breakouts to visually confirm the breakout direction.
Lines can be customized by color, width, and breakout direction (bullish, bearish, or both).
Recommended Use:
Wait for price to return to the Market Balance Level (MBL). These levels often act as strong support or resistance.
Enter upon engulfment (candle closes strongly in the direction of the breakout), confirming continuation.
Features:
Adjustable consolidation sensitivity and line length.
Option to show/hide bullish or bearish MBLs.
Visual breakout markers (triangles) with alert support.
Optional alert messages for breakout events.
Use this tool to enhance your structure-based or SMC-style trading strategies.
Squeeze Pro Momentum BAR color - KLTDescription:
The Squeeze Pro Momentum indicator is a powerful tool designed to detect volatility compression ("squeeze" zones) and visualize momentum shifts using a refined color-based system. This script blends the well-known concepts of Bollinger Bands and Keltner Channels with an optimized momentum engine that uses dynamic color gradients to reflect trend strength, direction, and volatility.
It’s built for traders who want early warning of potential breakouts and clearer insight into underlying market momentum.
🔍 How It Works:
📉 Squeeze Detection:
This indicator identifies "squeeze" conditions by comparing Bollinger Bands and Keltner Channels:
When Bollinger Bands are inside Keltner Channels → Squeeze is ON
When Bollinger Bands expand outside Keltner Channels → Squeeze is OFF
You’ll see squeeze zones classified as:
Wide
Normal
Narrow
Each represents varying levels of compression and breakout potential.
⚡ Momentum Engine:
Momentum is calculated using linear regression of the price's deviation from a dynamic average of highs, lows, and closes. This gives a more accurate representation of directional pressure in the market.
🧠 Smart Candle Coloring (Optimized):
The momentum color logic is inspired by machine learning principles (no hardcoded thresholds):
EMA smoothing and rate of change (ROC) are used to detect momentum acceleration.
ATR-based filters help remove noise and false signals.
Colors are dynamically assigned based on both direction and trend strength.
🧪 How to Use It:
Look for Squeeze Conditions — especially narrow squeezes, which tend to precede high-momentum breakouts.
Confirm with Momentum Color — strong colors often indicate trend continuation; fading colors may signal exhaustion.
Combine with Price Action — use this tool with support/resistance or patterns for higher probability setups.
Recommended For:
Trend Traders
Breakout Traders
Volatility Strategy Users
Anyone who wants visual clarity on trend strength
📌 Tip: This indicator works great when layered with volume and price action patterns. It is fully non-repainting and supports overlay on price charts.
Zero-Lag Linear Regression Candles🚀 Zero-Lag Linear Regression Candles
📊 What It Does
The Zero-Lag Linear Regression Candles change traditional candlestick analysis by creating smoothed, predictive candles that eliminate the lag inherent in standard linear regression methods. Instead of waiting for price confirmation, this indicator anticipates market movements using advanced mathematical modeling.
🎯 Key Features
Tri-Layer Super Responsive System
Layer 1: Weighted Linear Regression with exponential decay weighting
Layer 2: Zero-lag correction algorithm that projects future price direction
Layer 3: Adaptive intelligence that adjusts to current market volatility and momentum
Smart Market Adaptation
Automatically adjusts sensitivity based on market volatility (ATR)
Responds to momentum changes in real-time
Filters out market noise while preserving important signals
Customizable
Regression Length: Fine-tune responsiveness (2-50 periods)
Weight Decay Factor: Control how much emphasis to place on recent vs. historical data
Zero-Lag Periods: Adjust the aggressiveness of lag elimination
Adaptive Factor: Set market adaptation strength
🛠️ Usage Instructions
1. Add to Chart: Apply the indicator to any timeframe
2. Configure Settings: Adjust regression length and sensitivity to match your trading style
3. Interpret Signals:
- Green Candles: Bullish linear regression trend
- Red Candles: Bearish linear regression trend
Created by B3AR_Trades
Engulfing Candles LP v0.12An indicator designed to detect engulfing candles, with customizable tolerance settings. This allows you to adjust for differences in decimal precision across instruments—for example, XAU typically uses 2–3 decimal places, while EURUSD uses five.
The engulfing tolerance setting ensures the indicator works accurately across various markets.
Color coding:
Purple : Engulfing candles that are not at least twice the size of the previous candle.
Red/Green : Engulfing candles that are at least 2x larger than the previous candle (Green for bullish, Red for bearish).
Turtle God IndicatorThe Turtle God indicator displays a turtle icon 🐢 on the most recent candle only, helping traders track current candle behavior at a glance.
✅ Green Turtle above the candle if it’s bullish (close > open)
🔻 Red Turtle below the candle if it’s bearish (close < open)
📌 Only the latest candle is marked — no historical clutter
This tool is useful for:
Live price action observation
Real-time signal overlays
Clean chart setups with dynamic candle feedback
Canuck Trading Trader StrategyCanuck Trading Trader Strategy
Overview
The Canuck Trading Trader Strategy is a powerful, trend-following trading system designed for day traders seeking high-probability setups on volatile stocks like Tesla (NASDAQ:TSLA). Built for the 15-minute timeframe, this strategy combines momentum, volume, price action, VWAP, and Smart Money Concepts (SMC) to identify optimal entry and exit points. With a sleek, minimalist visual design, it delivers clear buy/sell signals and dynamic trend columns, making it easy to spot market opportunities. The Canuck Trader spin offers a unique blend of precision and style.
Key Features
The strategy leverages a T3-smoothed trend oscillator, combining fast (3-period) and slow (15-period) EMAs with RSI to detect momentum shifts. Entries are triggered when the trend rises above its 10-bar SMA, supported by VWAP alignment, optional SMC value zones, high volume, and price action patterns (HH/HL for buys, LH/LL for sells). Exits use dynamic ATR-based stops and take-profits, with a trailing stop to capture extended moves.
Usage Instructions
Watch for buy and sell signals, plotted at trade entry points.
Customize inputs (e.g., volume_threshold, atr_multiplier_sl/tp) via the settings panel to tweak trade frequency or risk.
Set alerts for "Buy Signal" or "Sell Signal" to catch real-time opportunities.
For best results, use a premium TradingView plan for full intraday data access.
Customization
Adjust momentum_ema_fast/slow for faster or slower trend detection.
Modify volume_threshold (default 0.7) to filter volume spikes.
Tweak atr_multiplier_sl (1.2) and atr_multiplier_tp (1.5) for risk/reward preferences.
Change column/signal colors in the Style tab for your preferred look.
Notes
Born from relentless iteration and a passion for precision, the Canuck Trading Trader Strategy blends cutting-edge technicals with a bold, minimalist design. Whether you’re scalping TSLA’s intraday swings or riding multi-bar trends, this strategy delivers the edge you need with a distinctly Canadian flair. Trade smart, trade Canuck!
Feedback
If you encounter issues (e.g., label overlap, projection mismatches), please share your timeframe, settings, or a screenshot. Suggestions for enhancements (e.g., additional filters, visual tweaks) are welcome!
Disclaimer
The Canuck Trading Projection Indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves significant risks, and past performance is not indicative of future results. Always perform your own due diligence and consult a qualified financial advisor before making trading decisions.
Long-Leg Doji Breakout StrategyThe Long-Leg Doji Breakout Strategy is a sophisticated technical analysis approach that capitalizes on market psychology and price action patterns.
Core Concept: The strategy identifies Long-Leg Doji candlestick patterns, which represent periods of extreme market indecision where buyers and sellers are in equilibrium. These patterns often precede significant price movements as the market resolves this indecision.
Pattern Recognition: The algorithm uses strict mathematical criteria to identify authentic Long-Leg Doji patterns. It requires the candle body to be extremely small (≤0.1% of the total range) while having long wicks on both sides (at least 2x the body size). An ATR filter ensures the pattern is significant relative to recent volatility.
Trading Logic: Once a Long-Leg Doji is identified, the strategy enters a "waiting mode," monitoring for a breakout above the doji's high (long signal) or below its low (short signal). This confirmation approach reduces false signals by ensuring the market has chosen a direction.
Risk Management: The strategy allocates 10% of equity per trade and uses a simple moving average crossover for exits. Visual indicators help traders understand the pattern identification and trade execution process.
Psychological Foundation: The strategy exploits the natural market cycle where uncertainty (represented by the doji) gives way to conviction (the breakout), creating high-probability trading opportunities.
The strength of this approach lies in its ability to identify moments when market sentiment shifts from confusion to clarity, providing traders with well-defined entry and exit points while maintaining proper risk management protocols.
How It Works
The strategy operates on a simple yet powerful principle: identify periods of market indecision, then trade the subsequent breakout when the market chooses direction.
Step 1: Pattern Detection
The algorithm scans for Long-Leg Doji candles, which have three key characteristics:
Tiny body (open and close prices nearly equal)
Long upper wick (significant rejection of higher prices)
Long lower wick (significant rejection of lower prices)
Step 2: Confirmation Wait
Once a doji is detected, the strategy doesn't immediately trade. Instead, it marks the high and low of that candle and waits for a definitive breakout.
Step 3: Trade Execution
Long Entry: When price closes above the doji's high
Short Entry: When price closes below the doji's low
Step 4: Exit Strategy
Positions are closed when price crosses back through a 20-period moving average, indicating potential trend reversal.
Market Psychology Behind It
A Long-Leg Doji represents a battlefield between bulls and bears that ends in a stalemate. The long wicks show that both sides tried to push price in their favor but failed. This creates a coiled spring effect - when one side finally gains control, the move can be explosive as trapped traders rush to exit and momentum traders jump aboard.
Key Parameters
Doji Body Threshold (0.1%): Ensures the body is truly small relative to the candle's range
Wick Ratio (2.0): Both wicks must be at least twice the body size
ATR Filter: Uses Average True Range to ensure the pattern is significant in current market conditions
Position Size: 10% of equity per trade for balanced risk management
Pros:
High Probability Setups: Doji patterns at key levels often lead to significant moves as they represent genuine shifts in market sentiment.
Clear Rules: Objective criteria for entry and exit eliminate emotional decision-making and provide consistent execution.
Risk Management: Built-in position sizing and exit rules help protect capital during losing trades.
Market Neutral: Works equally well for long and short positions, adapting to market direction rather than fighting it.
Visual Confirmation: The strategy provides clear visual cues, making it easy to understand when patterns are forming and trades are triggered.
Cons:
False Breakouts: In choppy or ranging markets, price may break the doji levels only to quickly reverse, creating whipsaws.
Patience Required: Traders must wait for both pattern formation and breakout confirmation, which can test discipline during active market periods.
Simple Exit Logic: The moving average exit may be too simplistic, potentially cutting profits short during strong trends or holding losers too long during reversals.
Volatility Dependent: The strategy relies on sufficient volatility to create meaningful doji patterns - it may underperform in extremely quiet markets.
Lagging Entries: Waiting for breakout confirmation means missing the very beginning of moves, reducing potential profit margins.
Best Market Conditions
The strategy performs optimally during periods of moderate volatility when markets are making genuine directional decisions rather than just random noise. It works particularly well around key support/resistance levels where the market's indecision is most meaningful.
Optimization Considerations
Consider combining with additional confluence factors like volume analysis, support/resistance levels, or other technical indicators to improve signal quality. The exit strategy could also be enhanced with trailing stops or multiple profit targets to better capture extended moves while protecting gains.
Best for Index option,
Enjoy !!
HTF Candle Display (Evolution FX)HTF Candle Display (Evolution FX)
WHAT IT DOES
This tool overlays a **higher timeframe candle** (like Daily or Weekly) directly on your current lower timeframe chart (like 5m, 15m, 1h). It visually anchors current price action within its broader market context, ideal for traders using multi-timeframe confluence, liquidity mapping, or High-Timeframe-Based decision-making.
KEY FEATURES
Timeframe selection : Choose any higher timeframe (HTF) to display (e.g., D, W, M).
Dynamic candle placement : Position the HTF candle overlay away from price action using distance presets: `Close`, `Near`, `Far`, `Very Far`.
Adjustable thickness : Choose candle body width via `Thin`, `Thick`, or `Thicker` styles.
Fully customisable visuals : Set custom colours for bullish and bearish candles, borders, wicks, and labels.
Highlight box (optional) : Display a semi-transparent box aligned to the HTF candle's real time span.
Label with live countdown : Optionally show a floating label with timeframe info and time remaining in the HTF candle.
Previous candle display : Toggle to show or hide the prior HTF candle for better comparison.
HOW TO USE IT
Select your HTF (e.g., Daily) from the input dropdown.
Use "Distance From Price Action" to shift the visual away from the candles for a cleaner layout.
Adjust "Candle Width" to visually match your preferences.
Optionally toggle:
- "Show Previous Candle"
- "Show Label"
- "Highlight Current Day Price Action Box"
Customise your **colour scheme** to match your charting setup.
Recommended to use on charts like `15m`, `1h`, or `4h` for best visual clarity.
USE CASES
HTF liquidity hunting
Bias framing via daily/weekly structure
Institutional-style trading models
Scalping with macro trend context
Inside/Multiple Inside Bars Detector by Yasser R.01Multiple Inside Bars Trading System
Detects multiple inside bar patterns with visual alerts, breakout signals, and risk management levels (1:2 RR ratio). Identifies high-probability trading setups.
This indicator scans for consecutive inside bar patterns (2+ bars forming within a 'mother bar'), which often precede strong breakouts. When detected, it:
1. Draws clear reference lines showing the mother bar's high/low
2. Alerts when price breaks either level
3. Automatically calculates 1:2 risk-reward stop loss and take profit levels
4. Displays entry points with trade details
Ideal for swing traders, the system helps identify consolidation periods before potential trend continuations. Works best on 4H/Daily timeframes.
#InsideBars #BreakoutTrading #RiskManagement #SwingTrading #PriceAction
Professional-grade inside bar detector that:
✅ Identifies single AND multiple inside bar setups
✅ Provides clean visual references (lines/labels)
✅ Generates breakout signals with calculated RR levels
✅ Self-cleaning - removes old setups automatically
Use alongside trend analysis for best results. Customizable in Settings.
VWAP ORB StrategyPlots the 15-min Opening Range for NY (9:30–9:45 AM ET) and London (3:00–3:15 AM ET), with breakout levels and range-based targets. Includes VWAP and EMA for trend confirmation.
Faster Heikin AshiFaster Heikin Ashi
The Faster Heikin Ashi improves traditional Heikin Ashi candles by introducing advanced weighting mechanisms and lag reduction techniques. While maintaining the price smoothing benefits of standard Heikin Ashi, this enhanced version delivers faster signals and responsiveness.
Key Features
Unified Responsiveness Control
Single parameter (0.1 - 1.0) controls all responsiveness aspects
Eliminates conflicting settings found in other enhanced HA indicators
Intuitive scaling from conservative (0.1) to highly responsive (1.0)
Advanced Weighted Calculations
Smart Close Weighting: Close prices receive 2-3x more influence for faster trend detection
Dynamic OHLC Processing: All price components are intelligently weighted based on responsiveness setting
Balanced High/Low Emphasis: Maintains price level accuracy while improving speed
Enhanced Open Calculation
Transition Speed: Open prices "catch up" to market movements faster
Lag Reduction Algorithm: Eliminates the typical delay in Heikin Ashi open calculations
Smooth Integration: Maintains visual continuity while improving responsiveness
Four-Color Scheme
- 🟢 **Lime**: Strong bullish momentum
- 🔴 **Red**: Strong bearish momentum
- 🟢 **Green**: Moderate bullish
- 🔴 **Maroon**: Moderate bearish
How It Works
Traditional Heikin Ashi smooths price action but often lags behind real market movements. This enhanced version:
1. Weights price components based on their predictive value
2. Accelerates trend transitions through advanced open calculations
3. Scales all enhancements through a single responsiveness parameter
4. Maintains smoothing benefits while reducing lag
Responsiveness (0.1 - 1.0)
0.1 - 0.3: Conservative, maximum smoothing
0.4 - 0.6: Balanced, good for swing trading and trend following
0.7 - 1.0: Aggressive, fast signals, suitable for scalping and active trading
Doji Signals with Wick ColorThis indicator identifies Doji candlestick patterns on the chart and highlights both the candle body and wicks in yellow for better visibility.
A Doji is defined as a candle where the body size is relatively small compared to the full range (high - low), indicating market indecision. You can adjust the maximum allowed body size as a percentage of the total candle range using the "Doji's Max Body Size" input.
The indicator works by:
Calculating the body size (abs(open - close))
Comparing it to a threshold (precision * (high - low))
Highlighting candles that meet the condition as Doji, coloring both the body and wick in yellow
This visual aid helps traders quickly spot potential reversal or pause areas in price action based on candlestick psychology.
Multi-Timeframe Hammer Confirmation Labelson 15 minutes, 1 hour , 4 hours, and daily time frame only, a hammer candle is formed and the following candle closes above hammer high, print white label HC15 below the hammer candle on 15 minutes chart, HC1H, HC4H and HCD when it is on the corresponding time frame.
FF Countdown Until Bar CloseSimple indicator which shows time remaining until bar close.
The closer time gets to a new bar it color codes the countdown: lime -> orange -> red.
Works best on low time frames, best use case for scalping but is also nice on higher time frames.
Inside/Multiple Inside Bars Detector by Yasser R.01Multiple Inside Bars Trading System
Detects multiple inside bar patterns with visual alerts, breakout signals, and risk management levels (1:2 RR ratio). Identifies high-probability trading setups.
This indicator scans for consecutive inside bar patterns (2+ bars forming within a 'mother bar'), which often precede strong breakouts. When detected, it:
1. Draws clear reference lines showing the mother bar's high/low
2. Alerts when price breaks either level
3. Automatically calculates 1:2 risk-reward stop loss and take profit levels
4. Displays entry points with trade details
Ideal for swing traders, the system helps identify consolidation periods before potential trend continuations. Works best on 4H/Daily timeframes.
#InsideBars #BreakoutTrading #RiskManagement #SwingTrading #PriceAction
Professional-grade inside bar detector that:
✅ Identifies single AND multiple inside bar setups
✅ Provides clean visual references (lines/labels)
✅ Generates breakout signals with calculated RR levels
✅ Self-cleaning - removes old setups automatically
Use alongside trend analysis for best results. Customizable in Settings.
Disguised Candles by The School of Dalal StreetDisguised Candles corrects one of the subtle visual distortions present in normal candlestick charts — the mismatch between the close of one candle and the open of the next.
On many instruments (especially at day/session breaks), the next candle’s open often jumps due to price gaps or data feed behavior. This can make reading the flow of price action harder than necessary.
Disguised Candles fixes this by plotting synthetic candles where the open of each candle is forced to match the close of the previous one — creating a visually continuous flow of price.
Real candles are made fully transparent, so only the "corrected" candles are visible.
This allows traders to:
Visualize price flow as a smooth path
Better spot true directional shifts and trends
Avoid distractions caused by technical gaps that are not meaningful to their strategy
🚀 Pure visual clarity. No noise from false opens.
How it works:
The open of each synthetic candle = close of previous real candle
High, Low, Close remain unchanged
Colors are based on Close vs Corrected Open
Real chart candles are hidden under a transparent overlay
Use this as a clean canvas for trend analysis or as a foundation for building new visual systems.
Price Difference IndicatorSimply calculate the difference between two products.
You can customize and set two different products.
Bullish Engulfing with MA ConditionsWith MA20 below MA200, with price action below MA20. this time put green labels. on 15 minutes, 30 minutes, 1 hour , 4 hours, and daily time frame only, a bullish engulfing pattern is formed. print yellow label BE15, BE30, BE1H, BE4H and BED when it is on the corresponding time frame.
Hammer Confirmation Labels - 15m & 1Hon 15 minutes and 1 hour time frame only, a hammer candle is formed and the following candle closes above hammer high, print white label HC15 below the hammer candle on 15 minutes chart, and HC1H when it is on 1 hour time frame.
EMA Crossover with RSI FilterWhat this indicator does:
Plots two EMAs (default: 9 & 21).
Uses RSI to filter entries (avoids buy signals when RSI is overbought, sell signals when RSI is oversold).
Gives simple visual buy/sell signals when EMA crossovers occur and RSI confirms.
Light background color to visualize bullish/bearish conditions.
Smart Order Block IdentifierThis custom TradingView indicator identifies and highlights Smart Money Order Blocks (OBs) based on refined multi-candle price action logic. It detects bearish and bullish order blocks using a structured pattern involving five candles. For a bearish order block, the central (OB) candle must have a high that is greater than the highs of both the candle before and after it—signaling local strength. Additionally, the high of the candle two bars after (the “next-next” candle) must be lower than the OB candle’s low, indicating a potential shift in momentum and confirming bearish intent. Conversely, a bullish order block is identified when the OB candle has a low lower than the lows of both the previous and following candle. The candle two bars later must have a low higher than the OB candle’s high, showing price rejection and a likely reversal. The indicator marks these blocks visually with boxes on the chart and optionally filters out mitigated zones.