EdgeXplorer - Smart Candle Patterns + SwingsEdgeXplorer – Smart Candle Patterns & Swings
Smart Candle Patterns & Swings by EdgeXplorer is a dual-function visual analysis tool that intelligently detects major swing points and overlays them with recognized candle reversal patterns. This tool brings together classical candlestick analysis and market structure theory, helping traders identify high-probability zones where price action may shift.
The script not only marks swing highs/lows as HH, LH, HL, or LL, but also labels key candlestick patterns—from Hammers to Engulfings to Three Black Crows—providing real-time context for possible trend continuation or reversal setups.
⸻
🔍 What Does This Tool Do?
This indicator performs two primary functions:
1. Swing Structure Labeling – Marks each new pivot as a higher high (HH), lower high (LH), higher low (HL), or lower low (LL)
2. Smart Candle Pattern Detection – Identifies 14 of the most widely studied candlestick reversal patterns and displays them alongside the swing label
It’s a lightweight, unobtrusive way to bring structure and pattern recognition to your chart—no repainting, no noise, and no signal promises.
⸻
⚙️ How It Works – Technical Breakdown
1. Swing Highs and Lows
• The script uses a pivot detection window (Pivot Length) to find local swing highs and lows
• When a new pivot forms:
• It is classified as one of:
• HH – Higher High
• LH – Lower High
• HL – Higher Low
• LL – Lower Low
• These swing points act as visual guides for traders tracking structure
2. Candlestick Pattern Logic
At each confirmed pivot, the script evaluates the candle and its neighbors for a match from a built-in library of 14 classical reversal patterns:
Pattern Description
Hammer Small body, long lower wick – bullish signal after a downtrend
Inverted Hammer Long upper wick, signals failed bearish push
Bullish Engulfing Green candle fully engulfs red one
Bearish Engulfing Red candle fully engulfs green one
Hanging Man Long lower wick after uptrend, often bearish
Shooting Star Long upper wick after uptrend, bearish signal
Doji Small or zero body, signals indecision
Morning Star Three-candle bullish reversal pattern
Evening Star Three-candle bearish reversal pattern
Spinning Top Small body with upper/lower wicks, signals indecision
Bullish Marubozu Large green candle with no wicks
Bearish Marubozu Large red candle with no wicks
Three White Soldiers Three large bullish candles in a row
Three Black Crows Three large bearish candles in a row
Each pattern is detected using precise criteria based on body size, wick ratios, and relative position to previous candles.
⸻
📈 What You See on the Chart
Visual Meaning
Swing Label (e.g., HH, LL) Identifies structural pivot and its type
Pattern Name (e.g., Doji, Bullish Engulfing) Displayed alongside swing label if pattern is detected
Label Tooltip Shows a short description of the pattern’s meaning
Color
• Swing High = red (customizable)
• Swing Low = green (customizable)
⸻
📊 Inputs & Customization
Input Description
Pivot Length Number of bars to the left/right used to confirm swing highs/lows
Swing High Label Color Customize color of HH/LH labels
Swing Low Label Color Customize color of HL/LL labels
All labels are plotted using small visual markers to avoid cluttering the chart.
⸻
🧠 How to Interpret It in Live Markets
This indicator provides context, not confirmation. Use it to:
• Validate your manual swing structure tracking with automatic HH/LL labels
• Identify when a key candle pattern forms at a major swing (e.g., Shooting Star at a HH)
• Spot potential reversal zones or breakout failures
• Add confluence to Smart Money Concepts, price action setups, or other technical strategies
Example:
• A new LL forms with a Hammer → Potential reversal from bearish exhaustion
• A HH forms with a Shooting Star → Possible trap or overextension
⸻
🧪 Use Case Ideas
• 🔄 Reversal Confirmation – Combine swing structure with pattern match for early reversal entries
• 🧭 Structure Validation – Let the HH/LL labels validate your trend bias
• 📉 Exhaustion Signals – Watch for Doji/Spinning Top patterns at mature moves
• ⚠️ Avoid Choppy Conditions – Use absence of patterns to avoid entering low-conviction zones
This tool works across all asset classes: crypto, forex, stocks, indices, and even futures.
Candlestick analysis
DP_ORB Entry & Exit IndicatorDisclaimer:
This indicator is for educational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Also, I cannot take full credit for 'ORB' as its a well known strategy amongst many traders, but I do need to give a special shout out to @TheBigDaddyMax for putting me on to this.
DP_ORB Entry & Exit Indicator
Description:
The DP_ORB Entry & Exit Indicator is a powerful tool designed for traders who utilize the Opening Range Breakout (ORB) strategy on the NYSE session. This indicator visually identifies the initial volatility window of the trading day, by marking the 15m High, and 15m Low into a ORB Box, & then tracks breakout opportunities, and provides clear, dynamic trade management levels—all directly on your chart.
Key Features:
Automatic Opening Range (ORB) Box:
Identifies and plots the high and low of the user-defined opening range (default 9:30–9:45 NYSE) for visual reference and strategy foundation.
Breakout Entry Signals:
Automatically detects and marks long or short breakout entries when price closes above or below the ORB range, with additional momentum confirmation.
Dynamic Stop Loss:
Stop loss is intelligently set to the previous bar’s low for long trades (or high for shorts), adapting to market structure at entry.
Take Profit Targets:
Up to three fully adjustable take-profit levels are plotted, calculated as percentages from entry, supporting progressive trade management.
Visual Trade Management:
Entry, stop loss, and take profit levels are displayed as extending dashed lines from entry point to the current bar, with labels always shown just to the right of price for clarity on all timeframes.
Automatic Reset and Cleanup:
Visuals and logic reset daily and upon exit, ensuring a clean, uncluttered chart experience.
How to Use:
Set your preferred opening range time and take profit levels in the settings.
Wait for a breakout and confirmation during the NYSE session.
Use the on-chart lines and labels to manage your trade according to your risk and strategy plan.
Best For:
Day traders and scalpers seeking a disciplined, visual, and fully-automated approach to opening range breakout trading.
Smart Impulse Exhaustion Finder (ATR + ADX Filter)
Smart Impulse Exhaustion Finder (ATR + ADX Filter)
This advanced script helps you spot potential trend exhaustion points exactly where impulsive moves may lose strength.
It automatically combines multiple conditions:
✅ Identifies fresh swing highs and lows using a smart lookback range.
✅ Confirms strong price extension with a minimum ATR distance from the previous swing.
✅ Uses RSI extremes, volume spikes, and candle wick rejection to detect signals only when at least two out of three exhaustion factors align.
✅ Filters out false signals during sideways chop using an ADX trend strength filter.
✅ Ignores noise candles like dojis by requiring a clear minimum body size.
This makes the tool flexible for catching late-stage trend impulses that might be due for a pullback or reversal — ideal for trailing stop strategies, partial profit taking, or hunting reversal setups on crypto, forex or stocks.
How to use
📌 Tip: This is a sniper-type tool that can catch the very start of a reversal.
Therefore, when trading its signals, it’s strongly recommended to use a Risk:Reward ratio of at least 1:3 — especially for crypto markets.
The idea is simple:
Look for exhaustion signals at fresh swing highs for potential short pullbacks.
Or at fresh swing lows for potential long reversals.
Combine with your own trend and context tools.
Always test thoroughly before live trading.
Inputs
🔹 Extremum Lookback: Defines how far back to check for fresh highs/lows.
🔹 ATR Threshold: Controls the minimum impulse distance.
🔹 ADX Filter: Ensures signals only appear in meaningful trending conditions.
🔹 Body and Wick Filters: Reduce noise by rejecting tiny candles and highlighting clear rejection tails.
Disclaimer
⚠️ This script is for educational purposes only and does not constitute financial advice.
Trade responsibly — always use proper risk management and test before deploying in live conditions.
Intelligent Top & Bottom Finder v9.8 Keyvankh📈 Intelligent Top & Bottom Finder v9.8 Keyvankh
A next-generation all-in-one trading system for precise tops, bottoms, and reversals across all timeframes.
---
🟢 Overview
This indicator is a powerful and intelligent solution for detecting market tops and bottoms, key reversals, and S/R zones with institutional-grade accuracy. Designed for traders seeking an edge in any market (crypto, forex, stocks), it combines advanced candlestick recognition, multi-indicator confirmation, smart support/resistance clustering, and strict signal filtering into one seamless tool.
---
🔎 How Does It Work?
1. Advanced Support & Resistance Clustering
Automatically detects and draws high-probability support and resistance zones using dynamic ATR-based pivot clustering.
Highlights breakouts and retest (flip) zones in real-time, adapting to changing market structure.
2. Full Candlestick Pattern Recognition
Scans for 15+ classic and advanced patterns: Engulfing, Pin Bar, Doji, Three Bar, Marubozu, Hammer, Shooting Star, Three White Soldiers, Three Black Crows, Tweezer, Morning/Evening Star, Kicker, Belt Hold, and more.
Scores each pattern’s strength based on location (S/R zone, retest, breakout), volume context, and confirmation signals.
3. Multi-Indicator Confirmation Engine**
Integrates and scores confirmation from up to five additional sources:
RSI Games 1.2** (smoothed LTF momentum shifts)
MACD Divergence** (bullish/bearish momentum reversal)
QQE+ v7 Advanced** (dynamic volatility filter)
OBV Trend Filter** (volume-backed trend validation)
Volume Game** (net volume spike and reversal detection)
Each module can be enabled or disabled to fit your personal trading style.
4. Institutional S/R and Retest Logic
Real-time recognition of major trendline breaks, retest zones, and price flips.
Automatic labeling and coloring of S/R zones, retest boxes, and confirmation candles.
5. Smart Buy & Sell Signal Generation**
Combines all scoring modules with strict logical filters and “failsafe override” logic (guaranteeing signal on confirmed hammers, engulfings, etc. even if other filters disagree).
Plots clear “BUY” and “SELL” labels only when a strong, multi-factor signal appears—minimizing noise and maximizing reliability.
Built-in fallback logic (optional) for edge cases.
6. Alerts & Automation Ready
TradingView alerts for all BUY, SELL, or ANY signal conditions—perfect for auto-trading or notification setups.
---
*⚙️ Customizable Inputs
Enable/Disable any module (RSI Games, MACD, OBV, QQE+, Candlestick Scanner, Volume Game)
Minimum Confirmations** required for a signal (1–10)
Pivot/Zone Sensitivity:** ATR multiplier, pivots per cluster, retest bar duration
LTF (Lower Timeframe) Confirmation:** Fully configurable
---
📊 How To Use**
Apply on any timeframe and symbol**—crypto, stocks, forex, indices.
Use as a **standalone reversal/entry tool** or to confirm your own technical setups.
Combine with your favorite momentum, trend, or volume indicators for advanced confluence.
Set up **TradingView alerts** for auto-trading, Telegram/email notifications, or trade journaling.
---
🟢 What Makes This Unique?
All-in-one multi-indicator fusion:** No more juggling a dozen scripts.
Institutional logic:** Goes beyond basic signals with true S/R, retest, and volume logic.
Full transparency:** Source code is clear and commented (if published open-source).
Fast and reliable:** Optimized for minimal lag and maximum accuracy.
---
⚠️ Disclaimer**
This indicator is a tool to assist with trade timing and risk management. **No system is 100% accurate.** Always use in conjunction with your own analysis and risk management practices.
---
📚 Credits & License**
Created by Keyvan Khodakhah.
You may use, modify, or share this script under the (mozilla.org).
Please credit the original author if you fork or reuse in public.
---
Questions, feedback, or collaboration? Contact: Keyvankh
---
Precision in technical analysis comes from layers of confluence and discipline. This tool brings that precision to your chart.
Fair Value Gap & Liquidity Zones [Combined]mixed FVG and buyside and sellside liquidity
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
HTF Candle Extremes Zigzag (Drawn on LTF)HTF Candle Extremes Zigzag (Drawn on LTF)
This indicator plots zigzag lines connecting the extremes (highs and lows) of Higher Timeframe (HTF) candles directly on your lower timeframe (LTF) chart. It visually highlights trend changes and HTF candle structure by drawing colored lines representing uptrends and downtrends based on HTF candle extremes.
"Key Features"
Higher Timeframe Tracking: Select any HTF to track candle extremes using the built-in security function.
Zigzag Lines: Connects HTF candle lows to highs in an intuitive zigzag pattern.
Trend Indication: Uptrend lines are green, downtrend lines are red (customizable colors).
Customizable Line Width: Adjust the thickness of the zigzag lines for better visibility.
Drawn on Lower Timeframe: All lines appear on your active lower timeframe chart, allowing easy visual correlation.
"How It Works"
The script fetches the open, high, low, close, and time data of the specified HTF candle. It detects new HTF bars and identifies trend direction changes by comparing the highs and lows of consecutive HTF candles.
- When an uptrend is detected, vertical lines are drawn from low to high of the HTF candle, connected to the previous extreme low.
- When a downtrend is detected, vertical lines are drawn from high to low, connected to the previous extreme high.
- Transitions between trends are highlighted by connecting the last extreme of the previous trend to the current extreme, creating a clean zigzag pattern.
Usage Notes:
Ideal for traders who want to visualize HTF market structure and trend changes while analyzing price action on lower timeframes.
---
© The_Forex_Steward
(mozilla.org)
Estilo Pako Mejorado - Tendencia, Liquidez y ConfirmaciónThis indicator is designed to replicate the entry logic used in high-accuracy institutional-style trading, specifically inspired by strategies used on XAU/USD (gold) in 15-minute timeframes.
It generates high-probability trade signals based on the following key conditions:
Clear market trend: Identified using the 20 EMA and 50 EMA crossover (trend confirmation).
Liquidity sweep detection: Triggers when price takes out recent highs/lows (20-bar lookback), suggesting stop-hunt behavior.
Candle confirmation: Requires a bullish or bearish engulfing candle as price reverts after the sweep.
Optional visual features include:
Order Blocks (OB): Displays the last opposite candle before a strong market move.
Liquidity zones: Marks recent swing highs/lows where liquidity likely sits.
The indicator only plots entry signals when all three conditions are aligned, aiming to reduce false positives and improve trade precision.
Best used on:
XAU/USD or major FX pairs
15-minute timeframe
In trending markets with clean structure
You can combine this indicator with alerts or automation tools to build a semi-automated or fully automated trading system.
Support & Resistance by O Dinesh BabuThis Script is Specifically Designed to Work with NIFTY, BANKNIFTY & FINNIFTY Indices Only..
For Optimal Results, Please Wait for the 1st 15-Minute Candle to Complete Before Initiating Any Trades..
Wishing All Traders the Very Best in Their Journey..
Warm Regards,
O. Dinesh Babu
Son of Mr. & Mrs. O. Asha Rama Krishna
Break & Retest Strategy V2 (Clean Visuals)This strategy is built on a high-probability EMA breakout and retest model, designed for traders who want clean structure-based entries filtered by trend alignment and strong price action. It leverages:
• ✅ A 44 EMA trend filter on the 4H chart
• ✅ HTF directional bias from the Daily 44 EMA
• ✅ Breakout above the EMA followed by a wick-based retest
• ✅ Strong bullish candle confirmation (body > 50% of range)
• ✅ Dynamic stop loss using either the pivot low or a buffer below the EMA
• ✅ Fixed 1:3 Risk:Reward ratio for consistent reward targeting
• ✅ Cooldown system to prevent overtrading
• ✅ Clean, minimal visuals using smart RR boxes instead of chart clutter
This system is fully backtestable and designed with prop firm challenge criteria in mind — prioritizing risk control, clarity, and high-quality trade conditions.
⸻
🔧 Current Development Goals (V3 Roadmap)
We’re actively refining the system to improve win rate and profit factor, while keeping drawdown low. Key upgrades in progress:
1. 📈 Liquidity Trap Filter
• Add logic to confirm a wick below recent lows (liquidity sweep) before retesting the EMA
2. 🧠 Partial Take Profits + Breakeven Logic
• TP1 at 1.5R → move SL to breakeven
• TP2 at 3R → close remaining position
3. 🔁 Trade Session Filter
• Limit entries to London & New York AM sessions to avoid false signals in low volume periods
4. 📉 Short Entry Engine
• Mirror logic for bearish break + retest setups below the EMA
5. 🔔 Live Alerts System
• Entry signal alerts for hands-free, real-time trading decisions
6. 📊 Optimizer Toolkit (future)
• Add ATR/volatility filters
• Add market structure confluence zones (HH/HL filters)
• Smart cooldown timer based on wins/losses or volatility shifts
CRT + PO3 Range Theory Hey everyone, I’ve put together a little script for TradingView that tries to show the classic CRT + PO3 (Power of Three) pattern. It’s still a work in progress, so please use it on a demo account and let me know what you think!
What It Does
Accumulation Phase: On each higher‐timeframe bar (e.g. 2-hour), it draws a shaded zone where price is hanging out. That’s when we assume “big players” are quietly building positions.
Manipulation Phase: If price briefly pokes above or below that zone but then slips back inside, it marks that wick as a shake-out.
Distribution Phase: When price finally closes cleanly outside the zone, it draws another shaded area and drops a “Distribution” label plus a big LONG or SHORT arrow on that bar.
You can tweak it so it only shows signals when a bar closes (no more weird flashing mid-bar), or even allow “direct” Distribution on a clean breakout without waiting for a fake wick first.
How to Set It Up
Add the script from your Indicators list.
Pick your HTF (I like 2-hour or 4-hour).
Turn “Show Zone Labels” on or off—these are the little “Accumulation/Manipulation/Distribution” tags.
Turn “Show Entry Signals” on to get the big LONG/SHORT arrows.
If you hate flicker, check “Show signals only at bar close.”
If you want to catch a swift breakout (no fake-out needed), check “Allow direct Distribution on clean breakout.”
There are also sliders for zone colors, transparency, label size, and how far above/below the bars the labels sit.
Why It’s Still a Beta
I’m not a CRT/PO3 guru—this is more of a hobby project and a little facination for this strategy.
There might be edge cases where it misses a shake-out or flags a Distribution too early.
I take no responsibility for your trades—please only run it on a demo account until we’ve worked out the quirks.
Feedback Wanted!
If you try it out, I’d love to hear:
Did the Manipulation wicks line up where you expected?
Were the Distribution arrows on the right bars?
Any ideas for easier settings or extra alerts?
Thanks for testing and helping me turn this into something solid!
Enhanced Neowave Wave 1 Finder with ZigZagThis script is an advanced technical analysis indicator for the TradingView platform, written in Pine Script version 5. Its primary goal is to identify potential Elliott Wave "Wave 1" patterns, enhanced with principles from Neowave theory and a custom ZigZag indicator for more accurate pivot detection. The script is designed to be overlaid on the main price chart.
Core Functionality: Blending ZigZag and Neowave
The indicator's methodology is a two-part process. First, it identifies significant price swings using a robust ZigZag indicator. Then, it analyzes these swings based on a set of rules derived from Neowave and classic technical analysis to validate them as potential Wave 1 patterns.
Part 1: ZigZag Integration
The first major component is a comprehensive ZigZag indicator that forms the foundation for all subsequent analysis.
Pivot Detection: The pivots() function is the engine of the ZigZag. It scans the historical price data for significant high and low points (pivots) over a user-defined Length.
Segment Drawing: Once pivots are identified, the script draws lines connecting them, creating the classic ZigZag pattern on the chart.
Extended Direction & Ratios: This is an enhanced feature. The script doesn't just identify highs and lows; it categorizes them as:
Higher High (HH) or Lower High (LH)
Lower Low (LL) or Higher Low (HL)
This classification is crucial for understanding the market structure. It also calculates the price ratio of the most recent ZigZag leg relative to the previous one, which is used later for pattern validation.
Dynamic Updates: The ZigZag is not static. On each new bar, it can update its most recent pivot point if a new, more extreme price (a higher high or a lower low) is printed before the direction officially changes. This ensures the ZigZag is always reflecting the most current and significant price action.
Part 2: Neowave Wave 1 Finder
With the market structure defined by the ZigZag, the second part of the script applies a rigorous set of rules to identify potential Wave 1 patterns. A Wave 1 is the initial move of a new trend in Elliott Wave theory.
Key Validation Criteria
For a price move between two ZigZag pivots to be considered a valid Wave 1, it must pass a series of checks:
Significance: The move must have a minimum percentage change (Minimum Wave Length) and last for a minimum number of bars, filtering out insignificant noise.
Volume Confirmation: A genuine impulse wave is typically supported by increasing volume. The script checks if the volume during the potential Wave 1 is significantly higher than the recent average (Volume Increase Threshold).
Momentum Alignment: The direction of the wave must be confirmed by momentum indicators.
For a bullish (upward) Wave 1, the Relative Strength Index (RSI) must be in a bullish regime (above 50) and the MACD line must be above its signal line.
For a bearish (downward) Wave 1, the RSI must be below 50 and the MACD line must be below its signal line.
Structural Analysis (Impulse vs. Diagonal): The script attempts to differentiate between two types of Wave 1:
Impulse Wave: A strong, clean, and direct move.
Diagonal Wave: A more complex, overlapping, and often wedge-shaped pattern. This is identified by analyzing the time and price complexity of the move, along with the ZigZag leg ratios.
Wave 2 Retracement Check: A critical Neowave rule is that a valid Wave 1 must be followed by a valid Wave 2 retracement. The script looks at the next ZigZag leg to ensure it doesn't retrace more than 100% of the potential Wave 1. It also uses the ZigZag ratios to confirm the retracement falls within typical Fibonacci levels (e.g., 38.2% to 78.6%).
Display and User Interface
The script provides a rich visual experience to aid the trader in their analysis.
Wave Labels and Boxes: When a valid Wave 1 is detected, it is highlighted with a colored line (green for bullish, red for bearish) and a shaded background box. A label clearly marks it as "Wave 1 IMPULSE" or "Wave 1 DIAGONAL".
Fibonacci Retracement Levels: Upon detection of a Wave 1, the script automatically draws key Fibonacci retracement levels (38.2%, 50%, 61.8%, 78.6%). These levels are potential targets for the end of the subsequent Wave 2, offering potential entry points for a Wave 3 trade.
Information Labels: Additional labels provide at-a-glance confirmation of the conditions, showing whether volume and momentum criteria were met.
Customizable Inputs: Users have extensive control over the indicator's parameters, including the ZigZag length, volume thresholds, RSI levels, and the colors of all visual elements.
Alerts: The indicator can be configured to generate an alert whenever a new bullish or bearish Wave 1 pattern is confirmed, allowing traders to be notified of potential opportunities in real-time.
F2D Highlighter + FTFC + Volume Spike + Dashboard🧪 Why F2D Works
It traps short sellers who expect a breakdown
When it reclaims prior ranges, buyers flood back in
Paired with timeframe continuity (green on higher timeframes), it increases the edge
💸 F2D in Options Trading
Ideal for Calls when:
You're near a key level (VWAP, support, inside week/day)
Volume surges on reclaim
You catch a 2D that flips into a 2U (strong reversal)
🔧 Strike selection: ATM or 1–2 strikes OTM
⏰ Expiration: Same day or next day (if late in the day)
💥 Targets: 30–50% profit, then trail or scale out
Candle Range Theory (CRT) indicator📌 Indicator Name: Candle Range Theory (CRT) indicator
This indicator detects potential bullish and bearish reversal setups based on specific candlestick price action behavior. It is designed to highlight moments when the market may be rejecting extremes and preparing to reverse direction — but only after confirmation with the closing price.
🔍 How It Works:
Bullish Setup (Long Signal):
The previous candle is bearish (closes lower than it opens).
The current candle makes a lower low than the previous one.
The current candle closes above the previous candle’s close.
Bearish Setup (Short Signal):
The previous candle is bullish (closes higher than it opens).
The current candle makes a higher high than the previous one.
The current candle closes below the previous candle’s close.
Signals are only triggered after the bar is fully closed, to avoid premature entries.
🔔 The script includes alert conditions for both long and short setups so you can receive notifications instantly.
🎥 Inspiration:
The idea for this indicator came from the excellent educational content presented in this video:
"How to Read Candlesticks Like a Pro"
We highly recommend watching it to better understand the price action principles behind this signal.
First FVG📘 Indicator Description (English)
First FVG – NY Open is a TradingView indicator designed to automatically identify the first Fair Value Gap (FVG) that appears during the New York session, following the ICT (Inner Circle Trader) methodology.
It highlights institutional inefficiencies in price caused by imbalanced price action and helps traders spot high-probability entry zones, especially after the 9:30 AM EST (New York Open).
⚙️ How It Works
Session time: The indicator scans for FVGs starting at 9:32 AM (allowing 3 candles after the NY Open to form).
FVG Conditions:
Bullish FVG: When the high of 2 candles ago is lower than the low of the current candle and the middle candle is bullish.
Bearish FVG: When the low of 2 candles ago is higher than the high of the current candle and the middle candle is bearish.
Only the first FVG per session is drawn, as taught by ICT for setups like Judas Swing or NY Reversal models.
A colored box is drawn to represent the FVG zone.
A dotted horizontal line (CE) is drawn at the midpoint of the FVG box (Consequent Encroachment), a key level watched by smart money traders.
A dashed vertical line is drawn at 9:30 NY time to mark the open.
🧠 How to Use It
Wait for the NY Open (9:30 AM EST) – the indicator becomes active at 9:32 AM.
Watch for the first FVG box of the day. This is often a high-probability reaction zone.
Use the CE line (center of the FVG) as a reference for entries, rejections, or liquidity grabs.
Combine with market structure, PD Arrays, and liquidity concepts as taught by ICT for confluence.
The FVG box and CE line will extend forward for several candles for visual clarity.
🎛️ Customizable Settings
Session time (default: 09:32–16:00 NY)
FVG box color (up/down)
Text color
Max number of days to keep boxes on chart
Option to show or hide the 9:30 NY Open vertical line
Range Filter + SuperTrend 合并指标 - 1小时优化结合两种经典指标,适合做山寨币1小时趋势单
Combining two classic indicators, it is suitable for doing 1-hour trend orders of altcoins
Trend Impulse Channels (Zeiierman)█ Overview
Trend Impulse Channels (Zeiierman) is a precision-engineered trend-following system that visualizes discrete trend progression using volatility-scaled step logic. It replaces traditional slope-based tracking with clearly defined “trend steps,” capturing directional momentum only when price action decisively confirms a shift through an ATR-based trigger.
This tool is ideal for traders who prefer structured, stair-step progression over fluid curves, and value the clarity of momentum-based bands that reveal breakout conviction, pullback retests, and consolidation zones. The channel width adapts automatically to market volatility, while the step logic filters out noise and false flips.
⚪ The Structural Assumption
This indicator is built on a core market structure observation:
After each strong trend impulse, the market typically enters a “cooling-off” phase as profit-taking occurs and counter-trend participants enter. This often results in a shallow pullback or stall, creating a slight negative slope in an uptrend (or a positive slope in a downtrend).
These “cooling-off” phases don’t reverse the trend — they signal temporary pressure before the next leg continues. By tracking trend steps discretely and filtering for this behavior, Trend Impulse Channels helps traders align with the rhythm of impulse → pause → impulse.
⚪ Step-Based Trend Engine
At the heart of this tool is a dynamic step engine that progresses only when price crosses a predefined ATR-scaled trigger level:
Trigger Threshold (× ATR) – Defines how far price must break beyond the current trend state to register a new trend step.
Step Size (Volatility-Guided) – Each trend continuation moves the trend line in discrete units, scaling with ATR and trend persistence.
Trend Direction State – Maintains a +1/-1 internal bias to support directional filters and step tracking.
⚪ Volatility-Adaptive Channel
Each step is wrapped inside a dynamic envelope scaled to current volatility:
Upper and Lower Bands – Derived from ATR and band multipliers to expand/contract as volatility changes.
⚪ Retest Signal System
Optional signal markers show when price re-tests the upper or lower band:
Upper Retest → Pullback into resistance during a bearish trend.
Lower Retest → Pullback into support during a bullish trend.
⚪ Trend Step Signals
Circular markers can be shown to mark each time the trend steps forward, making it easy to identify structurally significant moments of continuation within a larger trend.
█ How to Use
⚪ Trend Alignment
Use the Trend Line and Step Markers to visually confirm the direction of momentum. If multiple trend steps occur in sequence without reversal, this typically signals strong conviction and trend persistence.
snapshot
⚪ Retest-Based Entries
Wait for pullbacks into the channel and monitor for triangle retest signals. When used in confluence with trend direction, these offer high-quality continuation setups.
snapshot
⚪ Breakouts
Look for breakouts beyond the upper or lower band after a longer period of pause. For higher likelihood of success, look for breakouts in the direction of the trend.
snapshot
█ Settings
Trigger Threshold (× ATR) - Defines how far price must move to register a new trend step. Controls sensitivity to trend flips.
Max Step Size (× ATR) - Caps how far each trend step can extend. Prevents runaway step expansion in high volatility.
Band Multiplier (× ATR) - Expands the upper and lower channels. Controls how much breathing room the bands allow.
Trend Hold (bars) - Minimum number of bars the trend must remain active before allowing a flip. Helps reduce noise.
Filter by Trend - Restrict retest signals to those aligned with the current trend direction.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Quarterly Theory Levels - Period BasedOpen, true open, market close for daily weekly, monthly, quarterly, yearly.
20/40/6020/40/60 candle separator. Three lines only on all timeframes. Range length and height included. Doesn't mess up the scaling. Togglable elements and movable lines.
EMA Pullback + Smart Breakout SystemSaint James
Your script filters for:
Strong trend (EMA stack)
Healthy dip (pullback to 21 EMA)
Breakout candle
Strong volume confirmation
And labels it clearly so you can act on it quickly for option trades.
شمعة ابتلاعية صاعدة أو هابطة - أسودAn engulfing candle, whether bullish or bearish, will appear on the chart in black
High Freq Buy The Dips Bull Market [Quant Trading]STRATEGY OVERVIEW
This is a significantly enhanced and optimized version of the original "Buy The Dips in Bull Market" strategy from Coinrule (2020). The strategy has been completely rewritten in Pine Script v6 with substantial improvements in performance, risk management, and functionality. Based on extensive analysis of 2+ years of BTC hourly data, this optimized version delivers 312.6% better returns with a 74.8% win rate compared to the original implementation.
Key Philosophy: The strategy capitalizes on temporary price dips during bull market conditions by entering long positions when RSI indicates oversold conditions while maintaining a bullish market structure, then exiting when price recovers above key moving averages.
HOW IT WORKS
Entry Logic
The strategy enters long positions when ALL of the following conditions are met:
RSI Oversold Condition: RSI drops below the configurable threshold (default: 45)
Bull Market Structure: Long-term MA (150) is below the slow MA (40), indicating overall bullish momentum
Within Date Range: Trade occurs within the specified backtesting period
Exit Logic
Positions are closed when BOTH conditions are satisfied:
Price Recovery: Current price moves above the fast MA (15-period)
MA Alignment: Fast MA crosses above slow MA, confirming trend continuation
Optional Short Trading
When enabled, the strategy can also trade short positions using inverse logic:
Short Entry: RSI overbought (above 55 by default) + bearish market structure
Short Exit: Price decline below fast MA + bearish MA alignment
KEY IMPROVEMENTS OVER ORIGINAL
1. Enhanced Risk Management
ATR-Based Stop Loss/Take Profit: Dynamic risk levels based on market volatility
Configurable Risk-Reward Ratio: Default 2:1 ratio with full customization
Alternative Percentage-Based Risk: Option to use fixed percentage stops instead of ATR
2. Optimized Parameters
RSI Period: Increased to 14 (from original) for more reliable signals
RSI Buy Signal: Optimized to 45 (from 35) reducing false signals
Fast MA: Shortened to 15 periods (from 9) for quicker response
Slow MA: Reduced to 40 periods (from 50) for improved trend detection
Long MA: Reduced to 150 periods (from 200) for better bull market identification
3. Advanced Features
Bi-directional Trading: Optional short selling capability
Comprehensive Visualization: Enhanced plotting with risk level displays
Flexible Date Range: Improved backtesting controls with visual indicators
Modern Pine Script v6: Complete rewrite using latest Pine Script features
DEFAULT PARAMETERS EXPLAINED
RSI Settings
RSI Period: 14 bars - Standard period providing balanced sensitivity
RSI Buy Signal: 45 - Optimized threshold for bull market dip buying
Moving Average Settings
Fast MA Length: 15 - Quick-response average for exit signals
Slow MA Length: 40 - Medium-term trend confirmation
Long MA Length: 150 - Long-term bull market structure identification
Risk Management (ATR-Based)
ATR Period: 14 - Standard volatility measurement period
ATR Stop Loss Multiplier: 2.0 - Conservative stop loss distance
Risk Reward Ratio: 2.0 - Take profit at 2x the risk amount
Alternative Risk Management (Percentage-Based)
Stop Loss: 5% - Fixed percentage stop loss
Take Profit: 10% - Fixed percentage take profit target
Trading Configuration
Initial Capital: $1,000
Position Size: 100% of equity per trade
Commission: 0.1% per trade
Slippage: 3 ticks
STRATEGY PERFORMANCE CHARACTERISTICS
Strengths
High Win Rate: 74.8% successful trades based on optimization analysis
Bull Market Focused: Designed specifically for uptrending market conditions
Volatility Adaptive: ATR-based risk management adjusts to market conditions
False Signal Reduction: Optimized parameters minimize whipsaws
Considerations
Bull Market Dependency: Performance may decline in prolonged bear markets
Trend Following Nature: May experience drawdowns during strong trend reversals
High Frequency: Generates multiple signals requiring active monitoring
RISK WARNINGS
Past performance does not guarantee future results. This strategy is optimized for bull market conditions and performance may vary significantly in different market environments. Always use appropriate position sizing and risk management. Real trading results may differ due to execution costs, slippage, and market conditions.
RECOMMENDED USAGE
Optimal Market Conditions
Bull market or strong uptrending conditions
Medium to high volatility environments
Markets with clear trend structure
Timeframes
Optimized for hourly charts
Can be adapted for other timeframes with parameter adjustment
Asset Classes
Originally optimized for Bitcoin
Suitable for other trending cryptocurrencies and traditional assets
Test parameters on specific assets before live implementation
TECHNICAL REQUIREMENTS
Pine Script Version: v6
Strategy Type: Long/Short (configurable)
Overlay: Yes - plots directly on price chart
Real-time Alerts: Compatible with TradingView alert system
This strategy represents a substantial evolution of the original concept, incorporating modern risk management techniques, optimized parameters based on extensive backtesting, and enhanced functionality while maintaining the core "buy the dips" philosophy that made the original strategy popular.
Multi-TF Candle Pattern Table — last 3 + formingUsing strat pattern, including 4 timeframe, you can directly modify timeframe on code. The up means it is a 2 candle, and separate them between 2U and 2D