NY Open Range 15M BreakoutThe first candle's movements at the New York open help identify the low and high of the first 15-minute candle, as well as a breakout level.
Chart patterns
Educational Trend Direction (Up & Down)🔍 Overview
This indicator is designed to visually represent trend direction and trend transitions using a simple moving-average relationship. It is built strictly for educational and analytical purposes, allowing users to observe how price behaves during upward and downward market phases without relying on trading signals or predictions.
The indicator focuses on trend context, not trade execution.
⚙️ How the Indicator Works
The script calculates two exponential moving averages:
A fast trend line that reacts quickly to recent price changes
A slow trend line that represents broader market direction
Trend direction is determined by the relative position of these two lines.
When the fast line moves above the slow line, the market is considered to be in an upward trend phase
When the fast line moves below the slow line, the market is considered to be in a downward trend phase
This relationship helps visualize trend shifts and momentum changes in a simple and intuitive way.
🎨 Visual Components Explained
🟢 Green Trend Line
Represents the fast moving average during upward trend phases
Indicates that price is maintaining strength relative to the broader trend
Color reflects trend direction only, not confirmation or entry
🔴 Red Trend Line
Represents the fast moving average during downward trend phases
Indicates sustained weakness relative to the broader trend
Color does not imply selling or future continuation
⚪ Grey Trend Line
Represents the slow moving average
Acts as a baseline trend reference
Helps distinguish between short-term fluctuations and broader direction
🎨 Background Shading
Light green shading appears during upward trend environments
Light red shading appears during downward trend environments
Background color provides context only and does not signal market actions
🎯 Purpose & Benefits
Helps identify trend phases in a clear and minimal way
Improves understanding of trend transitions and momentum shifts
Reduces visual noise compared to raw price data
Encourages context-based analysis instead of signal dependency
Suitable for all markets and timeframes
⚠️ Important Notes
This indicator does not generate buy or sell signals
No targets, stop levels, or performance metrics are included
Trend conditions are descriptive, not predictive
Past behavior does not guarantee future outcomes
Users should always apply their own analysis and risk management when interpreting market data.
📚 Intended Use
This tool is intended for:
Market trend study
Educational demonstrations
Visual analysis of trend direction
Long-term chart structure awareness
It is not intended for automated trading or decision-making.
Overnight Mid-point v2Same idea as first script, just refined so it takes candlesticks and not swings.
EMA RSI Premium CleanEMA + RSI • Premium Clean is a minimalist trend-following and momentum confirmation tool designed for traders who prefer clarity over clutter.
This indicator combines:
Exponential Moving Averages (EMA) to define the dominant market trend
Relative Strength Index (RSI) to time pullbacks and momentum exhaustion
The goal is not to predict the market, but to trade in harmony with the trend and avoid low-probability entries.
🔍 How It Works
🔹 Trend Identification (EMA)
The Fast EMA reacts quickly to price changes
The Slow EMA represents the broader trend
When the fast EMA is above the slow EMA, bullish market bias is present
When the fast EMA is below the slow EMA, bearish market bias is present
🔹 Entry Context (RSI)
RSI helps identify healthy pullbacks within a trend
In bullish trends, RSI pullbacks indicate potential continuation zones
In bearish trends, RSI rebounds highlight possible continuation to the downside
Signals appear only when trend and momentum align, reducing random trades.
🎯 Best Use Case
Trend-following strategies
Pullback entries
Avoiding counter-trend trades
Intraday & swing trading
⏱ Recommended Markets & Timeframes
Markets: Gold (XAUUSD), Forex, Crypto
Timeframes: M15, M30, H1, H4
⚠️ Important Notes
This indicator does not repaint
Signals are context-based, not guaranteed trades
Best results are achieved when combined with:
Market structure
Support & resistance
Proper risk management
✨ Visual Design
Clean and modern color palette
Minimal arrows to avoid chart clutter
RSI displayed separately for clear momentum analysis
Optimized for both dark and light chart themes
🧠 Trading Philosophy
Trade the trend.
Use momentum for timing.
Keep the chart clean.
CapitalFlowsResearch: Sensitivity BandsCapitalFlowsResearch: Sensitivity Bands — Expected-Move Projection from Cross-Asset Beta
CapitalFlowsResearch: Sensitivity Bands builds on the idea of cross-asset sensitivity by turning beta into a set of projected price boundaries around the prior day’s close. Instead of showing beta as a standalone number, this tool translates it into real price levels that represent the expected magnitude of movement—up or down—given a typical shock in a chosen market driver.
The script measures how strongly the price asset has been responding to moves in the driver over a rolling window, then uses that relationship to calculate a dynamic “band width.” That width is applied symmetrically around the previous daily close to create two horizontal bands: an upper range and a lower range. These lines update intraday, offering a real-time sense of whether current price action is unfolding within normal sensitivity limits or pushing into statistically unusual territory.
Traders can choose how the driver’s changes are interpreted (basis points, absolute moves, or percent changes), and optionally replace the rolling band with a running mean to emphasise longer-term structural sensitivity. The resulting overlay acts much like an expected-move model—similar in spirit to options-derived ranges, but powered by beta dynamics rather than implied volatility.
In practice, Sensitivity Bands serves as a clean framework for contextualising market movement:
Inside the bands: price behaviour aligns with typical cross-asset sensitivity.
Touching a band: movement is strong but still consistent with historical response.
Breaking a band: indicates a regime shift, a driver disconnect, or unusually high momentum.
All of this is achieved without exposing the underlying beta calculations or normalisation logic.
FVG + Manip (optimized)
This indicator detects **Fair Value Gaps (FVGs)** using a **3-candle confirmation rule**, draws each FVG as a **boxed zone** on the chart (optionally with a **50% midpoint dashed line**), then monitors price action to:
1. flag a **“reaction”** when price touches the zone **and the candle body closes completely outside the zone**, and
2. **delete** the zone once it has been **fully filled** (either by wick or by body, depending on user settings).
Additionally, it colors the candle **green or red** only when a **manipulative candle** occurs *and* a matching **FVG reaction** is detected (bullish or bearish).
---
## Inputs and User Settings
### 1) FVG fill (“close”) method
**`closeMethod`** can be:
* **BODY**: the FVG is considered filled only when the **candle body** fully fills it.
* **WICK**: the FVG is considered filled when the **wick** fully fills it.
This setting affects when zones are deleted.
### 2) Manipulative candle detection mode
**`manipMode`** can be:
* **BASE**
* **BASE + BREAK**
* **DISPLACEMENT**
If **DISPLACEMENT** is selected, it also uses:
* **`dispPct`** = minimum body size as a % of candle range (0–1).
Example: `0.5` means the candle body must be at least **50%** of its full range.
### 3) Visual styling
You can set:
* Bull and bear FVG fill/border colors
* Fill transparency
* Border thickness
* Whether to show the **50% midpoint line**
* Midline colors and thickness
---
## Candle Measurements (for displacement logic)
For each candle it computes:
* **bodyHigh** = max(open, close)
* **bodyLow** = min(open, close)
* **bodySize** = abs(close − open)
* **rangeSize** = max(high − low, minimum tick)
* **hasDisp** = true if `bodySize >= rangeSize * dispPct`
So in DISPLACEMENT mode, a candle qualifies only if its body is “big enough” relative to its range.
---
## Manipulative Candle Logic
The script defines “manipulative” candles separately for bullish and bearish directions.
### BASE mode
* **Bullish (c1Green):**
The candle makes an equal/lower low vs the previous candle (`low <= low `) and closes bullish (`close > open`).
* **Bearish (c1Red):**
The candle makes an equal/higher high vs the previous candle (`high >= high `) and closes bearish (`close < open`).
### BASE + BREAK mode
* **Bullish (c2Green):**
It makes a lower low (`low < low `) and closes back above the previous low (`close > low `), and is bullish (`close > open`).
* **Bearish (c2Red):**
It makes a higher high (`high > high `) and closes back below the previous high (`close < high `), and is bearish (`close < open`).
### DISPLACEMENT mode
Same as BASE + BREAK, but also requires **hasDisp**:
* **Bullish (c3Green):** `c2Green and hasDisp`
* **Bearish (c3Red):** `c2Red and hasDisp`
Finally:
* **manipGreen** is true if the selected mode’s bullish condition is true
* **manipRed** is true if the selected mode’s bearish condition is true
---
## FVG Detection (3-candle confirmed)
It defines an FVG using candles `0`, `1`, and `2` (current candle = 0):
### Bullish FVG confirmed
```pine
bullFvgConfirmed = low > high
```
Meaning the **current candle’s low** is above the **high of two candles ago** → an “upward gap” across 3 candles.
### Bearish FVG confirmed
```pine
bearFvgConfirmed = high < low
```
Meaning the **current candle’s high** is below the **low of two candles ago** → a “downward gap”.
---
## Zone Creation and Drawing
When an FVG is confirmed, the script creates:
* a **box** representing the zone
* an optional **dashed midpoint line** at 50%
### Bullish zone geometry
* **Top = current low**
* **Bottom = high **
The box starts at the current bar and extends right by:
* **`extendBars = 500`**
### Bearish zone geometry
* **Top = low **
* **Bottom = current high**
### Midline (50%)
Midpoint is:
```pine
mid = (zTop + zBot) / 2
```
A dashed line is drawn across the same 500-bar extension.
If `showMidline` is false, the line is made effectively invisible.
---
## Storage / Object Management (maxKeep)
The script stores:
* bull boxes + their midlines
* bear boxes + their midlines
It keeps at most:
* **`maxKeep = 120`** zones per direction
When exceeded, it deletes the oldest box and its line to stay within limits.
---
## Zone Monitoring: Reaction + Deletion
Every bar, it loops through all stored zones and checks:
### A) “Touch” condition (common)
```pine
touches = (high >= zBot) and (low <= zTop)
```
This means the candle range overlaps the zone at least partially.
---
### B) Reaction rules (strict: body must be outside)
The script’s comment says:
**Reaction requires body OUTSIDE zone (never inside).**
#### Bullish reaction
```pine
if touches and (bodyLow > zTop)
bullReactNow := true
```
So price touched the zone, but the **entire candle body is above the zone** (bodyLow is above the zone top).
This is a “tap + rejection upward” style reaction.
#### Bearish reaction
```pine
if touches and (bodyHigh < zBot)
bearReactNow := true
```
Touched the zone, but the **entire candle body is below the zone** (bodyHigh is below zone bottom).
This is a “tap + rejection downward” reaction.
---
### C) Deletion rules (zone “filled”)
#### Bullish FVG fill
* Wick fill:
```pine
filledW = (low <= zBot)
```
* Body fill:
```pine
filledB = (bodyLow <= zBot)
```
Delete if:
* `closeMethod == WICK` and `filledW`
* OR `closeMethod == BODY` and `filledB`
#### Bearish FVG fill
* Wick fill:
```pine
filledW = (high >= zTop)
```
* Body fill:
```pine
filledB = (bodyHigh >= zTop)
```
Delete if:
* `closeMethod == WICK` and `filledW`
* OR `closeMethod == BODY` and `filledB`
When deleting, it removes:
* the box
* its corresponding midpoint line
* the entries in the arrays
---
## Final Candle Coloring (no overlap)
At the end, it colors candles only if:
* there is a **manipulative candle**, and
* there is a **reaction** in the same direction, and
* the opposite reaction is not simultaneously active
### Bullish candle coloring
```pine
greenFinal = manipGreen and bullReactNow and not bearReactNow
```
→ candle becomes **lime**
### Bearish candle coloring
```pine
redFinal = manipRed and bearReactNow and not bullReactNow
```
→ candle becomes **red**
If neither condition is met, `barcolor(na)` leaves candles unchanged.
---
## In short (one-liner)
This script draws 3-candle FVG zones, keeps them extended forward, deletes them only when fully filled (by wick/body setting), and highlights candles only when a chosen “manipulative” candle pattern happens at the same time as a strict “touch + body rejection” reaction from a bull/bear FVG.
If you want, I can also write a clean “user manual” style description (what signals mean, how to use settings, typical setups for scalping vs swing) in English.
ASIA + ALERT (Touch after 09:00)This script is a pure indicator designed to analyze price action around the Asian session and provide contextual market structure information.
It does not open trades and does not manage positions.
1. Asia Session Box (Core Reference)
The script identifies the Asian session from 23:00 to 07:00 (Rome time).
During this period it:
Tracks the highest high and lowest low.
Draws a visual box on the chart that expands in real time.
This Asia range becomes the main reference framework for the rest of the logic.
2. Yellow Candles (Imbalance / FVG Detection)
The script detects “yellow candles” using a Fair Value Gap–style logic:
Bullish imbalance or bearish imbalance patterns.
Only yellow candles formed outside the Asian session are stored.
These candles represent potential supply or demand origins.
3. Zone Creation (After Asia Ends)
When the Asian session ends (07:00):
The script scans the stored yellow candles.
It creates price zones based on their position relative to the Asia range:
LONG zones → yellow candles below the Asia low
SHORT zones → yellow candles above the Asia high
The user can choose:
To use only the first valid yellow candle, or
To also include the second valid yellow candle (optional).
Zones are drawn as boxes that extend to the right, acting as areas of interest.
4. Zone Touch Alert (After 09:00 Only)
The script can trigger one single alert:
Only after 09:00 (Rome time).
Only when price actually touches the zone entry level:
LONG → touch of the upper boundary of the long zone.
SHORT → touch of the lower boundary of the short zone.
Once a zone is touched:
It can be marked as consumed, preventing further alerts (optional).
The zone changes visual style to indicate it is no longer active.
5. Trend Table (Multi-Timeframe Context)
A compact table is displayed in the top-right corner of the chart.
It shows BULL / BEAR / NA for the following selectable timeframes:
M1, M3, M5, M15, H1, H4, Daily
Trend direction is determined using market structure pivots:
Break above the last pivot high → BULL
Break below the last pivot low → BEAR
No break → NA
All table colors and timeframes are fully customizable.
6. What This Script Is Meant For
Session-based market structure analysis
Supply & demand context
Multi-timeframe directional bias
Precise zone interaction alerts
Discretionary trading support
7. What This Script Does NOT Do
❌ No trades
❌ No backtesting
❌ No risk management
❌ No entries or exits
It is designed to support decision-making, not to automate trading.
OAS Train Track MA SystemTrain tracks for any timeframe or EMA, helps to hold your trades with your specific EMAs
Advanced Harmonic Pattern Detector v6Advanced Harmonic Pattern Detector and Backtesting Suite (Pine Script v6)
Overview
The Advanced Harmonic Pattern Detector and Backtesting Suite is an original TradingView indicator designed to identify harmonic price patterns using Fibonacci-based ratio validation. The script automatically detects harmonic structures in real time, plots their defining price legs, and highlights potential reversal zones derived from Fibonacci confluence.
In addition to pattern visualization, the indicator includes an integrated backtesting module that allows traders to evaluate historical pattern performance directly on the chart using configurable trade parameters.
The indicator is applicable across multiple asset classes, including forex, crypto, stocks, indices, and futures, and can be used on any timeframe.
Supported Harmonic Patterns
The indicator detects both bullish and bearish variations of the following patterns:
Gartley
Bat
Alternate Bat
Butterfly
Crab
Deep Crab
Shark
AB=CD
Three-Drive
Five-Zero
Each pattern is validated using predefined Fibonacci ratio relationships between the XA, AB, BC, and CD legs. Ratio tolerances are pattern-specific to balance accuracy and practical signal frequency.
Pattern Detection Logic
The detection engine is built around objective price-structure analysis and includes:
Automatic swing high and swing low identification
Fibonacci ratio validation for each pattern leg
Support for both retracement-based and extension-based patterns
Pattern confirmation using completed price data only
Once a pattern is confirmed, it is fixed on the chart and does not repaint.
Potential Reversal Zones (PRZ)
For each validated pattern, the indicator calculates and plots a Potential Reversal Zone based on Fibonacci confluence across relevant pattern legs. These zones are displayed directly on the chart and are intended to help traders anticipate areas where price may react, rather than signaling guaranteed reversals.
Bullish and bearish patterns are visually distinguished to maintain clarity during live analysis.
Integrated Backtesting and Performance Analysis
The indicator includes a built-in backtesting component that allows traders to simulate pattern-based trades using historical data. Features include:
Pattern-triggered trade simulation
User-defined stop-loss and take-profit levels
Adjustable risk-to-reward parameters
Trade count, win rate, and summary statistics
Results displayed in an on-chart performance table
This functionality enables traders to evaluate harmonic pattern behavior statistically within the same tool used for analysis.
Customization and Controls
Users can customize the indicator by:
Enabling or disabling individual harmonic patterns
Toggling bullish and bearish detection independently
Adjusting Fibonacci tolerance thresholds
Configuring stop-loss and take-profit ratios
These options allow the script to be adapted to different markets, instruments, and trading approaches.
Intended Use
This indicator is designed as a technical analysis and decision-support tool for traders who incorporate harmonic patterns and Fibonacci structure into their analysis. It is not a buy or sell signal generator and should be used alongside broader market context and risk management.
Disclaimer
This indicator is intended for educational and analytical purposes only and does not constitute financial advice. Always apply proper risk management and confirm analysis with additional tools.
Engulfing Bar Paradigm [Blaz]Version 1.0 – Published Jan 2026: Initial release
1. Overview & Purpose
The Engulfing Bar Paradigm (EBP) is a multi-timeframe price-action tool built to help traders identify important engulfing candles on higher timeframes and use them to define daily market bias and structure.
At its core, the indicator detects strong high-timeframe engulfing candles. These are candles where price takes one side of the previous candle’s range and closes beyond its body, suggesting a shift in control. When this happens, it provides a structural reference that traders use to interpret directional context, making these candles useful for setting bias rather than reacting to short-term noise.
Once an EBP forms, the indicator automatically highlights and measures the key parts of that engulfing move. This helps traders understand how price is behaving after the displacement and how structure develops across lower timeframes.
The indicator is designed to work across multiple asset classes and timeframes, allowing traders to align intraday price action with higher-timeframe intent. It does not provide buy or sell signals. Instead, it offers a structured way to read the market, build bias, and make more informed decisions based on price behaviour and context.
2. Core Functionality & Key Features
The Engulfing Bar Play (EBP) is built around a mechanical and rule-based interpretation of engulfing price action, enhanced through multi-timeframe analysis and contextual structure mapping.
2.1. High-Timeframe Engulfing Detection
The indicator monitors a user-selected higher timeframe and automatically identifies valid bullish and bearish engulfing candles. These engulfing moves represent strong participation and often mark areas where control shifts in the market. Each detected EBP acts as a reference point for bias and subsequent price interaction.
2.2. Directional Bias Control
Users can choose to display bullish only, bearish only, or both types of setups. This helps traders stay aligned with their intended market bias and avoid distractions from opposing setups.
2.3. Engulfing Range Mapping
Once an EBP forms, the indicator plots the full engulfing range and divides it into four equal sections (quartiles). These levels help traders understand how price interacts within the range and where reactions are more likely to occur.
2.4. Fair Value Gaps (FVGs) Inside the EBP
The indicator detects Fair Value Gaps created during the engulfing move. These gaps highlight areas of imbalance where price may later react. Traders can choose whether to display mitigated and unmitigated gaps for cleaner analysis.
2.5. Expansion Projections
Optional projection levels extend beyond the engulfing range, helping traders frame potential continuation or expansion once price moves away from the structure. These levels are intended to support expectations, not predictions.
2.6. Session Liquidity Integration
EBPs can be filtered to appear only after session liquidity has been taken, allowing traders to focus on engulfing structures that occur after stop-runs or range sweeps. Multiple session windows are supported, with built-in checks to ensure logical use.
2.7. Advanced HTF Candle Visualisation
To improve clarity, the indicator includes a higher-timeframe candle display, showing multiple HTF candles directly on the chart. This helps traders stay aware of where price is trading within the broader context.
Displayed elements include:
HTF candle bodies and wicks
HTF open
HTF Fair Value Gaps
HTF Volume imbalances
Chosen EBP timeframe label
Clear time labels for orientation
2.8. Built-In Safeguards
The indicator automatically validates timeframe relationships and session settings. If an invalid configuration is detected, features are disabled and a warning is shown, helping traders maintain clean and reliable analysis.
3. How to Use the Indicator
3.1. Select the Higher Timeframe
Begin by choosing a higher timeframe for the EBP (such as Daily or 4H). This timeframe defines where the indicator will look for engulfing structures. The chosen timeframe should be equal to or higher than the chart timeframe.
3.2. Identify the Active Engulfing Structure
When a valid engulfing structure forms on the selected higher timeframe, the indicator highlights the engulfing range on the chart. This structure becomes the reference point for understanding current market conditions and directional bias.
3.3. Establish a Bias
Use the direction of the engulfing structure to frame bias for the session. A bullish engulfing structure suggests bullish intent, while a bearish structure suggests bearish intent. Bias filters can be used to display only the setups that align with your directional view.
3.4. Observe Price Interaction Within the Range
As price develops on lower timeframes, observe how it interacts with the engulfing range, its internal levels and FVGs. This helps traders assess whether price is respecting the structure, consolidating, or expanding away from it.
3.5. Use HTF Context for Intraday Navigation
The higher-timeframe candle display provides additional context by showing where current price sits relative to recent HTF opens, imbalances, and structure. This helps maintain alignment with the broader market narrative throughout the session.
3.6. Combine With Your Existing Execution Model
The EBP indicator can complement your existing strategy or execution model. It provides context and structure, allowing traders to make decisions with higher-timeframe awareness rather than reacting to short-term price fluctuations.
4. Protected Logic & Original Design
The Engulfing Bar Paradigm (EBP) is the result of original development and systematic engineering. While the concept of engulfing candles is widely known in technical analysis, the logic, structure, and implementation used in this indicator are original to this indicator’s design.
This indicator does not rely on simple candlestick comparisons. Instead, it applies a rule-based, multi-timeframe framework that evaluates engulfing behaviour within a broader structural context. The way engulfing structures are detected, filtered, measured, and visualised—along with how internal ranges, imbalances, projections, and higher-timeframe elements are handled—reflects an original design approach developed specifically for this indicator.
5. Disclaimer
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice, investment recommendations, or trading signals. All trading and investment decisions remain solely the responsibility of the user.
Trading financial instruments involves substantial risk of loss. Past performance of any trading methodology or indicator does not guarantee future results. Users should conduct their own research and consider consulting with qualified financial professionals before making trading decisions.
The indicator's pattern detection is based on technical analysis principles and should be used as part of a comprehensive trading approach. No trading tool can guarantee profitable outcomes or eliminate market risk.
By using this indicator, users acknowledge they understand these risks and accept full responsibility for their trading decisions and outcomes.
Multi-Doji Strategy IndicatorMulti-Doji Strategy Indicator – Trend-Aligned Doji Retest Analysis
Overview
The Multi-Doji Strategy Indicator is an original TradingView tool designed to systematically analyze Doji candles within a defined market context. The indicator identifies multiple Doji variations, maps their structural price levels, and monitors retests of those levels in alignment with the prevailing trend.
Rather than treating Dojis as isolated reversal signals, the script focuses on Doji psychology, location, and follow-through. This approach allows traders to evaluate Doji-based continuation or reversal setups using repeatable, rule-based logic while maintaining a price-action–focused workflow.
Doji Detection Logic
The indicator detects four commonly used Doji types:
Standard Doji
Long-Legged Doji
Dragonfly Doji
Gravestone Doji
Users can define acceptable body size and wick proportions, allowing the script to filter insignificant candles and adapt to different instruments and timeframes.
For each validated Doji, the indicator:
Highlights the candle body for immediate visual reference
Projects upper and lower wick levels as potential reaction zones
These levels represent areas where supply or demand was previously rejected.
Trend Context
To reduce counter-trend signals, the indicator includes multiple trend evaluation methods:
Structural trend analysis based on swing highs and lows
Moving-average slope analysis
A hybrid mode requiring agreement between structure and moving averages
Trend sensitivity, swing parameters, and moving-average settings are fully adjustable, allowing traders to control how strict trend qualification must be before signals are considered.
Retest-Based Signal Logic
Once a Doji is confirmed and aligned with trend context, the indicator monitors price for controlled retracements:
In bullish conditions, it observes retests into the lower Doji wick zone
In bearish conditions, it observes retests into the upper Doji wick zone
When predefined retracement and validation conditions are met, the indicator marks the bar where the retest occurs. These signals are intended to highlight potential entry zones, not guaranteed outcomes.
Customization and Alerts
The indicator includes:
Optional visual markers for retest events
User-controlled colors, shapes, and visibility settings
Alert conditions for Doji retest signals, allowing monitoring without constant chart observation
Inputs are organized into logical sections for Doji detection, trend logic, and signal behavior to keep configuration clear and manageable.
Intended Use
The Multi-Doji Strategy Indicator is designed to support:
Doji-based continuation and reversal analysis
Trend-aligned trade filtering
Structured price-action decision-making
It is suitable for use across all major markets and timeframes, including stocks, forex, futures, and crypto.
Disclaimer
This indicator is intended for educational and analytical purposes only and does not constitute financial advice. Always apply proper risk management and confirm analysis with additional tools.
Educational Market Structure & Trend Context🔍 Overview
This time-limited indicator is designed for educational and analytical purposes only. It helps users visually study price structure behavior and trend context by marking key structural points on the chart and overlaying a trend reference line. The indicator does not generate trading signals, predictions, or recommendations.
⚙️ How the Indicator Works
The script analyzes price action over a user-defined lookback period to identify local structural points:
Higher Highs within the selected range
Lower Lows within the selected range
These points are plotted as simple visual markers to help users understand how price is evolving over time.
In addition, a moving average is applied to provide broader trend context.
🟢 Green Markers (Structure Strength)
Appear when price forms a local higher high within the lookback window
Represent relative strength in price structure
They are not buy signals and do not indicate future movement
🔴 Red Markers (Structure Weakness)
Appear when price forms a local lower low within the lookback window
Represent relative weakness in price structure
They are not sell signals and do not indicate reversals
➖ Grey Line (Trend Context Line)
This line is a moving average calculated over a fixed period
It provides trend context only, helping users visually distinguish between upward and downward environments
It does not act as support, resistance, or entry guidance
🎨 Background Shading (Optional Context)
A subtle background color may appear depending on price position relative to the trend line
This shading is purely visual context, not a signal or confirmation
🎯 Purpose & Benefits
Helps users study market structure in a clean and simple way
Encourages price-action awareness instead of signal dependency
Supports manual analysis, learning, and chart reading skills
Keeps the chart minimal, non-predictive, and professional
⚠️ Important Notes
This indicator does not provide buy/sell signals
No targets, stop levels, or profit expectations are included
Past structure points do not predict future outcomes
Users should apply their own analysis and risk management
CARPE DIEM TRADING ALGO - FRAMEWORKCARPE DIEM TRADING ALGO – FRAMEWORK is an all‑in‑one chart overlay built to organize your price action into clean, tradeable structure using four modular components: CHART, LANES, RANGE, and LEVELS. CHART adds a performance‑guarded regression channel with optional internal fibs and LinReg‑smoothed candles, plus RSI/MFI regime coloring so you can quickly see when momentum flips without sacrificing responsiveness or CPU. LANES stacks EMA 5/12 and 34/50 shaded bands with fib‑style volatility envelopes, giving an immediate read on short‑ and mid‑term trend alignment and stretch. RANGE plots a time‑anchored daily range band from your chosen reference timeframe and timezone, then projects classic 1.272–2.000 extensions only during the active session window for intraday context. LEVELS automatically derives swing‑based support and resistance zones, POIs, optional swing labels, and zigzag, while an internal object‑budget governor quietly prunes and caps boxes, lines, and labels so the whole framework stays smooth even on lower timeframes.
Auto Channel DetectorChannel Detector — Automatic Price Channel Identification
Channel Detector is an original TradingView indicator designed to systematically identify and visualize price channels using objective market structure logic. Instead of relying on manually drawn trendlines, the script analyzes structural swing highs and lows to detect sustained, parallel price movement and dynamically construct price channels as the market evolves.
The indicator determines channel validity by confirming aligned swing points that define both an upper and lower boundary. Once a channel is established, it plots:
A channel high based on validated swing resistance
A channel low based on validated swing support
A midline representing the statistical equilibrium of the channel
This midpoint is useful for evaluating mean reversion, momentum continuation, and reaction zones within the channel.
By continuously evaluating new price data, Channel Detector adapts to changing conditions and highlights both trending environments and controlled consolidations. Rising channels, falling channels, and horizontal structures are all detected using the same consistent logic, allowing traders to compare market behavior across different symbols and timeframes without subjective bias.
How traders can use this indicator
Identify structured trends and avoid trading against established channel direction
Anticipate potential breakout areas when price approaches channel boundaries
Use the midline as a dynamic area for pullbacks, reactions, or trade management
Add objective structure to discretionary price-action analysis
The indicator includes multiple customization options, allowing users to control line styles, colors, and visibility so the output remains clean and readable on any chart layout.
Channel Detector is intended for traders who value clarity, repeatable structure, and rule-based interpretation of price movement rather than manually drawn or purely subjective channels.
Sweep HybridVersion B (Full / TradingView Style)
Sweep → BOS Hybrid (XAUUSD) | 2-Leg Plan + BE Runner + Persistent TP Tags
This indicator is built for traders who combine liquidity sweep concepts with structure confirmation.
Logic
Detects sweeps of recent pivot highs/lows (wick/close option).
Arms a setup and waits for a confirmed BOS (1-bar or 2-bar confirmation).
On BOS confirmation, it draws a full trade framework:
Entry (BOS level or confirm-close option)
Stop Loss (with tick buffer)
TP1 / TP2 using R-multiples
Dotted projection lines + optional Risk/Reward boxes
Risk & Position Sizing (XAUUSD)
Designed for XAUUSD with a simple money model (editable).
Uses Capital ($) + Risk per leg ($ or %) to calculate Qty for Leg 1 and Leg 2
Qty is rounded down to your preferred step size (lot step).
Trade Management
When TP1 is hit, the SL is moved to Break-Even (Entry) for the remaining leg (runner).
TP tags are persistent and printed at the exact level:
TP1 tag on TP1 hit
TP2 tag on TP2 hit
SL tag if stop is hit before TP1
BE tag if SL is hit after TP1 (since SL moved to Entry)
Visuals
Dotted structural link lines:
Pivot → Sweep
Pivot → BOS
BOS Touch line
BOS lines use a separate color from Sweep/Touch lines for clarity.
Alerts
Alert conditions when price touches BOS (wick-touch or close-confirm).
[TehThomas] - Order Blocks█ OVERVIEW
This Order Blocks indicator identifies institutional-level support and resistance zones using fractal pattern recognition combined with Fair Value Gap (FVG) filtering. Order blocks represent areas where large institutional orders have been placed, creating significant price reactions when retested. This indicator uses a 5-bar fractal pattern to detect market structure breaks and highlights the last bearish or bullish candle before a strong impulse move.
█ KEY FEATURES
- Fractal-Based Detection: Uses 5-candle fractal patterns to identify key market structure highs and lows
- FVG Filtering: Optional Fair Value Gap confirmation ensures order blocks are followed by true market imbalances
- Automatic Mitigation: Order blocks are automatically removed when price breaks through them
- Overlap Prevention: Prevents cluttered charts by avoiding overlapping order block zones
- Customizable Display: Full control over colors, labels, line heights (body/wick), and maximum blocks shown
- Dual Polarity: Detects both bullish (OB+) and bearish (OB-) order blocks independently
█ HOW IT WORKS
The indicator scans price action for fractal patterns where the middle candle forms a local extreme (highest high or lowest low among 5 bars). When price breaks above a fractal high or below a fractal low, the script identifies the last opposing candle in the impulse move as the order block.
For bearish order blocks, it finds the highest bullish candle before a fractal low is broken, marking institutional selling pressure. For bullish order blocks, it locates the lowest bearish candle before a fractal high is breached, indicating institutional buying.
When FVG filtering is enabled, the indicator confirms that a Fair Value Gap (a 3-candle imbalance where price leaves an unfilled gap) occurred within the specified distance from the order block. This combination increases the probability that institutional traders are present in these zones.
█ SETTINGS
Bullish Order Block Settings
- Show/hide bullish order blocks
- Customize fill color and border color
- Toggle OB+ label display
Bearish Order Block Settings
- Show/hide bearish order blocks
- Customize fill color and border color
- Toggle OB- label display
Label Settings
- Label size: Tiny, Small, Normal, or Large
- Label text color customization
General Settings
- Bars Back to Check (10-200): Lookback period for order block detection
- Filter by FVG: Requires Fair Value Gap confirmation
- Max Bars Between OB and FVG (1-6): Distance tolerance for FVG filtering
- Line Height: Choose between Body or Wick for order block boundaries
- Prevent Overlapping OBs: Avoids drawing overlapping zones
- Max Order Blocks to Display (1-50): Limits active blocks on chart
- Length of Boxes (10-100): Horizontal projection length
█ HOW TO USE
1. Add the indicator to your TradingView chart
2. Configure settings based on your trading timeframe and style
3. Watch for OB+ labels (bullish order blocks) as potential support zones where price may bounce
4. Watch for OB- labels (bearish order blocks) as potential resistance zones where price may reverse
5. Wait for price retracement to the order block zone before taking entries
6. Use confirmation signals like volume spikes or reversal patterns at the order block
7. Place stop loss just outside the order block boundary to manage risk
8. Monitor mitigation: Order blocks disappear when price breaks through them completely
█ TRADING STRATEGY EXAMPLES
Bullish Order Block Strategy
Wait for a market structure shift from bearish to bullish. When price creates a bullish impulse breaking a fractal high, identify the OB+ zone. Enter long positions when price retraces to test the bullish order block, placing stop loss 10-20 pips below the zone's low. Target previous highs or resistance levels.
Bearish Order Block Strategy
Monitor for market structure shift from bullish to bearish. After price creates a bearish impulse breaking a fractal low, locate the OB- zone. Enter short positions when price retraces to test the bearish order block, placing stop loss 10-20 pips above the zone's high. Target previous lows or support levels.
FVG-Confirmed Entries
Enable FVG filtering to only display order blocks validated by Fair Value Gaps. These aligned setups increase probability as they combine institutional order placement with market inefficiencies. Trade retracements to these high-confluence zones for better risk-reward ratios.
█ IDEAL FOR
- ICT Traders: Follows Inner Circle Trader methodology for institutional order flow
- Smart Money Concepts: Tracks where large players place orders
- Swing Traders: Identifies key support/resistance for multi-day holds
- Price Action Traders: Pure chart-based approach without lagging indicators
- Breakout Traders: Confirms structure breaks with fractal patterns
- Forex, Crypto, and Stock Markets: Works on all liquid markets and timeframes
█ TECHNICAL SPECIFICATIONS
- Max Boxes: 500
- Max Labels: 500
- Detection Method: 5-bar fractal pattern recognition
- Mitigation Logic: Automatic removal when price breaks order block boundaries
- Time Projection: Uses time offset calculations for box extension
- Array Management: Dynamic array cleanup to prevent memory issues
█ NOTES & DISCLAIMERS
- Order blocks work best when combined with overall market context and trend analysis
- Not all order blocks result in price reversals; use proper risk management
- FVG filtering may reduce the number of signals but increases quality
- Fractal patterns require 5 bars to form, causing a 2-bar delay in detection
- Works optimally on higher timeframes (4H, Daily) for institutional footprints
- This indicator does not guarantee profitable trades; always use stop losses
- Past performance of order blocks does not predict future results
- Compatible with other ICT concepts like liquidity sweeps and market structure
Sniper Swing Clean v6 (mobile-safe) updated version Professional Description
How to Use Sniper Swing — Clean v6 (Mobile-Safe)
Purpose
Sniper Swing — Clean v6 is a trend-aligned swing indicator designed to help traders identify high-probability entries and exits while minimizing noise. It works best in trending or gently rotating markets and is optimized for mobile charting.
A. Chart Setup
Recommended:
Timeframes: 5m–1h for active trading, 4h–Daily for swing trading
Instruments: Liquid equities, indices, and major ETFs
The indicator plots:
SMA 9 (entry trigger)
EMA 20 (trend and momentum)
Optional SMA 50 (higher-timeframe bias)
B. Buy (Long) Signal — How to Act
A BUY label appears when price reclaims short-term structure.
How to trade it:
Wait for price to cross above the SMA 9
Confirm EMA 20 is rising (and above SMA 50 if enabled)
Optional: Confirm price is closing above EMA 20
Enter on:
The close of the signal candle, or
A minor pullback that holds above SMA 9
Best context:
Higher lows
EMA 20 sloping upward
RSI not overbought
C. Sell / Short Signal — How to Act
The indicator offers two sell modes:
1) CrossUnder SMA 9 (Fast Exit)
Use in strong trends or fast markets
Exit longs or enter shorts when price loses SMA 9
2) AccuSell (Structure-Based)
Use in choppy or topping markets
Requires:
Loss of SMA 9 plus
Structural weakness (lower highs/lows, RSI < 50, or EMA 20 turning down)
How to trade it:
Exit longs when sell label appears
Aggressive traders may enter short positions
Conservative traders wait for follow-through
D. RSI Arrows — Context Only
OB arrows warn of potential exhaustion
OS arrows suggest relief or bounce zones
RSI does not trigger trades — it informs patience and risk
E. Position Coloring & State
Green candles = long bias
Purple candles = short bias
Background tint reinforces short exposure
Coloring persists until the opposite signal prints
This helps visually manage trades without staring at labels.
F. Risk Management (User-Defined)
The indicator does not manage stops or targets.
Common approaches:
Stop below recent swing low (longs)
Stop above recent swing high (shorts)
Scale partials near RSI OB/OS zones
G. When Not to Use It
Extremely low-volume chop
News-driven spikes
Range-bound micro consolidations
2. Explain It Like You’re 10 👶📈
Imagine the chart is a road, and the price is a car.
🟢 Green = Go
When the car drives above the yellow line, that means it’s probably going up.
The indicator says:
“Okay, the car looks like it wants to go forward. You can hop in.”
That’s a BUY.
🟣 Purple = Uh-Oh
When the car falls below the yellow line, it might start going down.
The indicator says:
“Careful… the car is slowing down or turning around.”
That’s a SELL.
🔵 Blue Line = Wind Direction
The blue line shows which way the wind is blowing.
If the wind blows up → going up is easier
If the wind blows down → going down is easier
You want to go with the wind, not fight it.
🔺 Red & Green Arrows = Too Fast / Too Slow
Red arrow = “The car is going too fast, might need a break”
Green arrow = “The car is tired, might bounce”
They don’t tell you to go or stop — they just say “pay attention.”
🎨 Colors Help You Remember
Green bars = you’re riding up
Purple bars = you’re riding down
Gray = nothing exciting happening
🚨 Important Rule
This tool doesn’t drive the car for you.
It just says: “Now might be a good time.”
You still decide when to get in and when to get out.
Sweep BOS Hybrid Version B (Full / TradingView Style)
Sweep → BOS Hybrid (XAUUSD) | 2-Leg Plan + BE Runner + Persistent TP Tags
This indicator is built for traders who combine liquidity sweep concepts with structure confirmation.
Logic
Detects sweeps of recent pivot highs/lows (wick/close option).
Arms a setup and waits for a confirmed BOS (1-bar or 2-bar confirmation).
On BOS confirmation, it draws a full trade framework:
Entry (BOS level or confirm-close option)
Stop Loss (with tick buffer)
TP1 / TP2 using R-multiples
Dotted projection lines + optional Risk/Reward boxes
Risk & Position Sizing (XAUUSD)
Designed for XAUUSD with a simple money model (editable).
Uses Capital ($) + Risk per leg ($ or %) to calculate Qty for Leg 1 and Leg 2
Qty is rounded down to your preferred step size (lot step).
Trade Management
When TP1 is hit, the SL is moved to Break-Even (Entry) for the remaining leg (runner).
TP tags are persistent and printed at the exact level:
TP1 tag on TP1 hit
TP2 tag on TP2 hit
SL tag if stop is hit before TP1
BE tag if SL is hit after TP1 (since SL moved to Entry)
Visuals
Dotted structural link lines:
Pivot → Sweep
Pivot → BOS
BOS Touch line
BOS lines use a separate color from Sweep/Touch lines for clarity.
Alerts
Alert conditions when price touches BOS (wick-touch or close-confirm).
Breakout Modewww.youtube.com
======中文===========
策略源于方方土的早盘突破模式,仅限5分钟K线
用前几根K线的高点和低点作为震荡区间,当区间小于平均波动的50%时,突破开盘的震荡区间后,在Measure Move止盈
=======English========
The strategy is derived from Fangfangtu’s opening-range breakout pattern and is limited to the 5-minute timeframe.
The highs and lows of the first few candlesticks are used to define a consolidation range. When the range is less than 50% of the average volatility, a trade is entered upon a breakout of the opening consolidation range, with profit taken using a measured-move target.
ALT FINAL ABCD PRO V6 (ALERT READY)🇺🇸 Strategy Guide: ALT FINAL ABCD PRO V6
1️⃣ Recommended Chart SetupTimeframes: 5m or 15mMarket: Altcoin USDT Perpetual FuturesHigher Timeframe (HTF): 1H (Default)⚠️ Warning: 1-minute charts are NOT recommended due to high market noise.
2️⃣ Strategy OverviewThis strategy trades only high-probability Bull Flag & Bear Flag setups based on BTC trend, BTC Dominance, and EMA 200 positioning.
3️⃣ Trade ConditionsCategoryLONG ConditionsSHORT ConditionsAsset PriceAbove EMA 200Below EMA 200BTC TrendAbove EMA 200 & VWAPBelow EMA 200 & VWAPDominanceBelow its EMA (Alt Season)Above its EMA (Risk-Off)HTF TrendBullish on 1H chartBearish on 1H chartPatternStrong Impulse + Tight ConsolidationStrong Impulse + Tight PullbackLiquidityVWAP Sweep & ReclaimVWAP Rejection from Above
4️⃣ EMA 200 Rule (Critical)Price Above EMA 200: LONG ONLYPrice Below EMA 200: SHORT ONLYPrice Near EMA 200: ❌ No Trade (Indecision zone)
5️⃣ Risk ManagementStop Loss (SL): ATR × 0.8Take Profit (TP): ATR × 1.3Recommended Leverage: Max 3–5xStrict Rules: No averaging down, No counter-trend trades.



















