Market Sleep ZonesHey traders 👋
This script shows when the market is in a "sleeping" or low volatility phase. I call it Market Sleep Zones 😴
It looks at the average price movement over a window (default 20 bars), and if the price changes are small (under a % threshold you set), it highlights that area on the chart with a soft green background.
💡 This can help spot moments when the market is quiet — maybe before a breakout or just moving sideways.
It also places labels to mark where these zones start and end, so it's easy to track.
You can change:
The window size (how many bars to look back)
The breath depth (how much price is allowed to move before it’s "not sleeping" anymore)
Not perfect, but helpful if you want to avoid getting chopped in low-volatility zones or want to prepare for when the market "wakes up" 😄
Let me know if you find it useful or have ideas to improve it!
Chart patterns
3 Smoothed Moving Averagethis is 3 sma 9,21,200 especially used for long term crosses or short term crosses as well. when the 9,21 cross under the 200 you sell. When 9,21 cross above 200 you buy.
EX Trend Signal – Overlay🚨 Fibonacci Reactor Zone Detected on XAU/USD
Gold is now testing the upper edge of a triangle structure, combined with an explosive Fibonacci cluster from multiple legs.
📍 Key Levels:
• 1.618 = 3,326.00 (Already broken)
• 2.618 = 3,385.66
• 3.618 = 3,422.72
• 4.236 = 3,445.63
🧠 Price is approaching the major confluence zone. A clean breakout above 3,360 could trigger a momentum spike toward 3,420+.
✅ Using EX-LEO Fibo Reactor™ v2 with trendline precision
✅ Triangle compression + EMA crossover
📊 Trading Ideas:
• Buy on breakout above 3,360
• Buy the dip near 3,336–3,317
• Cut below 3,302 if momentum fails
—
💬 Let me know your thoughts — Bullish or Bearish?
⚡ Follow for real-time charts and setups from the Command Table.
#XAUUSD #Gold #Breakout #Fibonacci #PriceAction #TradingView #TechnicalAnalysis #Forex #GoldForecast
Equal Highs/Lows + SMT Divergences + Range FilterKey Functional Areas
🔹 Equal Highs and Lows Detection
Strict Swing High/Low: Looks for equal swing points and ensures untouched in-between levels.
Regular Equal High/Low: Uses a range filter (default 9.75 points across 5 bars) to validate.
Volume and Time Filtering: You allow user toggles to include only periods with sufficient volume or time of day.
🔹 Swing Point Helpers
Functions isSwingHigh() and isSwingLow() are used for strict equal high/low detection.
🔹 Range Filter
Checks whether the high-low range over the last 5 candles meets a user-defined minimum (ensures significance).
🔹 Moving Averages
Includes optional plotting of 20 and 200 SMA.
🔹 SMT Divergences
Compares pivots between main symbol and two others (default: ES1! and YM1!).
Detects divergence based on opposite directional movement at pivot points.
Customizable color, thickness, and labels.
ATR Display ShorcutATR Value Display - On-Chart Volatility Monitor
Clean ATR display directly on your price chart - no extra panels needed!
This indicator displays the current Average True Range (ATR) value as a clean table overlay on your price chart, eliminating the need for a separate indicator panel below your main chart.
✨ Key Features:
On-chart display: ATR value shown directly on price chart
Customizable positioning: Choose from 4 corner positions
Clean design: Minimal, non-intrusive table format
Real-time updates: Always shows the latest ATR value
Adjustable period: Default 14-period, fully customizable
🎯 Perfect For:
Position sizing calculations
Stop-loss placement (1x, 1.5x, 2x ATR)
Volatility assessment at a glance
Clean chart setups without extra panels
Quick reference during live trading
📊 How to Use:
Add to chart
Select your preferred table position
Adjust ATR period if needed (default: 14)
The current ATR value displays automatically
💡 Pro Tip:
Use this ATR value to:
Set stop-losses at 1.5x or 2x ATR distance
Determine position size based on account risk
Compare current volatility to historical levels
Clean charts, clear data, better trading decisions.
Compatible with all timeframes and instruments. Pine Script v6.
Feel free to adjust this description to match your style or add any specific features you want to highlight!
BB Cross + Martingale Hedging Strategy🔁 Buy and Sell Trend Indicator (Multi-Entry Trend Follower)
This indicator detects bullish and bearish trends based on candle direction and highlights trend shifts with multiple entry opportunities.
🔍 Features:
Buy Signals: Triggered when a bullish candle follows a bearish one, initiating a potential upward trend.
Sell Signals: Triggered when a bearish candle follows a bullish one, signaling potential downward momentum.
Multi-Entry Logic: Captures up to 5 consecutive entries in the same trend to compound positions or confirm strength.
Visual Labels: Clearly marked buy/sell labels and trend continuation counts on the chart.
Color-coded Backgrounds: Light green/red highlights for bullish/bearish candles.
Alerts: Set real-time alerts for trend reversals and continuation signals, ensuring you're notified instantly.
🧠 Ideal For:
Trend-following traders looking for clear entry points.
Scalpers and swing traders who want to track momentum shifts.
Users who prefer visual confirmations and real-time alerts.
Stochastic Swing PointUsing Stochastic to define any swing points.
When Stochastic is OB or OS this indicator will find a high and low to create a label on it.
Default setting is 9 3 3 OB 80 OS 20
for educational purpose only
9:15 Range with 0.09% BufferThis strategy is based on the first 9:15 AM candle for Nifty, which is considered a key reference point (also called the "GAN level entry"). It defines a range around the high and low of the 9:15 candle with a 0.09% buffer on both sides.
The upper buffer level acts as a potential resistance.
The lower buffer level acts as a potential support.
When the price crosses above the upper buffer, it signals a possible entry for a Call option (CE) or a long position.
When the price crosses below the lower buffer, it signals a possible entry for a Put option (PE) or a short position.
This approach helps traders identify early breakout opportunities based on the opening candle range, aiming to capture momentum moves in either direction during the trading session.
Essa - Multi-Timeframe LevelsEnhanced Multi‐Timeframe Levels
This indicator plots yearly, quarterly and monthly highs, lows and midpoints on your chart. Each level is drawn as a horizontal line with an optional label showing “ – ” (for example “Apr 2025 High – 1.2345”). If two or more timeframes share the same price (within two ticks), they are merged into a single line and the label lists each timeframe.
A distance table can be shown in any corner of the chart. It lists up to five active levels closest to the current closing price and shows for each level:
level name (e.g. “May 2025 Low”)
exact price
distance in pips or points (calculated according to the instrument’s tick size)
percentage difference relative to the close
Alerts can be enabled so that whenever price comes within a user-specified percentage of any level (for example 0.1 %), an alert fires. Once price decisively crosses a level, that level is marked as “broken” so it does not trigger again. Built-in alertcondition hooks are also provided for definite breaks of the current monthly, quarterly and yearly highs and lows.
Monthly lookback is configurable (default 6 months), and once the number of levels exceeds a cap (calculated as 20 + monthlyLookback × 3), the oldest levels are automatically removed to avoid clutter. Line widths and colours (with adjustable opacity for quarterly and monthly) can be set separately for each timeframe. Touches of each level are counted internally to allow future extension (for example visually emphasising levels with multiple touches).
Smart Trend Zones + EMAs 20/50/200 + Cross SignalsIndicator for trand up and down including Rsi Macd and other indicators
Rifaat Ultra Gold AI v6.1🔄 SL moves with each new candle if the price moves in favor of the trade.
🟢 Break-Even Protection
If a certain profit percentage is reached, the SL is moved to the entry point (zero loss).
🔕 Audio and Visual Alerts
A sound notification on buy/sell signals.
A visual alert on the screen.
🎛️ Settings Control
Adjustable from the settings menu.
23/35 SR Channels (Hitchhikers Guide To Goldbach)This indicator highlights potential short-term support and resistance zones based on the 23rd and 35th minute of each hour. At each of these time points, it draws a zone from the high to the low of the candle, extending it forward for a fixed number of bars.
Key features:
🔸 Orange zones mark the 23-minute candle
🔹 Blue zones mark the 35-minute candle
📏 Zones extend for a customizable number of bars (channelLength)
🔄 Existing zones are removed if they overlap significantly with a new one
🏷️ Optional labels show when a 23 or 35 zone is created
This tool is ideal for traders looking to identify time-based micro-structures and intraday reaction zones.
JS CandleIt is an excellent indicator for those who wish to earn. It is a strategic tool, but it is recommended to try it after thorough paper testing. Using a 5-minute or 3-minute chart, it provides suggestions for buying and selling. A complete description will be available after seven days.
4 Moving Averages (Custom Colors)
This is a script to display four Moving Averages (5, 20, 60, 100).
To all investors, from beginners to advanced users:
Feel free to use this indicator if you find it helpful.
4本のMA(5,20,60,100)を表示するスクリプトです。
投資初心者の皆様から上級者の方々へ
こちらのインジケーターの使い勝手がよければ、どうぞご自由にお使いください。
MirPapa:ICT:HTF: FVG OB Threeple# MirPapa:ICT:HTF: FVG OB (Fair Value Gap Order Block)
**Version:** Pine Script® v6
**Author:** © goodia
**License:** MPL-2.0 (Mozilla Public License 2.0)
---
## Overview
“FVG OB” (Fair Value Gap Order Block) identifies higher-timeframe candle ranges where a gap (imbalance) exists between two non-consecutive candles, signaling potential institutional order blocks. This module draws bullish or bearish FVG OB boxes on your lower-timeframe chart, extends them until price interacts a specified number of times, and then finalizes (recolors) the box.
---
## Inputs
- **Enable FVG OB Boxes** (`bool`)
Toggle drawing of HTF FVG OB boxes on the chart.
- **Enable FVG OB Midlines** (`bool`)
Toggle drawing of a midpoint line inside each FVG OB box.
- **FVG OB Close Count** (`int` 1–10)
Number of HTF closes beyond the FVG range required to finalize (recolor) the box.
- **FVG OB Bull Color** (`color`)
Fill & border color for bullish FVG OB boxes.
- **FVG OB Bear Color** (`color`)
Fill & border color for bearish FVG OB boxes.
- **FVG OB Box Transparency** (`int` 1–100)
Opacity level for FVG OB box fills (higher = more transparent).
---
## How It Works
1. **HTF Data Retrieval**
- The script uses `request.security()` (via `GetHTFrevised()`) to fetch HTF OHLC and historical values:
- `_htfHigh3` (high three bars ago) and `_htfLow1` (low one bar ago) for bullish FVG OB.
- `_htfLow3` (low three bars ago) and `_htfHigh1` (high one bar ago) for bearish FVG OB.
- It also tracks the HTF `bar_index` on the lower timeframe to align drawing.
2. **FVG OB Detection**
- **Bullish FVG OB**: Occurs when the HTF low of the previous bar (`low `) is strictly above the HTF high of three bars ago (`high `), creating a gap.
- **Bearish FVG OB**: Occurs when the HTF high of the previous bar (`high `) is strictly below the HTF low of three bars ago (`low `), creating a gap.
3. **Box Creation**
- On each new HTF bar (`ta.change(time(HTF)) != 0`), if a bullish or bearish FVG OB condition is met, the script calls `CreateBoxData()` with:
- **Bullish**: `bottom = HTF low `, `top = HTF high `, `_isBull = true`.
- **Bearish**: `bottom = HTF low `, `top = HTF high `, `_isBull = false`.
- Midline toggled by input.
- A `BoxData` struct is created and stored in either the Bull or Bear array.
4. **Box Extension & Finalization**
- On **every LTF bar**, `ProcessBoxDatas(...)` iterates over all active FVG OB boxes:
1. **Extend Right Edge**: `box.set_right(bar_index)` ensures the box follows the latest bar.
2. **Record Volume Delta**: Tracks buy/sell volume inside the box.
3. **Touch Stage Update**: `modBoxUpdateStage()` increments `_stage` when price touches its “basePoint” (for FVG OB, the basePrice is one side of the gap).
4. **Finalize**: `setBoxFinalize()` checks if the configured number of closes beyond the FVG gap (`FVG OB Close Count`) has occurred. If so:
- `_isActive := false`
- Border and background colors are changed to the “Box Close Color” (input).
- Finalized boxes remain on screen semi-transparent, indicating that the FVG OB zone has been tested.
5. **Midline (Optional)**
- If “Enable FVG OB Midlines” is checked, `ProcessBoxDatas()` also extends a horizontal midpoint line inside the box with `line.set_x2(bar_index)`.
---
## Usage Instructions
1. **Installation**
- Copy the FVG OB section of the Pine Script into TradingView’s Pine Editor (ensure the library import is included).
- Click “Add to Chart.”
2. **Configure Inputs**
- Choose a Higher Time Frame via the dropdown (e.g., “4시간” maps to a 4H timeframe).
- Toggle “Enable FVG OB Boxes” and “Enable FVG OB Midlines.”
- Select colors for bullish and bearish boxes and set transparency.
- Adjust “FVG OB Close Count” to control how many closes beyond the gap finalize the box.
3. **Interpretation**
- **Active FVG OB Boxes** extend to the right until price closes beyond the gap range the specified number of times.
- When finalized, each box changes to the “Box Close Color,” signaling that institutional orders in that gap have likely been filled.
Enjoy precise visualization of higher-timeframe Fair Value Gap Order Blocks on your lower-timeframe chart!
Volume-Enhanced Candlestick Patterns 1
Overview
Scans for four major candlestick reversal patterns:
Harami
Engulfing
Morning/Evening Star
Piercing Line/Dark Cloud Cover
Underlying logic assumes that, at a turning point, the dominant side (bulls or bears) often delivers a “final” push—either a last surge of buying or selling—before the reversal truly takes hold.
Pattern Toggles
Each individual pattern can be turned on or off in the inputs.
Enable only the patterns you want to monitor to reduce chart clutter and speed up performance.
Volume Filter Toggle
On: Requires volume-based exhaustion or climax to confirm each pattern.
Off: Relies purely on price-action candlestick logic (no volume checks).
Grouped Labels & Confluence
When one or more patterns trigger on the same bar close, a single label is drawn:
Grouping multiple confirmed patterns on one bar increases confluence and signal strength.
Climax Volume × Multiplier
Adjusting this input affects signal frequency and conviction:
Higher multiplier → fewer signals but with stronger volume confirmation
Lower multiplier → more signals, each with a looser volume requirement
Alerts
Built-in alert condition for each individual pattern (bullish/bearish Harami, Engulfing, Star, Piercing, Dark Cloud Cover), so you can receive real-time notifications whenever a confirmation occurs.
Follow for Weekly Scripts
If you find this helpful, please hit Follow and 🚀button —I release a new scripts every week.
Disclaimer
Not Financial Advice. This script is for educational and research purposes only.
Use as Part of a Larger System. It should not be used in isolation; combine it with your own risk management rules, additional indicators, and broader market analysis.
No Guarantees. Candlestick patterns and volume filters can improve signal quality, but they do not guarantee profitable trades. Always perform your own due diligence before entering any position.
Liquidity Sweep Candlestick Pattern with MA Filter📌 Liquidity Sweep Candlestick Pattern with MA Filter
This custom indicator detects liquidity sweep candlestick patterns—price action events where the market briefly breaks a previous candle’s high or low to trap traders—paired with optional filters such as moving averages, color change candles, and strictness rules for better signal accuracy.
🔍 What is a Liquidity Sweep?
A liquidity sweep occurs when the price briefly breaks the high or low of a previous candle and then reverses direction. These events often occur around key support/resistance zones and are used by institutional traders to trap retail positions before moving the price in the intended direction.
🟢 Bullish Liquidity Sweep Criteria
The current candle is bullish (closes above its open).
The low of the current candle breaks the low of the previous candle.
The candle closes above the previous candle’s open.
Optionally, in Strict mode, it must also close above the previous candle’s high.
Optionally, it can be filtered to only show if the candle changed color from the previous one (e.g., red to green).
Can be filtered to only show when the price is above or below a moving average (if MA filter is enabled).
🔴 Bearish Liquidity Sweep Criteria
The current candle is bearish (closes below its open).
The high of the current candle breaks the high of the previous candle.
The candle closes below the previous candle’s open.
Optionally, in Strict mode, it must also close below the previous candle’s low.
Optionally, it can be filtered to only show if the candle changed color from the previous one (e.g., green to red).
Can be filtered to only show when the price is above or below a moving average (if MA filter is enabled).
⚙️ Features & Customization
✅ Signal Strictness
Choose between:
Less Strict (default): Basic wick break and close conditions.
Strict: Must close beyond the wick of the previous candle.
✅ Color Change Candles Only
Enable this to only show patterns when the candle color changes (e.g., from red to green or green to red). Helps filter fake-outs.
✅ Moving Average Filter (optional)
Supports several types of MAs: SMA, EMA, WMA, VWMA, RMA, HMA
Choose whether signals should only appear above or below the selected moving average.
✅ Custom Visuals
Show short (BS) or full (Bull Sweep / Bear Sweep) labels
Plot triangles or arrows to represent bullish and bearish sweeps
Customize label and shape colors
Optionally show/hide the moving average line
✅ Alerts
Includes alert options for:
Bullish sweep
Bearish sweep
Any sweep
📈 How to Use
Add the indicator to your chart.
Configure the strictness, color change, or MA filters based on your strategy.
Observe signals where price is likely to reverse after taking out liquidity.
Use with key support/resistance levels, order blocks, or volume zones for confluence.
⚠️ Note
This tool is for educational and strategy-building purposes. Always confirm signals with other indicators, context, and sound risk management.
Swing High Low Detector by RV5📄 Description
The Swing High Low Detector is a visual indicator that automatically detects and displays swing highs and swing lows on the chart. Swings are determined based on configurable strength parameters (number of bars before and after a high/low), allowing users to fine-tune the sensitivity of the swing points.
🔹 Current swing levels are shown as solid (or user-defined) lines that dynamically extend until broken.
🔹 Past swing levels are preserved as dashed/dotted lines once broken, allowing traders to see previous support/resistance zones.
🔹 Customizable line colors, styles, and thickness for both current and past levels.
This indicator is useful for:
Identifying key market structure turning points
Building breakout strategies
Spotting trend reversals and swing zones
⚙️ How to Use
1. Add the indicator to any chart on any timeframe.
2. Adjust the Swing Strength inputs to change how sensitive the detector is:
A higher value will filter out smaller moves.
A lower value will capture more frequent swing points.
3. Customize the line styles for visual preference.
Choose different colors, line styles (solid/dashed/dotted), and thickness for:
Current Swing Highs (SH)
Past Swing Highs
Current Swing Lows (SL)
Past Swing Lows
4. Observe:
As new swing highs/lows are detected, the indicator draws a new current level.
Once price breaks that level, the line is archived as a past level and a new current swing is drawn.
✅ Features
Fully customizable styling for all lines
Real-time updates and automatic level tracking
Supports all chart types and instruments
👨💻 Credits
Script logic and implementation by RV5. This script was developed as a tool to improve price action visualization and trading structure clarity. Not affiliated with any financial institution. Use responsibly.
BAFD (Price Action For D.....s)🧠 Overview
This indicator combines multiple Moving Averages (MA) with visual price action elements such as Fair Value Gaps (FVGs) and Swing Points. It provides traders with real-time insight into trend direction, structural breaks, and potential entry zones based on institutional price behavior.
⚙️ Features
1. Multi MA Visualization (SMA & EMA)
- Plots short-, mid-, and long-term moving averages
- Fully customizable: MA type (SMA/EMA) and length per MA
- Dynamic color coding: green for bullish, red for bearish (based on close >/< MA)
2. Fair Value Gaps (FVG) Detection
Detects bullish and bearish imbalances using multiple logic types:
- Same Type: Last 3 candles move in the same direction
- Twin Close: Last 2 candles close in the same direction
- All: Shows all valid FVGs regardless of pattern
Gaps are marked with semi-transparent yellow boxes
Useful for identifying potential liquidity voids and retest zones
3. Swing Highs and Lows
- Automatically identifies major swing points
- Customizable sensitivity (strength setting)
Marked with subtle colored dots for structure identification or support/resistance mapping
📈 Use Cases
- Trend Identification: Visualize momentum on multiple timeframes
- Liquidity Mapping: Spot potential retracement zones using FVGs
- Confluence Building: Combine MA slope, FVG zones, and swing points for refined setups
🛠️ Customizable Settings
- Moving average type and length for each MA
- FVG logic selection and color
- Swing point strength
🔔 Note
This script does not generate buy/sell signals or alerts. It is designed as a visual decision-support tool for discretionary traders who rely on market structure, trend, and price action.