Hidden BreakerHidden Breaker
DESCRIPTION
The Hidden Breaker identifies Order Blocks and tracks their transformation when they interact with Fair Value Gaps. It displays both standard Order Blocks and those modified by FVG (Breaker Blocks) across multiple timeframes within a single chart view.
METHODOLOGY ORIGIN
This indicator is based on concepts from the MoneyTaur trading methodology, which focuses on identifying Order Blocks hidden behind Fair Value Gaps from the multi-timeframe perspective.
WHAT MAKES THIS UNIQUE
- Box Management System: User-controlled box allocation through dynamic filters, ensuring all detected blocks remain visible within Pine Script's 500 box limit. Users can manage which blocks to display through price range and filter adjustments.
- Creates unified columnar visualization
- Processes 70+ timeframes (incl custom)
- Tracks each block's complete lifecycle
KEY FEATURES
Order Blocks (OB): Detects engulfing candle patterns between candle bodies with customizable deviation tolerance.
Breaker Blocks (BB): Order Blocks (candle body) that crossed Fair Value Gaps by 100% without being touched by wicks.
Partial Breaker Blocks (PBB): Candle bodies that didn't fit 100% within an FVG or were partially mitigated by wicks. Min BB size in % after passing FVG is adjustable within filter.
Multi-Timeframe Analysis: Processes 70+ timeframes without repainting
Visual Organization: Displays blocks in columns by timeframe for easy comparison. Spacing is adjustable within menu.
FVG Counter: Shows interaction count (1-5) for each block
Statistics Table: Real-time monitoring of detected blocks
Price Range Filter: Manages Pine Script's 500 box limit effectively
HOW IT WORKS
The indicator uses a three-stage detection process:
Stage 1 - Order Block Detection:
Identifies engulfing patterns where one candle body fully engulfs the body of the previous opposite candle. The system allows for small price deviations. The detected zone spans from the open to close of the engulfed candle.
Stage 2 - FVG Interaction:
Monitors for Fair Value Gaps that occur when the candle's low is above the high from two candles ago (bullish gap) or when the high is below the low from two candles ago (bearish gap). When such a gap overlaps an existing Order Block, the system evaluates:
Checks whether the OB’s body is fully contained within the FVG range (passed 100% through it without wick contact) — shown as 1H | 1, where 1H is the timeframe and 1 the FVG count.
The percentage of the OB body retained within the FVG after zone adjustment is filter-controlled.
Directional bias is inherited from the FVG.
Blocks with multiple FVG interactions (counted 1–5+) allow filtering of BBs based on their FVG overlap frequency.
Stage 3 - Single or Multi-Timeframe Processing:
Collects data from multiple timeframes simultaneously, processes it without repainting, and displays horizontal boxes with timeframe labels arranged in vertical columns, where each timeframe occupies its own designated horizontal space for clear visual separation.
DETECTION CRITERIA
Order Block: Engulfing with body-to-body alignment within adjustable deviation tolerance
Breaker Block: OB that intersects with subsequent FVG. When filter is set to 100%, shows only BBs where the body fully passed through FVG without wick touches.
Partial Breaker Block (PBB): An Order Block partially intersected by an FVG or partially mitigated by a subsequent candle, narrowing the original Breaker Block range.
FVG validation: Gap between candles 1 and 3
VISUAL GUIDE
Green: Bullish Order Blocks
Red: Bearish Order Blocks
Blue: Bullish Breaker Blocks
Orange: Bearish Breaker Blocks
Teal: Bullish Partial Breaker Blocks
Purple: Bearish Partial Breaker Blocks
Numbers: FVG interaction count (1-5)
Percentages: Remaining unmitigated area
SETTINGS
Block Type Selection: Choose to display OB only, BB/PBB only
Deviation (%): Tolerance for engulfing pattern detection
Min Engulfing Impulse (%): Minimum required price movement for valid engulfing
FVG Filter: Set minimum FVG count required (1-5)
Min BB Size after FVG (%): Minimum remaining size of an BB after passing an FVG
Hide if Mitigated More Than (%): Visibility threshold for partially mitigated blocks
Price Range Filter (%): Limit Block detection to specific price ranges from current price
Price Range Axis (%): Offset reference point for price range
Timeframe Groups: Select from 6 predefined groups or custom timeframes
Max Bars to Scan: Historical lookback period (100-10000)
Replay Mode: used for historical backtesting and visual analysis for higher TF data.
TIMEFRAME GROUPS
Group 1: Minutes & Short Hours (5m-4H)
Group 2: Extended Hours (5H-23H)
Group 3: Days (1D-19D)
Group 4: Weeks (1W-12W)
Group 5: Months (1M-12M)
Group 6: 19 Custom timeframes
USAGE NOTES
Select appropriate timeframe groups for your analysis style
Adjust deviation and impulse settings based on market volatility
Use FVG filter to focus on blocks with multiple gap interactions
Monitor the statistics table to ensure box count stays under 500. If approaching limit, narrow the price range filter
Each box shows its description aligned vertically by timeframe
TECHNICAL SPECIFICATIONS
Pine Script Version 6
Default scan range: 5000 historical bars
Maximum 500 boxes per chart (Pine Script limitation)
Non-repainting calculations
Compatible with all markets and timeframes
Optimized memory management for multi-timeframe processing
TERMS AND CONDITIONS
This indicator and its documentation do not constitute financial or investment advice.
Users should make independent trading decisions and accept full responsibility for their outcomes.
Use of this tool implies that you understand the risks of financial markets and agree that the author is not liable for any loss or damage arising from its use.
This indicator is designed solely as a visualisation tool to assist with chart analysis.
It does not teach, promote, or automate any specific trading strategy, concept, or methodology.
All visual elements — such as OBs, BBs, PBBs, FVGs, and related interactions — are intended to support manual study and backtesting, not to generate trading signals.
Past performance does not guarantee future results. By using this tool, users agree to these terms.
Candlestick analysis
Trend Reversal Signal The issue was that alertcondition requires a constant string for the message parameter - it cannot accept a variable. I've replaced the dynamic message construction with static strings. The alerts will now work properly!
The error should now be resolved. Copy the updated code and it should compile without issues.
RBD Advanced PinbarInputs / Settings
Detection parameters
lookback_period → How far back to compare wick sizes.
min_wick_ratio → Minimum wick length as % of total candle height.
max_body_ratio → Maximum body size as % of total candle height.
atr_multiplier → Ensures the pinbar candle’s total height is at least a multiple of the ATR (filters out small candles).
wick_size_multiplier → The wick must be at least X times larger than the biggest wick in recent candles.
Visual options
Toggle display of hammer / shooting star markers, labels, background highlights, and info table.
Customize colors and label size.
For each candle:
Calculates upper wick, lower wick, and body size in both absolute and percentage terms.
Checks if the total candle size is “large enough” using ATR.
Looks back lookback_period bars to find the largest historical upper and lower wick.
Compares current wick size to the past max wick (must exceed it by wick_size_multiplier).
Classifies the candle:
Hammer Pinbar (Bullish) if
Lower wick ≥ min_wick_ratio
Body ≤ max_body_ratio
Candle is big enough (ATR filter)
Lower wick is significantly longer than past wicks
Shooting Star (Bearish) if
Upper wick ≥ min_wick_ratio
Body ≤ max_body_ratio
Candle is big enough
Upper wick is significantly longer than past wicks
GANN Friday RulesFriday Rules Indicator Description
Purpose:
The Friday Rules indicator identifies and marks specific Friday candlestick patterns based on
weekly price action and candle body-to-wick relationships.
How it Works:
The indicator tracks the weekly high and low from Monday to Friday, then analyzes Friday's
candle to determine its significance and body/wick characteristics.
Signal Types:
🟢 Green F ▲ - Strong Bullish Friday
- Friday makes the weekly high
- Body closes within 1% of the high (minimal upper wick)
- Indicates strong buying pressure with little rejection
🟡 Yellow F ▲ - Weak Bullish Friday
- Friday makes the weekly high
- Body does NOT close near the high (significant upper wick)
- Shows buying interest but with selling pressure/rejection at highs
🔴 Red F ▼ - Strong Bearish Friday
- Friday makes the weekly low
- Body closes within 1% of the low (minimal lower wick)
- Indicates strong selling pressure with little support
🟠 Orange F ▼ - Weak Bearish Friday
- Friday makes the weekly low
- Body does NOT close near the low (significant lower wick)
- Shows selling pressure but with buying support at lows
⚪ White F - Neutral Friday
- Friday does not make weekly high or low
- Regular Friday with no extreme weekly price action
Key Features:
- Resets weekly tracking every Monday
- All signals positioned above the candle for clean visibility
- Arrow direction indicates bullish (▲) vs bearish (▼) bias
- Color coding shows strength: Green/Red = strong, Yellow/Orange = weak, White = neutral
Usage:
Use this indicator to identify significant Friday price action that may influence next week's
trading, weekend sentiment, and weekly closing patterns.
Stop point MMAAn indicator that determines an important stopping area by overcoming the blue candle. The overriding party is determined by buyers or sellers, as it must be confirmed by two candles closing below
Overbought & Oversold by Vito_290📘 OB/OS Candle Color – Confluence + Volume (v6)
This indicator colors candles based on the confluence of overbought (green) and oversold (red) conditions, combining technical signals from price and volume to provide reliable, uncluttered visual readings.
🔹 What It Measures
RSI → classic strength/weakness extremes.
Stochastic %K → short-term oscillations.
Bollinger %B + Price Z-Score → statistical deviations from the mean.
MFI, CMF, Volume Z-Score, OBV Z-Score → intensity and direction of capital flow.
🔹 How It Works
Each metric produces an overbought or oversold signal.
The indicator counts how many conditions are simultaneously true.
If the count exceeds the user-defined threshold (Min Conditions), the candle is colored:
Green → Overbought
Red → Oversold
An optional EMA-based trend filter avoids counter-trend signals.
🔹 Why It’s Useful
A single RSI or isolated volume spike can be misleading.
This tool filters market noise by combining eight independent signals, giving a much stronger confirmation of market extremes.
🔹 Recommended Timeframes
Optimized for 15m, 30m, 1h, 4h, and 1D charts.
Adjust Min Conditions depending on timeframe:
15–30m → 4–5
1h → 3–4
4h–1D → 3
🔹 Usage Tips
In trend-following strategies → keep the EMA filter ON.
In mean-reversion setups → turn the filter OFF to catch short-term reversals.
Give more weight to signals with extreme volume spikes and price beyond Bollinger Bands.
This is not an automatic trading system, but a visual trigger to help identify overextended zones and improve entry/exit timing.
overbought & oversoldOverbought & Oversold
📘 OB/OS Candle Color – Confluence + Volume (v6)
This indicator colors candles based on the confluence of overbought (green) and oversold (red) conditions, combining technical signals from price and volume to provide reliable, uncluttered visual readings.
🔹 What It Measures
RSI → classic strength/weakness extremes.
Stochastic %K → short-term oscillations.
Bollinger %B + Price Z-Score → statistical deviations from the mean.
MFI, CMF, Volume Z-Score, OBV Z-Score → intensity and direction of capital flow.
🔹 How It Works
Each metric produces an overbought or oversold signal.
The indicator counts how many conditions are simultaneously true.
If the count exceeds the user-defined threshold (Min Conditions), the candle is colored:
Green → Overbought
Red → Oversold
An optional EMA-based trend filter avoids counter-trend signals.
🔹 Why It’s Useful
A single RSI or isolated volume spike can be misleading.
This tool filters market noise by combining eight independent signals, giving a much stronger confirmation of market extremes.
🔹 Recommended Timeframes
Optimized for 15m, 30m, 1h, 4h, and 1D charts.
Adjust Min Conditions depending on timeframe:
15–30m → 4–5
1h → 3–4
4h–1D → 3
🔹 Usage Tips
In trend-following strategies → keep the EMA filter ON.
In mean-reversion setups → turn the filter OFF to catch short-term reversals.
Give more weight to signals with extreme volume spikes and price beyond Bollinger Bands.
This is not an automatic trading system, but a visual trigger to help identify overextended zones and improve entry/exit timing.
Avivso 150 + ATHThis Pine Script displays a dynamic on-chart watermark and key stock data.
It shows company info, symbol, industry, market cap, ATR(14) with color status, earnings countdown, and distances from the current price to SMA150 and the all-time high.
It also plots SMA 20 and SMA 150 moving-average lines on the chart and supports configurable position, size, and padding for the watermark.
The Ultimate TPE by ATKDaily Energy Trigger Levels – AI-Enhanced Precision
This indicator captures the daily energy of price movement by extending the day’s high/low trigger levels across the chart. It translates daily institutional flow into clean visual levels, dynamic alerts, and actionable signals.
Key Highlights
🔹 Automatic Daily Energy Mapping – anchors to each day’s high and low in your selected timezone.
🔹 Full Chart Extension – upper and lower lines stretch across all timeframes for constant context.
🔹 Custom Color Control – personalize your green/red levels for clarity.
🔹 1-Minute Arrow Signals – see precise entries when price crosses daily energy zones.
🔹 Proximity & Touch Alerts – get notified when price touches or approaches your levels within a tick range.
🔹 Dynamic Alert Text – each alert displays the exact level name, price, and Long/Short direction.
Why It Matters
Every day creates a unique energy signature in price action. By tracking how the market respects or rejects those levels, traders can see where liquidity and momentum build up. TPE visualizes that energy in real time, helping you react faster and with greater precision.
Best Use Case
Use on the 1-minute chart for scalping or fine entry timing.
20 EMA Undercut Bounce - M4v3r1ck💎 The "EMA Undercut Bounce" Bullish Scanner
This indicator is designed to identify high-conviction continuation patterns where price makes a temporary dip for liquidity before resuming a powerful, established uptrend. It specifically looks for a bullish rejection off the 20-period Exponential Moving Average (EMA).
🎯 Strategy Logic
The signal is generated only on the Daily (1D) timeframe when the following five precise conditions are met on the most recent completed bar:
1. Price Action (The Undercut Bounce)
• Undercut: The bar's low price must have touched or temporarily traded below the 20-Day EMA.
• Rejection: The bar's close price must have fully recovered and closed above the 20-Day EMA. This is the classic sign of strong buying pressure defending a key support level.
2. Strong Trend Hierarchy (The Bullish Stack)
The moving averages must be perfectly stacked, confirming a robust multi-timeframe uptrend structure:
• 10-Day EMA > 20-Day EMA
• 20-Day EMA > 50-Day SMA
• 50-Day SMA > 200-Day SMA
3. Momentum Confirmation (The Upward Slope)
Both the 10-Day EMA and the 20-Day EMA must be rising from the previous day. This ensures that the short-term trend momentum is positive, ruling out signals during flat or turning markets.
💡 How to Use This Indicator
1. Timeframe: Ensure your chart is set to the Daily (1D) timeframe for accurate results.
2. Signal: A Green Background highlight and an Up-Arrow below the bar mark a confirmed signal.
3. Alerts: Use the built-in alert condition to set up notifications for stocks on your watchlist, allowing you to catch these high-quality setups without constantly monitoring charts.
This script is ideal for trend-following traders looking to enter a position after a healthy shakeout and confirmation of continued bullish commitment.
構造型リバーサルThis indicator is currently published as a free protected script.
If there’s enough demand, I may release a paid invite-only version later.
# Structural Reversal Indicator
## Automatically Detect Trend Reversals Based on Dow Theory
### 🎯 Overview
The **Structural Reversal** indicator automatically tracks Dow Theory structure (HH/HL/LH/LL) and detects trend reversals when key support/resistance levels break. It visualizes pullbacks and swing highs/lows, providing objective entry and exit signals.
---
## 💡 What is Structural Reversal?
This indicator monitors the market structure according to Dow Theory:
- **HH (Higher High)** - New highs in uptrend
- **HL (Higher Low)** - Pullback in uptrend
- **LH (Lower High)** - Swing high in downtrend
- **LL (Lower Low)** - New lows in downtrend
When these structural levels break, the indicator signals a potential trend reversal.
---
## 📊 Two Key Signals
### 🔵 Low Reversal (Uptrend Failure)
- **Pattern**: HH → HL → HL break
- **Signal**: ▲ LOW marker appears when price breaks below the Higher Low
- **Meaning**: Uptrend has ended, potential bearish reversal
### 🔴 High Reversal (Downtrend Failure)
- **Pattern**: LL → LH → LH break
- **Signal**: ▼ HIGH marker appears when price breaks above the Lower High
- **Meaning**: Downtrend has ended, potential bullish reversal
---
## ✅ Key Features
### 1. True to Dow Theory
- Confirmed bar-based detection (no repaint)
- Dynamic tracking of high/low relationships
- Objective trend structure analysis
### 2. Defense Line Visualization
- **Uptrend**: Blue solid line marks the Higher Low (HL)
- **Downtrend**: Red solid line marks the Lower High (LH)
- Clear visual indication of critical support/resistance levels
### 3. Historical Line Memory
- Keep past defense lines visible
- Track where structure broke
- Multiple line history settings (0-20 lines)
---
## 🔥 Unique Feature: "Untested Line" Visualization
The most innovative aspect of this indicator is the **three-stage line display system**:
| Line Style | Status | Meaning |
|-----------|--------|---------|
| **Solid** | Currently Active | Current defense line to watch |
| **Dashed** | Untested | Price hasn't returned yet = **High probability of reaction** |
| **Dotted** | Tested | Price already reached once = Function completed |
### The Hypothesis
Many traders observe this phenomenon:
- When price returns to a broken level for the **first time**, it often reacts strongly
- However, on the **second visit and beyond**, the level rarely holds
**Dashed lines are key levels to watch!** When price returns to these untested lines, they may provide high-probability reversal opportunities.
---
## ⚙️ Settings
| Parameter | Description | Default | Recommended |
|-----------|-------------|---------|-------------|
| **Swing Length** | Pivot detection range | 5 | Short-term: 3 / Long-term: 7-10 |
| **Use Close** | Use closing price (true) or wick (false) | false | Close recommended (fewer false signals) |
| **Extend Lines** | Extend lines to the right | true | ON recommended |
| **Keep History Lines** | Number of historical lines to display | 3 | 3-5 for clarity |
| **Alert On** | Enable reversal alerts | true | ON recommended |
---
## 📚 Use Cases
### Case 1: Uptrend Entry
1. Price rising (blue solid defense line visible)
2. New pullback forms → blue solid line updates to new HL
3. Old defense line turns to dashed (untested status)
4. Price falls back to dashed line → watch for bounce!
5. If bounce occurs, dashed line changes to dotted
### Case 2: Trend Reversal Detection
1. During uptrend (blue solid line)
2. Price breaks below defense line
3. ▲ LOW marker appears (Low Reversal)
4. Trend shifts to downtrend (red solid line appears)
5. Consider closing longs or entering shorts
---
## 🎓 Best Practices
### ✅ Effective Use Cases
- **Swing Trading**: Daily/4H timeframe trend following
- **Pullback Trading**: Wait for price to return to defense lines
- **Stop Loss Placement**: Set stops just below/above defense lines
- **Scenario Adjustment**: Use ▲▼ markers to recognize trend shifts
### ⚠️ Important Notes
- **Not recommended as standalone**: Use with other indicators and market context
- **Less effective in ranging markets**: Works best in trending conditions
- **Backtest recommended**: Verify performance with your trading style
---
## 🌟 Summary
**Structural Reversal** faithfully implements Dow Theory to help you never miss important trend reversals.
The **"untested line" concept (dashed lines)** provides a novel approach to visualizing the "freshness" of support/resistance levels.
### Ideal For
- Traders who want to incorporate Dow Theory
- Those seeking objective entry/exit points
- Pullback and swing traders
- Anyone who wants to catch trend reversals early
---
## 📝 Technical Details
- **No Repaint**: All signals based on confirmed bars
- **Lightweight**: Optimized for performance
- **Customizable**: Flexible parameters for different trading styles
- **Alert Ready**: Built-in alert conditions for notifications
---
**Category**: Trend Analysis
**Tags**: #dowtheory #trend #reversal #structure #pivotpoints #supportresistance
London Open High/Low 9:00-9:15indicator marks out high and low of the first 15 minutes of the London session.
Julius Single TrailJulius Single Trail — How it works
This indicator combines a Kalman-like smoothed Donchian midline with an ATR-style volatility buffer to create a single adaptive trailing line that flips with trend. It also recolors candles to reflect regime and visually marks ranging conditions using Bollinger Band width. Optionally, it adds a dotted price line and can hide default candles for a clean, unified look.
Core logic
Donchian midpoint: Calculates the middle of the highest high and lowest low over Donchian Length. This is the directional anchor.
Kalman-like smoothing: Applies a lightweight exponential update to the Donchian midpoint using Alpha, reducing noise while staying responsive.
Volatility buffer: Uses RMA of True Range over Volatility Length multiplied by Volatility Multiplier to form an adaptive offset around the smoothed midline.
Dynamic trail:
Up-trend regime (regime = 1): The trail is kMid - offset and only ratchets upward (math.max), acting like a long stop.
Down-trend regime (regime = -1): The trail is kMid + offset and only ratchets downward (math.min), acting like a short stop.
Flip conditions: Regime flips only when price is on the far side of both the smoothed midpoint and the current trail:
Flip to down when close < kMid and close < dynTrail
Flip to up when close > kMid and close > dynTrail
Candle styling:
Wick color shows immediate price direction (green for bullish, red for bearish).
Body color follows the trail’s regime (Uptrend Color or Downtrend Color).
In ranging conditions, all candle elements turn gray.
Ranging detection:
Computes Bollinger Bands on close with BB Length and BB Multiplier.
Calculates width as a percentage of the basis. If width% (optionally smoothed) is below Range Threshold %, candles are gray to signal consolidation.
What it plots
Dynamic Trail: A single, thick line that changes color by regime:
Uptrend: Uptrend Color (default lime)
Downtrend: Downtrend Color (default red)
Optional Trail Fill to Close: A translucent band between the trail and the close (disabled by default).
Optional Dotted Price Line: A dotted horizontal line at the current price (toggle via Show Dotted Price Line).
Candle treatment:
You can hide default candles (Hide Default Candles), then use a separate custom-candle script for wick/body/border mapping. In this script, default candles can be made fully transparent to let the trail and colors dominate.
Inputs
Donchian Length: Window for the highest/lowest used to form the midline.
Kalman Alpha 0–1: Smoothing factor for the midline. Higher = more responsive, lower = smoother.
Volatility Length: RMA length of True Range for the volatility buffer.
Volatility Multiplier: Scales the buffer around the midline. Higher widens the trail, reducing flips.
Uptrend Color / Downtrend Color: Trail and body color by regime.
Show Cloud To Close: Fills between price and trail using the trail’s color.
Hide Default Candles: Makes the native candles fully transparent.
Show Dotted Price Line / Price Line Color: Toggles and colors the dotted price line.
Ranging parameters:
BB Length (Ranging) and BB Multiplier (Ranging): Bollinger Band settings.
Range Threshold %: If BB width% < threshold, candles turn gray to indicate range.
Use Smoothed Width / Width Smoothing Length: Smooths BB width% before comparison.
Signals and interpretation
Regime shifts:
Bullish flip: When price closes above both the smoothed midpoint and the current trail. Trail switches to the lower band (kMid - offset) and ratchets up.
Bearish flip: When price closes below both the smoothed midpoint and the current trail. Trail switches to the upper band (kMid + offset) and ratchets down.
Trend bias:
Green trail/body: Favor long bias; trail can serve as a dynamic stop.
Red trail/body: Favor short bias; trail can serve as a dynamic stop.
Ranging filter:
Gray candles: Lower-probability trend continuation; consider reducing position sizing, waiting for a breakout, or using mean-reversion tactics.
How to use it
Trend following:
Enter in the direction of the regime when flips occur or on pullbacks that respect the trail.
Use the trail as a stop-loss guide: exit when price closes beyond the trail and the regime flips.
Range awareness:
When candles turn gray, avoid trend entries or switch to range tactics. Wait for color to return and a clean flip.
Tuning suggestions:
Faster, more responsive: Lower Donchian Length, increase Alpha, lower Volatility Length and/or Volatility Multiplier.
Smoother, fewer flips: Increase Donchian Length, decrease Alpha, increase Volatility Length and/or Volatility Multiplier.
Ranging strictness: Increase Range Threshold % to mark ranges more often; smooth the width to avoid choppiness.
Example settings
Swing trading:
Donchian Length: 50
Alpha: 0.25
Vol Length: 14
Vol Mult: 1.6
BB Length: 20, BB Mult: 2.0, Range Threshold %: 2.0, Smoothed width ON (20)
Intraday (more responsive):
Donchian Length: 20–30
Alpha: 0.4–0.6
Vol Length: 10–14
Vol Mult: 1.2–1.6
Range Threshold %: 1.5–2.5 depending on instrument
Alerts (suggested)
Regime flips:
Condition: close > dynTrail and close > kMid -> Alert: Bullish regime
Condition: close < dynTrail and close < kMid -> Alert: Bearish regime
Range state:
Condition: BB width% < threshold -> Alert: Ranging
You can wire these using alertcondition() on the flip conditions and isRange variable inside the script.
Notes and limitations
This is a single-side ratcheting trail per regime, designed to reduce whipsaw by requiring price to clear both the midpoint and the trail before flipping.
Like all trend tools, it can lag tops/bottoms and may chop in low-volatility, sideways markets.
For assets with highly irregular volatility, retune Volatility Multiplier and Range Threshold %.
Short description (for header):
Adaptive, single-line trailing stop based on Kalman-smoothed Donchian mid + ATR-style buffer. Colors candles by regime, grays out ranges via BB width. Optional price line and cloud.
If you want, I can add alertcondition() for the flip and range events and a light custom-candle overlay so you can publish with built-in alert templates and consistent candle styling.
golden owl 1HR- 1MIN setupmarks 1 hour interval or change in setting to fixed and 1 hr htf.... once cisd signal forms in the first 10 candles after 1 hour close go for it. 1:3 strict.. after price reaches 1:1 strictly move sl to entry. enjoy!
golden smart entrySmart Money Concepts (SMC) is a trading methodology that focuses on understanding and following the behavior of institutional investors—often referred to as "smart money." The goal is to identify high-probability trade setups by analyzing how these large players move the market.
UTS CORE + BOS + CHOCH – RR/TP/SL 📊 Indicator Working Principle
### 🔹 1. BOS (Break of Structure)
* **Definition:** Occurs when the price breaks the previous swing high or swing low level.
* **Interpretation:**
* If the last high is broken upwards → **Bullish BOS** (confirmation of uptrend).
* If the last low is broken downwards → **Bearish BOS** (confirmation of downtrend).
---
### 🔹 2. CHOCH (Change of Character)
* **Definition:** Indicates a trend reversal.
* **Interpretation:**
* In an uptrend, if the last low is broken downwards → **CHOCH↓** (start of downtrend).
* In a downtrend, if the last high is broken upwards → **CHOCH↑** (start of uptrend).
* **Chart:** Blue “CHOCH↑” labels on the chart mark trend reversals.
---
### 🔹 3. FVG (Fair Value Gap)
* **Definition:** A price gap formed between 3 candles.
* **Logic:**
* If the low of one candle stays above the high of the candle two bars back, a gap is created.
* Price tends to return to these gaps to “fill” them.
* **Chart:** The indicator highlights these gaps automatically (green/purple lines).
---
### 🔹 4. Signal Generation (BUY / SELL)
* A valid BOS or CHOCH confirmation + presence of FVG → **signal is triggered.**
* **Rules:**
* Upward break → **BUY signal**
* Downward break → **SELL signal**
* **Chart:** Red “SELL” and green “BUY” labels represent these trade signals.
---
### 🔹 5. RR – TP/SL Management
* When a trade is opened, the indicator automatically calculates **Entry, Stop Loss (SL), and Take Profits (TP1, TP2, TP3).**
* **Risk/Reward ratios:**
* TP1 = 1R
* TP2 = 2R
* TP3 = 3R
* If TP1 is hit and “Breakeven” option is enabled → SL moves to entry (risk-free trade).
---
👉 In short: this indicator tracks **market structure (BOS/CHOCH)**, detects **imbalances (FVG)**, and combines them with **risk/reward management (TP/SL)** to give you a ready-made trade
First X Days Of A YearFirst X-Day Indicator
Overview
The "First X-Day Indicator" is a powerful tool to visualize and analyze market sentiment during the crucial first trading days of each new year. It provides immediate visual feedback on whether the year is starting with positive or negative momentum compared to the previous year's close, a concept often related to market theories like the "January Effect" or the "First Five Days Rule."
The indicator is designed to be clean, intuitive, and fully customizable to fit your charting style.
Key Features
Yearly Baseline: Automatically draws a horizontal line at the previous year's closing price. This line serves as a clear 0% reference for the current year's performance.
Dynamic Background Coloring: For a user-defined number of days at the start of the year, the chart background is colored daily. Green indicates the close is above the previous year's close, while red indicates it's below.
Final Performance Symbol: At the end of the analysis period (e.g., on the 5th day), a single summary symbol (like 👍 or 👎) appears. This symbol represents the final performance outcome of the initial trading period.
Settings & Customization
You have full control over all visual elements:
Analysis Period: Define exactly how many days at the start of the year you want to analyze (e.g., 3, 5, or 10 days).
Line Customization: Fully control the yearly baseline's appearance. You can change its color, width, and style (Solid, Dashed, or Dotted) or hide it completely.
Symbol Customization: Choose any character or emoji for the positive and negative performance symbols. You can also adjust their size (Small, Normal, Large) or hide them.
Background Control: Enable or disable the daily background coloring and select your preferred custom colors for positive and negative days.
Multi-Module Full-Featured Trading Strategy System v1🧠 Key Features Summary:
🧩 Full Modular Structure: Entry / Position Adding / Take Profit & Stop Loss / Delay / Capital Management.
⏱️ Delay & Reverse System: Prevents frequent long-short switching with minute-based delay intervals.
💰 Capital Management System:
• Controls opening/adding positions based on account equity percentage;
• Limits maximum position ratio;
• Supports leverage multiplier.
⚙️ Each module is independently configurable and can be disabled;
📈 Unified variable naming for easy expansion with more indicators.
Multi-TF Bias Dashboard + Smart Entry V8Multi-TF Bias Dashboard + Smart Entry provides a complete top-down bias and entry confirmation system for professional traders.
It evaluates Weekly, Daily, and Custom HTF (e.g. 4H) candle structures to define directional bias, then synchronizes entry triggers from a lower timeframe using a reference–entry lock and optional cooldown filter to prevent overtrading.
A unified dashboard panel displays:
✅ Weekly / Daily / HTF leg PASS-FAIL logic
✅ Auto-locked entries only after reference bar close
✅ Bias banner (Bullish / Bearish / Neutral)
✅ Cooldown timer (Bars or Minutes) to space entries
✅ Real-time alerts + on-chart entry markers
GHOST SUPER EMAThis indicator i have created to trade Nifty weekly position option trading and can be used for different trading style and uses
uses 2 supertrend and ema(20)
Previous session High/Low – Asia London USA Overview
This indicator automatically plots the Previous Day’s (PD) session Highs and Lows for the Asia (Tokyo), London, and USA (New York) trading sessions.
Each session is color-coded for clarity:
🟩 Asia (Green)
🟥 London (Red)
🟦 USA (Blue)
At the close of each session, the indicator records that session’s high and low, draws horizontal lines across the chart, and labels them neatly in the center of each range — above the high and below the low for perfect visual balance.
⚙️ How It Works
The script continuously tracks the current high and low within each session.
When a session closes, those values are locked in as the PD High and PD Low.
Clean lines and centered labels are drawn immediately.
The labels automatically offset slightly above or below the line to avoid overlap, with user-controlled spacing.
This helps traders quickly identify where price interacts with the previous session’s structure, a core concept for many session-based and liquidity-based strategies.
🧭 Sessions and Timezones
Each market session runs in its native timezone, so you can align them perfectly to your chart or your preferred trading hours:
Asia Session: Default 08:30 – 11:00 (Australia/Adelaide time)
London Session: Default 08:00 – 10:00 (Europe/London)
USA Session: Default 09:30 – 16:00 (America/New_York)
You can change each session’s hours and timezone from the Inputs panel.
🎨 Customization
In the Inputs menu you can:
Toggle each session on or off
Choose line color and thickness
Enable or disable labels
Adjust vertical offset (ticks) for label spacing
“High label offset” – moves label further above the high line
“Low label offset” – moves label further below the low line
These adjustments make it easy to keep charts clean and readable on any instrument or timeframe.
📈 Practical Use
This indicator is ideal for:
Session traders who mark PD Highs/Lows as liquidity zones
London or NY session scalpers who watch for breakouts, fakeouts, or reversals
ICT / Smart Money Concepts users wanting automatic session reference levels
Anyone wanting a quick visual map of inter-session structure






















