Vwap Vision #WhiteRabbitVWAP Vision #WhiteRabbit
This Pine Script (version 5) script implements a comprehensive trading indicator called "VWAP Vision #WhiteRabbit," designed for analyzing price movements using the Volume-Weighted Average Price (VWAP) along with multiple customizable features, including adjustable color themes for better visual appeal.
Features:
Customizable Color Themes:
Choose from four distinct themes: Classic, Dark Mode, Fluo, and Phil, enhancing the visual layout to match user preferences.
VWAP Calculation:
Uses standard VWAP calculations based on selected anchor periods (Session, Week, Month, etc.) to help identify price trends.
Band Settings:
Multiple bands are calculated based on standard deviations or percentages, with customization options to configure buy/sell zones and liquidity levels.
Buy/Sell Signals:
Generates clear buy and sell signals based on price interactions with the calculated bands and the exponential moving average (EMA).
Real-time Data Display:
Displays real-time signals and VWAP values for selected trading instruments, including XAUUSD, NAS100, and BTCUSDT, along with related alerts for trading opportunities.
Volatility Analysis:
Incorporates volatility metrics using the Average True Range (ATR) to assess market conditions and inform trading decisions.
Enhanced Table Displays:
Provides tables for clear visualization of trading signals, real-time data, and performance metrics.
This script is perfect for traders looking to enhance their analysis and gain insights for making informed trading decisions across various market conditions.
Cicli
Liquidity Zones Alerts"Liquidity Zones Alerts" is a powerful smart-money-based indicator designed to detect key liquidity grabs and provide high-probability reversal signals using a combination of market structure, volume, volatility, and candlestick confirmation.
🧠 How It Works
The core logic of this indicator is built around the Smart Money Concepts:
🔺 Liquidity Sweeps: Detects when price takes out previous daily or weekly highs/lows, suggesting stop hunts or engineered liquidity moves by institutional players.
📈 Volume Filter: Ensures signals only appear during above-average volume, filtering out noise and low-interest moves.
⚡ Volatility Filter: Flags high-range candles relative to the average, catching flash crashes/spikes that often precede strong reversals.
🔄 Engulfing Candle Confirmation: Confirms entry with a bullish or bearish engulfing pattern after liquidity is taken — increasing signal reliability.
🧭 Premium/Discount Zone Logic: Trades are filtered to ensure longs are only taken in discount zones, and shorts in premium zones, using a 20-period market range for context.
📌 Features
✅ Daily & Weekly liquidity zones toggle
✅ Visual signals with clean 🔻(short) & 🔺(long) arrows
✅ Auto-detection of flash crashes
✅ Alerts on both long and short setups
✅ Optional previous high/low level plotting for context
✅ Background highlighting of valid signal candles
✅ Multi-timeframe friendly and compatible with any asset
🛠️ Use Case
Whether you're a scalper or a swing trader, this tool helps you spot institutional entry zones before the move happens. It works especially well when combined with your existing bias or supply/demand zones.
💬 “Price doesn't move randomly — it hunts liquidity. This indicator shows you where and when it happens.”
Advanced Structure & Order BlocksBelow is a Pine Script (version 6) that combines advanced structure mapping (identifying market structure through swing highs/lows and break of structure) with order block detection (bullish and bearish). The script plots swing points, marks bullish and bearish order blocks, and identifies break of structure (BOS) for trend direction. It’s designed to be customizable and clear for traders analyzing market structure and liquidity zones.
```pine
//@version=6
indicator("Advanced Structure & Order Blocks", overlay=true, max_boxes_count=100, max_lines_count=100)
// Inputs
lookback = input.int(5, "Swing Lookback", minval=1, step=1, group="Structure Settings")
ob_sensitivity = input.float(0.5, "Order Block Sensitivity", minval=0.1, maxval=2, step=0.1, group="Order Block Settings")
max_ob_display = input.int(10, "Max Order Blocks Displayed", minval=1, maxval=50, group="Order Block Settings")
show_bos = input.bool(true, "Show Break of Structure", group="Structure Settings")
// Swing High/Low Detection
swing_high = ta.pivothigh(high, lookback, lookback)
swing_low = ta.pivotlow(low, lookback, lookback)
// Store swing points
var float last_high = 0
var float last_low = 0
var int last_high_idx = 0
var int last_low_idx = 0
if swing_high
last_high := swing_high
last_high_idx := bar_index
if swing_low
last_low := swing_low
last_low_idx := bar_index
// Plot swing points
plotshape(swing_high, style=shape.triangleup, location=location.abovebar, color=color.red, size=size.small, offset=-lookback)
plotshape(swing_low, style=shape.triangledown, location=location.belowbar, color=color.green, size=size.small, offset=-lookback)
// Market Structure (Bullish/Bearish)
var bool is_bullish = true
var float last_structure_high = high
var float last_structure_low = low
if close > last_high and is_bullish == false
is_bullish := true
last_structure_low := last_low
if close < last_low and is_bullish
is_bullish := false
last_structure_high := last_high
// Break of Structure (BOS)
var float bos_level = 0
var color bos_color = na
if show_bos
if is_bullish and close > last_structure_high
bos_level := last_structure_high
bos_color := color.green
last_structure_high := high
if not is_bullish and close < last_structure_low
bos_level := last_structure_low
bos_color := color.red
last_structure_low := low
plotshape(bos_level, style=shape.labeldown, location=location.absolute, color=bos_color, size=size.tiny, text="BOS", textcolor=color.white)
// Order Block Detection
var int ob_count = 0
bullish_ob() =>
// Bullish OB: Price rejects from a low, forming a demand zone
close < open and close > open and close > high * (1 + ob_sensitivity / 100)
bearish_ob() =>
// Bearish OB: Price rejects from a high, forming a supply zone
close > open and close < open and close < low * (1 - ob_sensitivity / 100)
// Plot Order Blocks
if bullish_ob() and ob_count < max_ob_display
box.new(left=bar_index , top=high , right=bar_index, bottom=low , bgcolor=color.new(color.green, 80), border_color=color.green)
ob_count := ob_count + 1
if bearish_ob() and ob_count < max_ob_display
box.new(left=bar_index , top=high , right=bar_index, bottom=low , bgcolor=color.new(color.red, 80), border_color=color.red)
ob_count := ob_count + 1
// Reset OB count when structure changes
if is_bullish != is_bullish
ob_count := 0
// Plot current trend
var label trend_label = na
label.delete(trend_label )
trend_label := label.new(
bar_index, high, text=is_bullish ? "Bullish" : "Bearish",
color=is_bullish ? color.green : color.red, textcolor=color.white, style=label.style_label_down
)
```
### Explanation
1. **Structure Mapping**:
- Uses `ta.pivothigh` and `ta.pivotlow` to detect swing highs/lows based on a user-defined lookback period.
- Tracks market trend (bullish/bearish) by comparing price action against previous swing points.
- Identifies Break of Structure (BOS) when price breaks a significant high (in a bearish trend) or low (in a bullish trend), plotted as a labeled marker.
2. **Order Blocks**:
- Detects bullish order blocks (demand zones) where a bearish candle is followed by a strong bullish candle, indicating institutional buying.
- Detects bearish order blocks (supply zones) where a bullish candle is followed by a strong bearish candle, indicating institutional selling.
- Sensitivity is adjustable to fine-tune OB detection.
- Boxes are drawn around order blocks, limited by a user-defined maximum to avoid clutter.
3. **Features**:
- Visualizes swing points with triangles (red for highs, green for lows).
- Displays BOS events with labels for trend confirmation.
- Shows trend direction (bullish/bearish) with a dynamic label.
- Caps the number of displayed order blocks for clarity.
- Resets OB count on structure change to prioritize recent zones.
### Customization
- **Swing Lookback**: Adjusts how far back the script looks for swing points (higher values for longer-term structure).
- **OB Sensitivity**: Controls the strength required for OB detection (lower values for more OBs, higher for stricter).
- **Max OB Display**: Limits how many OBs are shown to keep the chart clean.
- **Show BOS**: Toggle BOS labels on/off.
### Notes
- The script runs on any timeframe, but higher timeframes (e.g., 4H, Daily) are better for significant OBs and structure.
- Order blocks are historical and may repaint slightly until confirmed by structure changes.
- For advanced use, you could add alerts for BOS or OB formation by using `alertcondition()`.
This code provides a robust foundation for structure-based trading with order blocks. You can extend it further by adding fair value gaps (FVG) or liquidity sweeps if needed. Let me know if you want to dive deeper into any part!
Price Position Percentile (PPP)
Price Position Percentile (PPP)
A statistical analysis tool that dynamically measures where current price stands within its historical distribution. Unlike traditional oscillators, PPP adapts to market conditions by calculating percentile ranks, creating a self-adjusting framework for identifying extremes.
How It Works
This indicator analyzes the last 200 price bars (customizable) and calculates the percentile rank of the current price within this distribution. For example, if the current price is at the 80th percentile, it means the price is higher than 80% of all prices in the lookback period.
The indicator creates five dynamic zones based on percentile thresholds:
Extremely Low Zone (<5%) : Prices in the lowest 5% of the distribution, indicating potential oversold conditions.
Low Zone (5-25%) : Accumulation zone where prices are historically low but not extreme.
Neutral Zone (25-75%) : Fair value zone representing the middle 50% of the price distribution.
High Zone (75-95%) : Distribution zone where prices are historically high but not extreme.
Extremely High Zone (>95%) : Prices in the highest 5% of the distribution, suggesting potential bubble conditions.
Mathematical Foundation
Unlike fixed-threshold indicators, PPP uses a non-parametric approach:
// Core percentile calculation
percentile = (count_of_prices_below_current / total_prices) * 100
// Threshold calculation using built-in function
p_extremely_low = ta.percentile_linear_interpolation(source, lookback, 5)
p_low = ta.percentile_linear_interpolation(source, lookback, 25)
p_neutral_high = ta.percentile_linear_interpolation(source, lookback, 75)
p_extremely_high = ta.percentile_linear_interpolation(source, lookback, 95)
Key Features
Dynamic Adaptation : All zones adjust automatically as price distribution changes
Statistical Robustness : Works on any timeframe and any market, including highly volatile cryptocurrencies
Visual Clarity : Color-coded zones provide immediate visual context
Non-parametric Analysis : Makes no assumptions about price distribution shape
Historical Context : Shows how zones evolved over time, revealing market regime changes
Practical Applications
PPP provides objective statistical context for price action, helping traders make more informed decisions based on historical price distribution rather than arbitrary levels.
Value Investment : Identify statistically significant low prices for potential entry points
Risk Management : Recognize when prices reach historical extremes for profit taking
Cycle Analysis : Observe how percentile zones expand and contract during different market phases
Market Regime Detection : Identify transitions between accumulation, markup, distribution, and markdown phases
Usage Guidelines
This indicator is particularly effective when:
- Used across multiple timeframes for confirmation
- Combined with volume analysis for validation of extremes
- Applied in conjunction with trend identification tools
- Monitored for divergences between price action and percentile ranking
analyzPian### Description of the Script: **AnalyzPian Indicator**
The **AnalyzPian** indicator is a TradingView Pine Script designed to identify and visualize bullish and bearish price swings, breakouts, and retests on a chart. It uses pivot points (highs and lows) to detect significant price movements and overlays boxes and labels to highlight these areas for traders. Below is a detailed breakdown of its functionality and features:
---
### **Key Features**
1. **Dual Swing Detection**:
- The script identifies both **bullish** and **bearish** swings using pivot points (`ta.pivothigh` and `ta.pivotlow`).
- These swings are used to define potential breakout zones.
2. **Breakout and Retest Zones**:
- Once a swing is detected, the script creates a box around the price level to represent the **potential breakout zone**.
- If the price breaks out of the box, it transitions into a **retest phase**, where the script looks for retests of the breakout level.
3. **Customizable Display Options**:
- Users can choose to display **Bullish**, **Bearish**, or both types of swings.
- Additional options allow filtering for **last retest only** or showing **all retests** with labels.
4. **Dynamic Box Adjustments**:
- Boxes dynamically adjust their width based on user-defined parameters (`maxBars`, `minBars`).
- If the right side of the box exceeds the maximum allowed bars without a signal, the box is either deleted or reset to the last retest position.
5. **Labeling System**:
- Labels are added to indicate **breakouts** (▲ or ▼) and **retests** (▽ or △).
- Labels are styled differently for bullish and bearish signals and can be customized in terms of color and size.
6. **State Management**:
- The script uses a state machine (`state`) to track the lifecycle of each swing:
- **State 0**: Initial state, waiting for a swing detection.
- **State 1**: Swing detected, breakout zone created.
- **State 2**: Breakout confirmed, retest zone active.
7. **ATR-Based Width**:
- The width of the boxes is calculated using the **Average True Range (ATR)**, ensuring that the zones adapt to market volatility.
8. **User Inputs**:
- Extensive customization options are provided through input parameters:
- **Display Options**: Choose between bullish, bearish, or both.
- **Box Width**: Adjust the multiplier for ATR-based width.
- **Maximum Bars**: Set the maximum number of bars without a signal before resetting.
- **Minimum Bars**: Define the minimum distance between labels.
- **Set Back Option**: Reset the box to the last retest position if the right side is too far.
9. **Visual Enhancements**:
- Boxes and labels are styled with customizable colors and transparency for better visualization.
- Labels use intuitive symbols (▲, ▼, ▽, △) to clearly indicate the type of signal.
---
### **How It Works**
1. **Swing Detection**:
- The script uses `ta.pivothigh` and `ta.pivotlow` to identify significant highs and lows based on user-defined left and right lookback periods.
- These pivots serve as the foundation for creating breakout and retest zones.
2. **Box Creation**:
- When a swing is detected, a box is drawn around the price level to represent the breakout zone.
- The box's height is determined by the ATR, and its width expands dynamically as new bars are added.
3. **Breakout Confirmation**:
- If the price moves outside the box (breakout), the script transitions to the next state and creates a new box for the retest phase.
- Labels are added to mark the breakout point.
4. **Retest Detection**:
- During the retest phase, the script monitors whether the price revisits the breakout level.
- If a retest occurs, a label is added to indicate the event.
5. **Reset Mechanism**:
- If no signal is detected within the maximum allowed bars, the box is either deleted or reset to the last retest position.
---
### **Use Cases**
1. **Trend Identification**:
- Traders can use the indicator to identify bullish and bearish trends by observing the direction of breakouts and retests.
2. **Entry and Exit Points**:
- Breakout zones can serve as potential entry points, while retests provide confirmation for trades.
3. **Risk Management**:
- The boxes help visualize key support and resistance levels, aiding in stop-loss placement and risk assessment.
4. **Market Analysis**:
- The dynamic nature of the indicator makes it suitable for analyzing both trending and ranging markets.
---
### **Code Structure**
1. **Settings Section**:
- Contains user-defined inputs for customizing the behavior and appearance of the indicator.
2. **UDT (User-Defined Type)**:
- Defines a `bin` type to store information about each swing, including its state, price level, and associated labels.
3. **Methods**:
- Includes helper functions for managing labels, checking conditions, and updating states.
4. **Execution Logic**:
- Implements the core logic for detecting swings, managing states, and drawing boxes and labels.
---
### **Conclusion**
The **AnalyzPian** indicator is a powerful tool for traders who want to visually analyze price swings, breakouts, and retests. Its flexibility, combined with its intuitive design, makes it suitable for a wide range of trading strategies. By leveraging pivot points and ATR-based zones, the script provides actionable insights into market dynamics while maintaining a clean and customizable interface.
SL - 4 EMAs, 2 SMAs & Crossover SignalsThis TradingView Pine Script code is built for day traders, especially those trading crypto on a 1‑hour chart. In simple words, the script does the following:
Calculates Moving Averages:
It computes four exponential moving averages (EMAs) and two simple moving averages (SMAs) based on the closing price (or any price you select). Each moving average uses a different time period that you can adjust.
Plots Them on Your Chart:
The EMAs and SMAs are drawn on your chart in different colors and line thicknesses. This helps you quickly see the short-term and long-term trends.
Generates Buy and Sell Signals:
Buy Signal: When the fastest EMA (for example, a 10-period EMA) crosses above a slightly slower EMA (like a 21-period EMA) and the four EMAs are in a bullish order (meaning the fastest is above the next ones), the script will show a "BUY" label on the chart.
Sell Signal: When the fastest EMA crosses below the second fastest EMA and the four EMAs are lined up in a bearish order (the fastest is below the others), it displays a "SELL" label.
In essence, the code is designed to help you spot potential entry and exit points based on the relationships between multiple moving averages, which work as trend indicators. This makes it easier to decide when to trade on your 1‑hour crypto chart.
Exponential Top and Bottom FinderAll-in-one indicators that works really great and highly customizable.
🌌 Astro Energy IndicatorAstro energy indicator to help you see how the astro energy is effecting the market and the price.
Futures Buy/Sell IndicatorDeveloped by Ai this chart provides buy sell times. Sell you longs on the sell or buy shorts on sell marks.
Futures Buy/Sell IndicatorAi generated algorithm for buy and sell times for futures. Works on multiple charts.
StonkGame Major Market Open/ClosePlots vertical lines for Tokyo, London, and New York session opens and closes — auto-adjusted to your chart's timezone.
Open lines = lighter, dashed style.
Close lines = solid, full-color style.
Helps identify key liquidity windows, session-driven volatility, and clean market structure — without chart clutter.
Fully customizable colors and line styles for a professional, minimal look.
Quarterly Cycle Theory with DST time AdjustedThe Quarterly Theory removes ambiguity, as it gives specific time-based reference points to look for when entering trades. Before being able to apply this theory to trading, one must first understand that time is fractal:
Yearly Quarters = 4 quarters of three months each.
Monthly Quarters = 4 quarters of one week each.
Weekly Quarters = 4 quarters of one day each (Monday - Thursday). Friday has its own specific function.
Daily Quarters = 4 quarters of 6 hours each = 4 trading sessions of a trading day.
Sessions Quarters = 4 quarters of 90 minutes each.
90 Minute Quarters = 4 quarters of 22.5 minutes each.
Yearly Cycle: Analogously to financial quarters, the year is divided in four sections of three months each:
Q1 - January, February, March.
Q2 - April, May, June (True Open, April Open).
Q3 - July, August, September.
Q4 - October, November, December.
S&P 500 E-mini Futures (daily candles) — Monthly Cycle.
Monthly Cycle: Considering that we have four weeks in a month, we start the cycle on the first month’s Monday (regardless of the calendar Day):
Q1 - Week 1: first Monday of the month.
Q2 - Week 2: second Monday of the month (True Open, Daily Candle Open Price).
Q3 - Week 3: third Monday of the month.
Q4 - Week 4: fourth Monday of the month.
S&P 500 E-mini Futures (4 hour candles) — Weekly Cycle.
Weekly Cycle: Daye determined that although the trading week is composed by 5 trading days, we should ignore Friday, and the small portion of Sunday’s price action:
Q1 - Monday.
Q2 - Tuesday (True Open, Daily Candle Open Price).
Q3 - Wednesday.
Q4 - Thursday.
S&P 500 E-mini Futures (1 hour candles) — Daily Cycle.
Daily Cycle: The Day can be broken down into 6 hour quarters. These times roughly define the sessions of the trading day, reinforcing the theory’s validity:
Q1 - 18:00 - 00:00 Asia.
Q2 - 00:00 - 06:00 London (True Open).
Q3 - 06:00 - 12:00 NY AM.
Q4 - 12:00 - 18:00 NY PM.
S&P 500 E-mini Futures (15 minute candles) — 6 Hour Cycle.
6 Hour Quarters or 90 Minute Cycle / Sessions divided into four sections of 90 minutes each (EST/EDT):
Asian Session
Q1 - 18:00 - 19:30
Q2 - 19:30 - 21:00 (True Open)
Q3 - 21:00 - 22:30
Q4 - 22:30 - 00:00
London Session
Q1 - 00:00 - 01:30
Q2 - 01:30 - 03:00 (True Open)
Q3 - 03:00 - 04:30
Q4 - 04:30 - 06:00
NY AM Session
Q1 - 06:00 - 07:30
Q2 - 07:30 - 09:00 (True Open)
Q3 - 09:00 - 10:30
Q4 - 10:30 - 12:00
NY PM Session
Q1 - 12:00 - 13:30
Q2 - 13:30 - 15:00 (True Open)
Q3 - 15:00 - 16:30
Q4 - 16:30 - 18:00
S&P 500 E-mini Futures (5 minute candles) — 90 Minute Cycle.
Micro Cycles: Dividing the 90 Minute Cycle yields 22.5 Minute Quarters, also known as Micro Sessions or Micro Quarters:
Asian Session
Q1/1 18:00:00 - 18:22:30
Q2 18:22:30 - 18:45:00
Q3 18:45:00 - 19:07:30
Q4 19:07:30 - 19:30:00
Q2/1 19:30:00 - 19:52:30 (True Session Open)
Q2/2 19:52:30 - 20:15:00
Q2/3 20:15:00 - 20:37:30
Q2/4 20:37:30 - 21:00:00
Q3/1 21:00:00 - 21:23:30
etc. 21:23:30 - 21:45:00
London Session
00:00:00 - 00:22:30 (True Daily Open)
00:22:30 - 00:45:00
00:45:00 - 01:07:30
01:07:30 - 01:30:00
01:30:00 - 01:52:30 (True Session Open)
01:52:30 - 02:15:00
02:15:00 - 02:37:30
02:37:30 - 03:00:00
03:00:00 - 03:22:30
03:22:30 - 03:45:00
03:45:00 - 04:07:30
04:07:30 - 04:30:00
04:30:00 - 04:52:30
04:52:30 - 05:15:00
05:15:00 - 05:37:30
05:37:30 - 06:00:00
New York AM Session
06:00:00 - 06:22:30
06:22:30 - 06:45:00
06:45:00 - 07:07:30
07:07:30 - 07:30:00
07:30:00 - 07:52:30 (True Session Open)
07:52:30 - 08:15:00
08:15:00 - 08:37:30
08:37:30 - 09:00:00
09:00:00 - 09:22:30
09:22:30 - 09:45:00
09:45:00 - 10:07:30
10:07:30 - 10:30:00
10:30:00 - 10:52:30
10:52:30 - 11:15:00
11:15:00 - 11:37:30
11:37:30 - 12:00:00
New York PM Session
12:00:00 - 12:22:30
12:22:30 - 12:45:00
12:45:00 - 13:07:30
13:07:30 - 13:30:00
13:30:00 - 13:52:30 (True Session Open)
13:52:30 - 14:15:00
14:15:00 - 14:37:30
14:37:30 - 15:00:00
15:00:00 - 15:22:30
15:22:30 - 15:45:00
15:45:00 - 15:37:30
15:37:30 - 16:00:00
16:00:00 - 16:22:30
16:22:30 - 16:45:00
16:45:00 - 17:07:30
17:07:30 - 18:00:00
S&P 500 E-mini Futures (30 second candles) — 22.5 Minute Cycle.
Filtered Swing Pivot S&R )Pivot support and resis🔍 Filtered Swing Pivot S&R - Overview
This indicator identifies and plots tested support and resistance levels using a filtered swing pivot strategy. It focuses on high-probability zones where price has reacted before, helping traders better anticipate future price behavior.
It filters out noise using:
Customizable pivot detection logic
Minimum price level difference
ATR (Average True Range) volatility filter
Confirmation by price retesting the level before plotting
⚙️ Core Logic Explained
✅ 1. Pivot Detection
The script uses Pine Script's built-in ta.pivothigh() and ta.pivotlow() functions to find local highs (potential resistance) and lows (potential support).
Pivot Lookback/Lookahead (pivotLen):
A pivot is confirmed if it's the highest (or lowest) point within a lookback and lookahead range of pivotLen bars.
Higher values = fewer, stronger pivots.
Lower values = more, but potentially noisier levels.
✅ 2. Pending Pivot Confirmation
Once a pivot is detected:
It is not drawn immediately.
The script waits until price re-tests that pivot level. This retest confirms the market "respects" the level.
For example: if price hits a previous high again, it's treated as a valid resistance.
✅ 3. Dual-Level Filtering System
To reduce chart clutter and ignore insignificant levels, two filters are applied:
Fixed Threshold (Minimum Level Difference):
Ensures a new pivot level is not too close to the last one.
ATR-Based Filter:
Dynamically adjusts sensitivity based on current volatility using the formula:
java
Copy
Edit
Minimum distance = ATR × ATR Multiplier
Only pivots that pass both filters are plotted.
✅ 4. Line Drawing
Once a pivot is:
Detected
Retested
Filtered
…a horizontal dashed line is drawn at that level to highlight support or resistance.
Resistance: Red (default)
Support: Green (default)
These lines are:
Dashed for clarity
Extended for X bars into the future (user-defined) for forward visibility
🎛️ Customizable Inputs
Parameter Description
Pivot Lookback/Lookahead Bars to the left and right of a pivot to confirm it
Minimum Level Difference Minimum price difference required between plotted levels
ATR Length Number of bars used in ATR volatility calculation
ATR Multiplier for Pivot Multiplies ATR to determine volatility-based pivot separation
Line Extension (bars) How many future bars the level line will extend for better visibility
Resistance Line Color Color for resistance lines (default: red)
Support Line Color Color for support lines (default: green)
📈 How to Use It
This indicator is ideal for:
Identifying dynamic support & resistance zones that adapt to volatility.
Avoiding false levels by waiting for pivot confirmation.
Visual guidance for entries, exits, stop placements, or take-profits.
🔑 Trade Ideas:
Use support/resistance retests for entry confirmations.
Combine with candlestick patterns or volume spikes near drawn levels.
Use in confluence with trendlines or moving averages.
🚫 What It Does Not Do (By Design)
Does not repaint or remove past levels once confirmed.
Does not include labels or alerts (but can be added).
Does not auto-scale based on timeframes (manual tuning recommended).
🛠️ Possible Enhancements (Optional)
If desired, you could extend the functionality to include:
Labels with “S” / “R”
Alert when a new level is tested or broken
Toggle for support/resistance visibility
Adjustable line width or style
tance indicator
Bysq-Distance Reversal Entry - BTCUSDT (v6)Strategy Concept
This is a hybrid momentum-reversal strategy for BTC/USDT that combines:
A distance-based momentum approach (original Bysq-style)
A MACD crossover reversal system
The strategy uses technical indicators and statistical distance measurements to identify potential trend reversals and momentum shifts.
30-Minute Block VisualizerThis indicator is a simple vertical line being drawn, on the 1 minute chart, every 30 minutes
this serves to visually and easily see every time a new 30 minute candle stick forms, but on the 1 minute chart. as an easy reminder.
Candle Close CountdownPlots a candle close countdown timer ('mm:ss') directly on the chart. It sits in a convenient position slightly offset to the right of the current candle and adjusts up and down as price moves. Really only good for shorter timeframes (i.e. < 1 hour)
Psychological Levels 25 Gold [UkutaLabs]This indicator is specifically designed to display key psychological levels for Gold (XAUUSD) trading, focusing on increments of $25. It automatically plots major and minor levels, providing traders with clear visual cues for potential support and resistance areas.
Key Features:
25 Dollar Increments: Draws lines at every $25 increment, highlighting significant price levels for Gold.
Major & Minor Levels: Distinguishes between major ($25 increments) and minor (mid-point) levels with customizable colors and styles.
Nearest Century Line: Displays the nearest 25 dollar increment to the current price with a distinct color.
Customizable Appearance: Allows users to adjust line colors, styles (dashed, dotted, solid), and widths to suit their preferences.
Number of Lines: Allows users to set the number of psychological lines to be displayed above and below the current price.
Clear Visuals: Provides clean and easily interpretable lines on the chart.
How to Use:
Add the indicator to your Gold (XAUUSD) chart.
Observe the plotted lines for potential support and resistance areas.
Customize the line colors and styles in the indicator's settings to match your chart theme.
Use these levels in conjunction with other technical analysis tools for informed trading decisions.
Disclaimer:
This indicator is for informational purposes only and should not be considered financial advice. Trading involves risks, and past performance is not indicative of future results. 1 2 Always conduct thorough research and consult with a qualified financial 3 advisor before making any trading decisions.
Optimized Liquidity Sweep RSI Divergence StrategyIncreasing your win percentage isn’t solely about tweaking code—it involves:
Systematic testing: Validate each change over sufficient historical data.
Market context understanding: Know that different market conditions might favor one type of filter over another.
Holistic review: Evaluate not just the win rate but also your overall expectancy. A lower win rate with a strong risk/reward might be more profitable than a high win rate with low rewards.
Continue experimenting while keeping thorough records of your backtests and live results. This iterative process will help you tailor your approach to achieve that target 70% win rate. If you have further questions or need additional modifications, feel free to ask!
Seasonalityshows the averedge of the input years with projectin a line in the future that shows what is the sucles
China 10-Year Yield Inverted with Time Lead (Months)The "China 10-Year Yield Inverted with Time Lead (Months)" indicator is a Pine Script tool for TradingView that displays the inverted China 10-Year Government Bond Yield (sourced from TVC:CN10Y) with a user-defined time lead or lag in months. The yield is inverted by multiplying it by -1, making a rising yield appear as a downward movement and vice versa, which helps visualize inverse correlations with other assets. Users can input the number of months to shift the yield forward (lead) or backward (lag), with the shift calculated based on the chart’s timeframe (e.g., 20 bars per month on daily charts). The indicator plots the shifted, inverted yield as a blue line in a separate pane, with a zero line for reference, enabling traders to analyze leading or lagging relationships with other financial data, such as the PBOC Balance Sheet or Bitcoin price.