Heiken Ashi Candles - CustomizableHeiken Ashi Candles – Customizable Overlay
This TradingView indicator displays accurate Heiken Ashi candles directly on your price chart, perfectly synced with TradingView’s built-in Heiken Ashi source. It’s ideal for traders who want to backtest or analyze Heiken Ashi structure without switching chart types. The indicator also includes full customization of candle body and wick colors for both bullish and bearish candles—perfect for tailoring your chart visuals to your preferences.
การวิเคราะห์แท่งเทียน
SMA Crossing Background Color (Multi-Timeframe)When day trading or scalping on lower timeframes, it’s often difficult to determine whether the broader market trend is moving upward or downward. To address this, I usually check higher timeframes. However, splitting the layout makes the charts too small and hard to read.
To solve this issue, I created an indicator that uses the background color to show whether the current price is above or below a moving average from a higher timeframe.
For example, if you set the SMA Length to 200 and the MT Timeframe to 5 minutes, the indicator will display a red background on the 1-minute chart when the price drops below the 200 SMA on the 5-minute chart. This helps you quickly recognize that the trend on the higher timeframe has turned bearish—without having to open a separate chart.
デイトレード、スキャルピングで短いタイムフレームでトレードをするときに、大きな動きは上に向いているのか下に向いているのかトレンドがわからなくなることがあります。
その時に上位足を確認するのですが、レイアウトをスプリットすると画面が小さくて見えにくくなるので、バックグラウンドの色で上位足の移動平均線では価格が上なのか下なのかを表示させるインジケーターを作りました。
例えば、SMA Length で200を選び、MT Timeframeで5分を選べば、1分足タイムフレームでトレードしていて雲行きが怪しくなってくるとBGが赤になり、5分足では200線以下に突入しているようだと把握することができます。
Entry Signal: Low X% Lower Than OpenFires off a signal whenever the Low of the candle is below a certain percentage threshold compared to the open
John M Oscillator with Zero-Cross Range Scaling## John M Oscillator with Zero-Cross Range Scaling - How It Works
### Core Concept
This oscillator measures momentum by comparing the current closing price to a smoothed opening price (calculated as the average of the previous candle's opening and closing prices), then scales that signal based on recent market volatility. This makes the strength readings relative to recent price action rather than absolute values.
### How It Calculates
**Step 1: Modified Opening Price**
- Takes the previous candle's opening and closing prices and averages them together
- This creates a smoother reference point that reduces noise compared to using raw opening prices
**Step 2: Basic Oscillator Value**
- Subtracts this smoothed opening price from the current closing price
- If close is above the smoothed open = positive momentum
- If close is below the smoothed open = negative momentum
**Step 3: Smoothing**
- Applies an Exponential Moving Average (default 5 periods) to reduce noise and false signals
**Step 4: Dynamic Scaling**
- Finds the last two times the oscillator crossed above/below zero
- Identifies the largest price range (high to low) of any candle between those zero crossings
- Scales the oscillator as a percentage of this largest range, multiplied by 100
### How to Use It
**Signal Interpretation:**
- **Zero Line Crosses**: When the oscillator crosses above/below zero, it suggests potential trend changes
- **Magnitude**: The percentage reading shows strength relative to recent volatility
- Values near +/-100 indicate extreme moves relative to recent price action
- Values near +/-50-70 suggest moderate momentum
- Values near zero suggest weak momentum or consolidation
**Key Levels:**
- **±80-100**: Potential overbought/oversold zones (relative to recent volatility)
- **±70**: Strong momentum zones
- **±50**: Moderate momentum zones
- **Zero**: Trend transition zone
**Trading Applications:**
- **Trend Entries**: Look for zero line crosses in the direction of the broader trend
- **Reversals**: Watch for extreme readings (±80-100) followed by divergence with price
- **Momentum Confirmation**: Higher percentage readings confirm stronger moves
- **Avoiding Fakeouts**: The scaling helps distinguish between significant moves and normal noise
**Advantages of the Scaling Method:**
Unlike traditional oscillators that use fixed overbought/oversold levels, this indicator adapts to current market conditions. A reading of +80 means the current momentum is 80% as strong as the biggest price move since the last trend change, making it more contextually relevant than absolute price comparisons.
Candle Range Detector by TradeTech AnalysisCandle Range Detector by TradeTech Analysis
This advanced indicator identifies and visualizes price compression zones based on inside bar formations, then tracks how price behaves around those zones — offering valuable insights into liquidity sweeps, range expansions, and trap/mitigation behavior.
The script builds upon the foundational concept of range-based price action, commonly used by institutional traders, and adds automation, mitigation tracking, and sweep detection to map how price reacts around these critical ranges.
🔍 How It Works:
• Range Formation: A new range is detected when the current candle forms entirely within the high and low of the previous candle (i.e., an inside bar). This behavior often indicates price compression and potential breakout zones.
• Range Extension: Once a range is confirmed, the script projects upper and lower boundaries (using either a percentage-based multiplier or Fibonacci log extension), providing context for expected breakout zones.
• Mitigation Tracking: The script continuously monitors whether price breaks above or below the projected extensions, marking that range as mitigated — useful for confirming whether liquidity was absorbed.
• Sweep Detection: If price re-visits a mitigated zone and shows signs of a liquidity sweep (via wick + close behavior), the indicator triggers visual sweep labels and optional alerts.
🧠 Optional Visual Enhancements:
• Highlight range-forming candles with light blue background (toggle on/off)
• Midpoint dotted line for symmetry analysis
• Labels for “Range High” and “Range Low” for visual clarity
• Dynamic box drawing that adapts upon mitigation or continuation
⚙️ Customizable Features:
• Choose between Normal and Fibonacci-based detection modes
• Toggle visibility of range boxes, extension lines, and sweep markers
• Configure sweep alerts, mitigation window size, and visual transparency
⸻
🧪 Use Cases
• Identify consolidation zones before major price moves
• Confirm liquidity sweeps for entry/exit traps
• Visualize and test mitigation behavior of past zones
• Combine with Order Flow or Volume Profile tools to enhance context
⸻
⚠️ This is a fully original implementation that goes beyond classical inside-bar scanners by incorporating mitigation, extension projection, and liquidity sweeps — making it a powerful tool for intraday, swing, and even Smart Money-based trading setups.
IL - Inside Bar Detector - v01Indicator: IL - Inside Bar Detector - v01
Product: An Indigo Lynx Indicator
Copyright: © Indigo Lynx, v01, 2025-07-04
Description:
This indicator identifies Inside Bar candlestick patterns, which can signal
consolidation or indecision in the market, often preceding breakouts.
It offers multiple definitions for what constitutes an Inside Bar, an
optional volume filter, and differentiates markers and display for
bullish or bearish closing inside bars.
Features:
- Detects Inside Bar patterns.
- Configurable Inside Bar Definitions (via "Inside Bar Definition" input):
1. "Body (O/C)": Current O/C body within previous O/C body.
2. "Range (H/L - Standard)": Current H/L within previous H/L.
3. "Super (Range & Body)": Requires BOTH conditions.
- Optional Volume Filter: Inside Bar volume < SMA of volume.
- Display Toggles: Separate options to show/hide Bullish closing IBs
and Bearish closing IBs.
- Customizable Visuals: Bar color and optional plotshape markers (differentiated
for bullish/bearish closing inside bars using "BI" and "BRI" text).
- Data Logging: Option to log detected pattern details.
How to Use & Interpret:
- Configure definition, volume filter, and display options.
- Inside Bars are highlighted by bar color if their type (bullish/bearish closing) is enabled.
- Optional shapes: Green up-triangle (BI) for bullish-closing Inside Bars,
Red down-triangle (BRI) for bearish-closing Inside Bars, if enabled.
- Use with other analysis methods for confirmation.
Disclaimer: Trading involves substantial risk of loss and is not suitable for all investors.
Past performance is not indicative of future results.
IL - Bull and Bear Engulfing Detector - v01Description:
This indicator is designed to identify and highlight Bullish and Bearish Engulfing
candlestick patterns on your chart. It offers a high degree of customization
through different engulfing definitions and an optional strictness filter, allowing
traders to tailor the detection to their specific criteria for these common reversal signals.
Features:
- Universal Detection: Identifies both Bullish Engulfing and Bearish Engulfing patterns.
- Configurable Engulfing Modes (via "Engulfing Definition Type" input):
1. "Body (O/C)": Traditional - current body engulfs previous body.
2. "Range (H/L)": Current H/L range engulfs previous H/L range.
3. "Body & Range (Super)": Requires BOTH "Body (O/C)" AND "Range (H/L)" conditions.
- Optional "Larger Body" Filter: Engulfing body must be strictly larger.
- Display Toggles: Options to show/hide Bullish and/or Bearish pattern signals.
- Customizable Colors: Bar colors for bullish/bearish patterns are user-configurable.
- Data Logging: Option to log detected pattern details to the Pine Logs.
- Visual Signals: Patterns marked with plot shapes and optional bar coloring.
How to Use & Interpret:
- Configure "Engulfing Definition Type", "Require Larger Engulfing Body?", display toggles,
and colors in the indicator settings.
- Enable "Log Detected Pattern Examples?" in "Debug Options" to capture data.
- BE = Bullish Engulfing (green triangle below bar). BRE = Bearish Engulfing (red triangle above).
- Use with other analysis methods for confirmation.
Disclaimer: Trading involves substantial risk of loss and is not suitable for all investors.
Past performance is not indicative of future results.
[T] DR [no iDR]DR indicator for opening range - simple and clean. No IDR.
Also referred to as Opening Range or ORB.
9:30 to 9:45 NY session by default.
Can define session start and end times for NY, Asia and London.
Cambist with RSI Divergenceits an advanced indicator of cambist with RSI divergence exclusively for sarmaaya.
Overnight High/Low, Session High/LowGives you the following information:
- Previous session(s) high and low (up to 10)
- The current session overnight high and low
- The previous session open and close
When any prior day high or low is broken, the line for it will stop extending to the right.
FVGs Multi-Frame Optimized v1.0Description
FVGs Multi-Frame Optimized v1.0 This indicator detects and visualizes Fair Value Gaps (FVGs) across multiple timeframes (from 1 second to 1 day). It offers complete customization of imbalance visualization including:
Styles and colors for bullish/bearish FVGs
Labeling options
Mitigated zone management
Proximity controls to show/hide FVGs
Individual timeframe settings
User Manual:
1. Basic Setup :
Select which timeframes to display (1s to 1D)
Choose whether to hide lower/current timeframes
Adjust spacing between zones from different timeframes
2. Visual Styles :
Customize lines (solid, dashed, dotted)
Define colors for active and mitigated FVGs
Control line thickness
3. Advanced Options :
Enable/disable proximity filter
Configure FVG mitigation criteria
Limit maximum visible FVGs
Candle Pattern RecognizerCandle Pattern Recognizer With Filters:
This indicator automatically scans your chart for classic candlestick patterns and visually marks them with colored bars and labels. It also includes filters so you only see high-probability signals that match real market momentum, volatility, and trend context.
What it does:
Detects all major candlestick reversal patterns, like: Bullish & Bearish Engulfing, Morning Star, Evening Star, Hammer, Hanging Man, Shooting Stars, Dojis, Harami, Piercing Line, and more
In settings:
Enable or disable any pattern you want under “Candlestick Patterns”
Turn “Show Pattern Labels” on to display the label tags (e.g., "ENG", "Doji", etc.) or off.
Activate filters for smarter signal selection.
Filter Options:
✅ HL Filter: Hides candles with small ranges (low volatility)
Ensures patterns only appear when the candle’s range is bigger than normal (based on ATR)
✅ MA Slope Filter: Shows patterns when the moving average is sloping in the right direction
✅ TMA Filter: Uses a Triangular Moving Average and volatility bands, filters out signals unless they appear below the lower band (bullish) or above the upper band (bearish)
✅ Swing Filter: Ensures a pattern appears after a meaningful swing high/low, Adds market structure context to avoid random setups
✅ Volume Filter: Keeps patterns that occur with high relative volume, Helps confirm real buying/selling interest
✅ RSI Filter: Shows patterns only when RSI confirms, Bullish patterns near oversold levels, Bearish patterns near overbought levels
📈 Linearity (ER 0–1) + ADRMAX % Table
This indicator combines two powerful concepts to help traders assess trend efficiency and intraday thrust strength:
🔹 1. Linearity (Kaufman Efficiency Ratio)
Measures how efficiently price has trended over a selected lookback period.
Values range from 0 to 1, where:
1.0 = perfectly trending market (no noise)
0.0 = completely choppy market (all noise)
Optional method: New High Persistence (fraction of bars in the period that hit a new high).
🔹 2. ADRMAX % (Average Daily Range Max as %)
Calculates the average of top % biggest green daily candles (measured as % range: (high - low) / low × 100) over a given lookback.
Projects this ADRMAX % above current lows as a thrust-level expectation.
Marks candles exceeding this dynamic threshold, helping identify unusual momentum.
📊 On-Chart Table Display
Real-time display of:
Linearity (0–1 scale)
ADRMAX %
Table is color-coded and position-customizable.
🛠️ Use Cases:
Trend-following filters: only act when ER > 0.75.
Thrust detection: breakout days with range > ADRMAX.
Adaptive entries: combine both for better timing.
Multi Horizontal Lines 1000 BarsThis indicator is is not my code, I have copied this from another user and extened the lines so they go back 1000 bars for back testing.
I use this indicator to trade Crude Oil and set the horizontal lines to 20 cents increments, 0.2 is 20 cents. You can change the horizontal lines to any price distance to suit your style of trading.
My idea is when price crosses over a horizontal line I will enter a trade long or short looking to secure 20 cents.
GlocksFibsA modded Version of AlgoAlphas fib script. reworked it into my fib set. same rules apply 868 924 entry. first tp 50% mark. using it to help speed up my charting process overall. This is by far one of the best ones ive found that wont print the fib weird once the new numbers are in. all credits to AlgoAlpha and this gem they made!
Trading Tools🎯 Trading Tools – Your All-in-One Market Analysis Solution
Developed by Marcelo Ulisses Sobreiro Ribeiro, Trading Tools is a powerful, multi-functional indicator that combines essential trading features into a single, streamlined tool. Perfect for traders who want clear, precise market opportunities across any asset or timeframe.
🔥 Key Features:
📊 Smart Moving Averages
Customizable setup for up to 5 MAs (EMA, SMA, WMA).
Color-coded fills between MAs to highlight trends (bullish/bearish).
Dynamic 20-period MA (color shifts with trend).
Alerts for crossovers and trend changes.
🕒 Killzones (High-Liquidity Sessions)
Visual highlights for key trading sessions: Asia, London, NY AM, NY Lunch, and NY PM.
Customizable colors and transparency.
Drawing limit to avoid chart clutter.
📅 Time-Based Markers
Day-of-week labels (option to hide weekends).
Day separators (customizable style).
🎨 Rule-Based Candle Coloring
Expanded True Range (large candles).
Inside Bars.
123 Pattern (Mark Crisp).
Bullish/Bearish Engulfing.
Price of Closing Reversal (PFR).
Market Strength.
Overbought/Oversold (RSI & Stochastic).
⚖️ Imbalance Detector (FVG, OG, VI)
Fair Value Gaps (FVG).
Opening Gaps (OG).
Volume Imbalance (VI).
🔄 Stochastic Cross & Valid Pullbacks
Stochastic crossover signals (up/down arrows).
Valid pullback alerts.
📈 Dynamic Support & Resistance
Previous day’s high/low (PDH/PDL).
Automatic pivot detection (significant highs/lows).
⚙️ Full Customization
Adjust timeframe limits, timezone, label size, and colors.
Control how many drawings are kept on the chart.
🚨 Built-in Alerts
Alerts for 20-period MA, PFR, Pullbacks, and more!
📌 Why Use Trading Tools?
All-in-one solution: No need for multiple indicators.
Intuitive visuals: Colors and markers simplify setup identification.
Adaptable: Works on any asset (forex, stocks, crypto).
🔹 Perfect for traders who want efficiency and clarity in their analysis!
Hodie Smart Inside BarThe Hodie Smart Inside Bar indicator automatically detects and visually highlights inside bars — candles fully contained within the range of the previous (parent) candle.
How the indicator works:
Inside Bar Identification:
The indicator analyzes each candle and checks if its high is lower than the previous candle’s high, and its low is higher than the previous candle’s low. If this condition is met, the candle is considered an inside bar.
Size Filtering:
To filter out small and insignificant consolidations, the indicator compares the size of the parent candle’s range to the inside bar’s range. Only if the parent candle is significantly larger (2 times or more — adjustable parameter), the inside bar is considered significant.
Zone Drawing:
For each detected inside bar, the indicator draws a rectangular zone bounded by the parent candle’s high and low. This zone automatically extends to the right as new bars appear until the price moves outside the parent candle’s range.
Zone Completion:
Once the price closes above the parent candle’s high or below its low, the zone is considered complete and stops extending.
Visual Aids:
If enabled, the indicator can shade the background of the current inside bar for additional visual emphasis.
A label with the text "IB" appears above the inside bar candle on the chart for easier identification.
Alerts:
Supports alerts when a new inside bar forms.
Alerts help traders notice important signals promptly.
To activate, create an alert on the indicator with the condition “New Inside Bar”.
Benefits of the Indicator:
Inside bars often signal consolidation and potential liquidity accumulation, which may be followed by a strong impulsive breakout. This indicator helps traders quickly identify consolidation zones and prepare for possible price moves.
Hodie Smart Inside BarThe Hodie Smart Inside Bar indicator automatically detects and visually highlights inside bars — candles fully contained within the range of the previous (parent) candle.
How the indicator works:
Inside Bar Identification:
The indicator analyzes each candle and checks if its high is lower than the previous candle’s high, and its low is higher than the previous candle’s low. If this condition is met, the candle is considered an inside bar.
Size Filtering:
To filter out small and insignificant consolidations, the indicator compares the size of the parent candle’s range to the inside bar’s range. Only if the parent candle is significantly larger (2 times or more — adjustable parameter), the inside bar is considered significant.
Zone Drawing:
For each detected inside bar, the indicator draws a rectangular zone bounded by the parent candle’s high and low. This zone automatically extends to the right as new bars appear until the price moves outside the parent candle’s range.
Zone Completion:
Once the price closes above the parent candle’s high or below its low, the zone is considered complete and stops extending.
Visual Aids:
If enabled, the indicator can shade the background of the current inside bar for additional visual emphasis.
A label with the text "IB" appears above the inside bar candle on the chart for easier identification.
Alerts:
Supports alerts when a new inside bar forms.
Alerts help traders notice important signals promptly.
To activate, create an alert on the indicator with the condition “New Inside Bar”.
Benefits of the Indicator:
Inside bars often signal consolidation and potential liquidity accumulation, which may be followed by a strong impulsive breakout. This indicator helps traders quickly identify consolidation zones and prepare for possible price moves.
Confirmed Candlestick Pattern DetectorConfirmed Candlestick Pattern Detector, such as Evening Star, Morning Star etc.
ACE FVG & IFVG Trading System1. What the Script Does
The "ACE FVG & IFVG Trading System " is a TradingView Pine Script (version 5) that identifies and trades Fair Value Gaps (FVGs) and Inverse Fair Value Gaps (IFVGs). It offers:
Detection of bullish/bearish FVGs and IFVGs with customizable parameters.
Multiple entry types: regular FVG retracement, Break of Structure (BOS), breakaway gaps, and Immediate/Retrace IFVG entries.
A pending setup system showing potential trades before they trigger.
Risk management with configurable stop loss (SL) and take profit (TP) based on FVG levels, swing points, or risk-reward ratios.
Market structure analysis using swing highs/lows, BOS, and Market Structure Shifts (MSS).
Time filters to restrict trading to specific sessions.
Visualizations including FVG boxes, trade boxes, pivot lines, and labels.
Entry and performance tables displaying trade details and metrics like win rates and P&L by entry type.
2. How It Works
The script is organized into modular sections for efficient execution:
Inputs: Extensive customization options (e.g., FVG size, entry types, SL/TP modes, time filters) grouped for clarity.
Data Structures: Custom types (FVGData, SwingPoint, EntryData) store FVG, pivot, and trade data in arrays.
Utility Functions: Handle calculations like risk-reward ratios, time validation, and trade size filtering.
Swing Point Detection: Uses ta.pivothigh/ta.pivotlow to identify pivots, supporting BOS/MSS and SL/TP calculations.
FVG Detection: Identifies regular FVGs (low > high or high < low ) and IFVGs (mitigated FVGs with immediate or retrace signals).
Entry Logic: Triggers trades based on user-enabled conditions (e.g., retracement, BOS, breakaway gaps) with dynamic SL/TP.
Trade Management: Tracks active/pending trades, updates visualizations (boxes, lines, labels), and handles cancellations/invalidations.
Main Logic: Executes on each bar to detect FVGs, process entries, update trades, and manage visualizations.
Tables: Displays recent trades and performance stats (e.g., win rates by entry type) on the last bar.
Pivot Visualization: Plots swing points with dynamic extensions and mitigation status (solid/dotted lines).
3. How to Use It
Add to TradingView:
Open Pine Editor, paste the script, save it, and add to chart.
Configure Inputs:
Access settings via chart (right-click indicator > Settings).
Adjust:
fvgMinSize for market volatility (e.g., 5 for forex).
Entry types (e.g., enable IFVG, disable breakaway gaps).
SL/TP modes and minimum R:R (e.g., 2.0 for 1:2).
Time filters for active sessions (e.g., 09:30-16:00).
Visual settings (box transparency, table positions).
Interpret Output:
FVG Boxes: Green (bullish), red (bearish), purple (IFVG/mitigated).
Trade Boxes: Gray-green/red-gray (pending), green/red (active), updated for win/loss.
Pivot Lines: Solid (unmitigated), dotted (mitigated).
Tables: Entry table shows trade details; performance table shows win rates/P&L.
Trading:
Monitor pending setups for entry signals.
Enter manually at active trade levels, following SL/TP.
Use performance stats to refine settings.
Test on demo charts and adjust for market/timeframe.
Best Practices:
Use higher timeframes (e.g., 1H, 4H) for less noise.
Combine with other analysis (e.g., support/resistance).
Backtest using TradingView’s replay feature.
Originality
The script is original due to its unique combination of features:
Enhanced IFVG Strategy: Dual Immediate/Retrace IFVG modes with a novel “Immediate Then Retrace” preference.
Pending Setup System: Proactive visualization of potential trades with auto-cancellation.
Granular Performance Tracking: Detailed breakdown of win rates/P&L by entry type (regular FVG, IFVG, breakaway).
Dynamic Pivot Visualization: Real-time mitigation updates (solid to dotted lines).
Modular Design: Custom types and organized logic for extensibility. It builds on general FVG concepts (e.g., from ICT) but implements unique logic and features not found in standard
TradingView FVG scripts, distinguishing it from both open-source and premium indicators.
Credit of Concepts to ICT
Collaborations with JMAC and Timeless
TIME-SPLT ACADEMY INDICATOR# TIME-SPLT ACADEMY CISD + FVG + TSM FRACTALS - Comprehensive Market Structure Analysis Tool
## Overview
This indicator combines three essential market structure analysis components into a unified trading tool: Change in State Direction (CISD), Fair Value Gaps (FVG), and TSM Fractals. This integration provides traders with a complete framework for identifying market structure breaks, price imbalances, and key pivot levels on any timeframe.
## Component 1: CISD (Change in State Direction)
**What it is:** CISD identifies significant breaks in market structure by tracking when price decisively breaks above previous swing highs (bullish CISD) or below previous swing lows (bearish CISD). This concept is fundamental to understanding trend changes and continuation patterns.
**How it works:**
- Monitors swing highs and lows using customizable pivot periods
- Tracks when price closes above a previous swing high (bullish structure break)
- Tracks when price closes below a previous swing low (bearish structure break)
- Draws horizontal lines from the pivot point to the break point with "CISD" labels
- Works on multiple timeframes simultaneously
**Trading Applications:**
- Identifies trend changes and continuation signals
- Provides entry signals on structure breaks
- Helps determine market bias and direction
## Component 2: FVG (Fair Value Gaps)
**What it is:** Fair Value Gaps are price imbalances that occur when there's a gap between the high of one candle and the low of another candle two periods later, with the middle candle not filling this gap. These represent areas where price moved inefficiently and often return to "fill" the gap.
**How it works:**
- Analyzes 3-candle patterns to identify gaps
- Bearish FVG: Gap between low and high where price dropped leaving unfilled space above
- Bullish FVG: Gap between high and low where price rose leaving unfilled space below
- Tracks 8 different candle body combinations for each direction (up, down, doji patterns)
- Monitors gap mitigation when price returns to fill the imbalance
- Changes color when gaps are partially or fully mitigated
**Gap Detection Logic:**
- Bearish FVG patterns: DDD, DDJ, JDD, UDJ, JDU, UDD, DDU, UDU
- Bullish FVG patterns: DUD, DUJ, JUD, UUJ, JUU, UUD, DUU, UUU
- (D=Down candle, U=Up candle, J=Doji candle)
**Trading Applications:**
- High-probability reversal zones when price returns to FVGs
- Support and resistance levels
- Target areas for limit orders
- Risk management reference points
## Component 3: TSM Fractals
**What it is:** TSM Fractals identify significant pivot highs and lows using Williams Fractal methodology. These mark potential reversal points and key support/resistance levels.
**How it works:**
- Identifies fractal highs: peaks where the center candle's high is higher than surrounding candles
- Identifies fractal lows: valleys where the center candle's low is lower than surrounding candles
- Uses customizable lookback periods (default 15) for fractal identification
- Displays horizontal lines with "$" symbols at fractal levels
- Maintains a configurable number of recent fractals on the chart
**Trading Applications:**
- Key support and resistance levels
- Potential reversal zones
- Confluence with other analysis tools
- Stop loss placement reference points
## Why This Combination Works
**Synergistic Analysis:** Each component provides different but complementary information:
1. **CISD** shows when market structure changes, indicating trend shifts or continuation
2. **FVGs** reveal where price has moved inefficiently and may return for rebalancing
3. **Fractals** highlight key pivot points that often act as support/resistance
**Trading Edge:** The combination allows for:
- **Entry Confirmation:** Wait for CISD breaks near unfilled FVGs at fractal levels
- **Risk Management:** Use FVG boundaries and fractal levels for stop placement
- **Target Selection:** Project moves to opposite FVGs or fractal levels
- **Market Context:** Understand whether you're trading with or against structure
## Key Features
**Multi-Timeframe CISD:**
- Customizable timeframe settings (Minute, Hour, Day, Week, Month)
- Adjustable swing length for pivot identification
- Customizable line styles, widths, and colors
- Optional alerts on structure breaks
**Advanced FVG Management:**
- Automatic gap size filtering
- Real-time mitigation tracking
- Color-coded active vs. mitigated gaps
- Optional pip value labels
- Large gap alerts for significant imbalances
**Intelligent Fractal Display:**
- Configurable fractal periods
- Maximum fractal count management
- Clean visual presentation
- Historical fractal preservation
## Settings & Customization
**CISD Settings:**
- Timeframe selection and multipliers
- Swing length adjustment (default 7)
- Line styling options
- Color customization for bullish/bearish breaks
- Alert toggle options
**FVG Settings:**
- Show/hide toggles for each direction
- Minimum gap size filtering
- Alert threshold for large gaps
- Color schemes for active and mitigated gaps
- Optional size labels in pips
**Fractal Settings:**
- Fractal period adjustment (default 15)
- Maximum display count (default 10)
- Show/hide toggle
## Educational Value
This indicator teaches traders to:
- Understand market structure concepts
- Recognize price inefficiencies
- Identify key pivot points
- Combine multiple analysis methods
- Develop systematic trading approaches
## Use Cases
**Swing Trading:** Identify major structure breaks with FVG confluence
**Day Trading:** Use lower timeframe CISDs with intraday FVGs
**Scalping:** Quick entries at FVG mitigation near fractal levels
**Position Trading:** Higher timeframe structure analysis with major FVGs
## Technical Implementation
- Utilizes Pine Script v6 for optimal performance
- Efficient array management for historical data
- Real-time calculations without repainting
- Memory-optimized box and line management
- Multi-timeframe data handling with proper security functions
This comprehensive tool eliminates the need for multiple separate indicators, providing everything needed for complete market structure analysis in one cohesive package. The educational component helps traders understand not just what the signals are, but why they work and how to use them effectively in different market conditions.
Scanner Candles v2.01The "Scanner Candle v.2.01" is an indicator classifies candles based on the body/range ratio: indecisive (small body, ≤50%), decisive (medium body), explosive (large body, ≥70%). It includes EMAs to identify trends and "Reset Candles" (RC), small-bodied candles near EMAs, signaling potential reversals or continuations. Useful for analyzing volatility, breakouts, reversals, and risk management.
Description of the indicator:
The "Scanner Candle v.2.01" indicator classifies candles into three categories based on the proportion of the candle's body to its range (high-low):
Indecisive: candles with a small body (≤ set threshold, default 50%), indicating low volatility or market uncertainty.
Decisive: candles with a medium body, reflecting a clear but not extreme price movement.
Explosive: candles with a large body (≥ set threshold, default 70%), signaling strong directional moves.
Additionally, the indicator includes:
Customizable exponential moving averages (EMAs) to identify trends and support/resistance levels.
Detection of "Reset Candles" (RC), specific candles (e.g., dojis, ) with a small bodies body near EMAs, useful for identifying potential reversal or continuation points.
Coloring and visualization:
Candles are colored by category (white for indecisive, orange for decisive, purple for explosive).
Reset Candles are marked with circles above/below the candle (green for bullish, red for bearish).
Potential uses:
Volatility analysis: Identifying uncertain (indecisive), directional (decisive), or impulsive (explosive) market phases.
Breakout trading: Explosive candles can signal entry opportunities on strong moves.
Reversal detection: Reset Candles near EMAs can indicate turning points or trend continuation.
Trend-following support: Integrated EMAs contextualize candles within the main trend.
Risk management: Indecisive candles suggest avoiding trades in low-directionality phases.
The indicator is customizable (thresholds, colors, thresholdsEMAs, ) and adaptable to various timeframes and strategies, from day trading to swing trading.
Reset Candles:
Reset Candles (RC) are specific candles signaling potential reversals or continuations, often near EMAs. They are defined by:
Small body: Body < 5% of the range of the last 10 candles, indicating low volatility (e.g., doji).
EMA proximity: The candle is near or crosses a defined EMA (e.g., 10, 60, or 223 periods).
Trend conditions: Follows a red candle, with the close of the previous previous candles above a specific EMA, suggesting a potential bullish resumption or stabilization.
Limited spike: The candle has minimal tails (spikes, ) below a set threshold (default 1%).
Minimum timeframe: Appears on timeframes ≥ set value (default 5 minutes) or daily charts.
Non-consecutive: Not preceded by other RCs in the last 3 candles.
Types:
Doji_fin: Green circle above, signaling a bullish bullish setup near longer EMAs.
Dojifin_2: Yellow Red circle below, signaling a bearish setup near shorter EMAs.
Trading uses:
Reversal: RCs near EMAs signal bounces or rejections, ideal for counter-trend trades.
Continuation: In trends, RCs indicate pauses before trend resumption, offering low-risk entries.
Support/resistance confirmation: EMA proximity strengthens the level's significance.
Risk management: Small bodies and EMA proximity allow tight stop-losses.
Limitations:
False signals: Common in volatile or sideways markets; use with additional confirmation.
Timeframe dependency: More reliable on higher timeframes (e.g., 1-hour or daily).
Customization needed: Thresholds (e.g., spike, timeframe) must be tailored to the market.
Conclusion:
Reset Candles highlight low-volatility moments near technical levels (EMAs) that may precede significant moves. They are ideal for precise entries with tight stops in reversal or continuation strategies but require clear market context and additional confirmation for optimal effectiveness.
#ema #candlepattern #scalping
Mark specific candle (e.g. bar 20)This Pine Script indicator, "Mark specific candle (e.g. bar 20)" (short title "Mark candle"), is a simple yet powerful tool to visually highlight a particular candle on your chart.
What it does:
It marks a specific candle (e.g., the 20th, 10th, or any number you choose) counting backwards from the most recent candle on your chart. The marked candle will be colored in a subtle light grey and also feature a tiny, matching grey arrow pointing down from above it.
Why it's useful:
This indicator helps you quickly identify and track a consistent reference point in recent price action. It's great for strategies that depend on fixed look-back periods or for simply keeping an eye on a specific historical candle's position as new data comes in.
Key Features:
Adjustable Candle Number: Easily change which candle is marked (e.g., 20th, 10th, 5th) directly from the indicator settings using the "Candle Number to Mark (from end)" input.
Clear Visuals: Both the candle color and a small arrow provide a subtle, yet effective, visual cue.
How to use:
Simply add this script to your TradingView chart. Then, open the indicator's settings to set your desired candle number.
Support & Resistance External/Internal & BoS [sgbpulse]Market Structure Support & Resistance External/Internal & BoS
Overview: Smart & Fast Market Structure Analysis
The Market Structure "Support & Resistance External/Internal & BoS " indicator is designed to empower your technical analysis by automatically and precisely identifying significant support and resistance levels. It achieves this by pinpointing high and low Pivot Points, plus key Pre-Market High/Low levels.
Its unique strength lies in its dynamic adaptability to any timeframe and any asset you choose. This tool analyzes the relevant market structure for the current timeframe and asset, providing you with accurate and relevant levels in real-time. The indicator maintains a clean chart and swiftly displays all support, resistance, and Pre-Market levels for any asset, saving valuable analysis time and enabling you to get a clear and quick snapshot of the market.
How the Indicator Works
The indicator identifies and displays three critical types of key levels:
External Pivots: These are more significant pivot points, indicating important reversal points across a broader range of price movement, considering the current timeframe. The indicator draws dark green support lines (for low pivots) and dark red resistance lines (for high pivots) from these points.
Internal Pivots: These are shorter-term pivot points, signifying smaller corrections or reversals within the overall structure of the current timeframe. These lines provide additional areas of interest within the ranges of the External Pivots.
Pre-Market High/Low Levels: The indicator displays the High and Low reached during pre-market hours as distinct lines on the chart. Please note: These levels will only appear when the selected timeframe is lower than one day (e.g., 1-hour, 15-minute) and provided that the "Session extended trading hours" option is enabled in your TradingView chart settings. These levels are crucial for identifying potential opening ranges and critical support/resistance areas upon regular market open, especially for intraday trading.
Break of Structure (BoS) Identification
A key feature of this indicator is its ability to identify Break of Structure (BoS). When a support or resistance line is breached, the indicator changes the line's color to gray and displays a "Break of Structure" label, indicating a potential trend change or continuation:
External BoS: When an external support/resistance line is broken, a "BoS" label in red will appear. This is a strong signal for a potential shift in the primary market structure or a strong trend continuation.
Internal BoS: When an internal support/resistance line is broken, an "iBoS" label in green will appear. This indicates a break within the existing market structure, which can be used to confirm direction or identify shorter-term entry/exit opportunities.
Full Indicator Customization
The indicator provides maximum flexibility to suit any trading style and timeframe:
Number of Lines Displayed: You can choose how many support and resistance lines you want to see on your chart. The default is 15 lines, but you can increase or decrease this number according to your needs and desired level of detail.
External Pivot Settings: Define the number of bars before and after a pivot point required for External Pivot identification.
Internal Pivot Settings: Define the number of bars before and after a pivot point required for Internal Pivot identification.
Color Customization: Full control over colors! You can change the colors of the support and resistance lines, the colors of the Pre-Market levels, and also the colors of the BoS and iBoS labels to create a visual appearance that perfectly matches your personal preferences.
This flexibility allows you to adapt the indicator to your trading style and any timeframe you operate in, without needing to manually change settings each time.
Recommended Uses
Clean Chart & Quick Analysis: The indicator displays important levels clearly, enabling quick identification of areas of interest without visual clutter on the chart. This significantly saves analysis time and allows you to make faster decisions.
Critical Levels for Any Timeframe & Asset: Get precise and adaptive support and resistance, plus essential Pre-Market levels (in relevant timeframes), for any timeframe and on any asset you choose.
Trend Direction Identification: Clear support and resistance lines help understand market structure.
Breakout Confirmation: The BoS label provides visual confirmation of key level breaches, helping to confirm potential trend changes.
Locating Entry & Exit Points: Use these levels as potential areas of interest for trades, after confirming a breakout or reversal.
Finding Stop-Loss & Take-Profit Points: Strategically place protective stops and profit targets around these support and resistance levels.
Important Note
Like any technical indicator, Market Structure "Support & Resistance External/Internal & BoS " is a supplementary tool. It's highly recommended to use it in conjunction with additional analysis methods (such as price action analysis, other indicators, and fundamental analysis) for informed trading decisions. Financial markets are dynamic, and trading always carries inherent risk.