Pivot Extension Indicator (Jaxon0007)Pivot Extension Indicator (Jaxon0007)
This indicator automatically detects pivot highs and lows, then extends those levels forward as potential support and resistance zones. It's designed for traders who rely on price action, breakout setups, and clear structure in the market.
.
🔧 Key Features:
✅ Auto-detected pivot levels (highs & lows)
✅ Forward-projected SR lines with customizable length
✅ Real-time buy/sell signal alerts on pivot breakouts
✅ Optional RSI and MACD filters to confirm trade quality
✅ Clean chart visuals with full styling control (lines, width, style)
🧠 Best For:
Traders who follow breakouts, trends, or swing strategies
Those looking for a non-repainting indicator
Anyone who wants a clean way to visualize structure and key price zones
📌 Notes:
This is an indicator-only tool — it doesn't execute trades or track performance.
Built in Pine Script v5 and fully copyright-free.
💼 Created by @Jaxon0007
For VIP signals, private tools, or account management — DM me on Telegram.
Titik Pivot
Svl - Trading SystemPrice can tell lies but volume cannot, so keeping this in mind I have created this indicator in which you see sell order block and buy order block on the basis of price action + volume through which we execute our trade
First of all, let us know its core concepts and logic, which will help you in taking the right decisions in it.
core concept of the " Svl - Trading System " TradingView indicator is based on professional price action, volume, and swing structure. This indicator smartly gives real-time insights of important price turning points, reversal zones, and trend continuation. Its deep explanation is given below.
Edit - default swing length -5 , change according your nature , tested With 7 For 5 minute timeframe
Core Concept:
1. Swing Structure Detection
The indicator automatically detects swing highs (HH/LH) and swing lows (HL/LL) on the chart.
HH: Higher High
HL: Higher Low
LH: Lower High
LL: Lower Low
These swings are the backbone of price action – signaling a change in trend, a bounce, reversal or trend continuation.
2. Order Block (OB) Mapping
Buy Order Block (Buy OB): When the indicator detects the HL/LL swing, we declare Buy OB, the lowest point of the swing.
Sell Order Block (Sell OB): On HH/LH swing, the highest point of our swing is called Sell OB.
Order Blocks are those important zones of price where historically price has reacted strongly – where major clusters of buyers/sellers are located in the market.
3. Volume Analysis (Optional Dashboard/Barcolor)
The candle color depends on the volume ranking on the chart (most high/low, normal, pressure blue shade).
Highest/lowest volume candles are a special highlight, which helps to spot liquidity spikes, exhaustion, or big orders.
4. Live Dashboard
There is an automated dashboard in the top-right of the chart, which shows this in real-time:
Last swing type (HH/HL/LH/LL)
Reversal price (last swing level)
Swing direction (Bull/Bear/Neutral)
Volume, Buy OB, Sell OB, etc.
This helps the trader understand the market situation at a glance.
5. Smart Plotting/Labels
Buy/Sell are plotted as distinct lines on the OB chart.
The Labels option gives clear visual swing points.
All calculations are fast and automated – the user does not need to mark manually.
This indicator is an advanced, fully-automated price action tool that combines
trend, reversal, volume, liquidity and zone detection in one smart system,
makes entry/exit decisions objective and error-free,
and provides complete trading confidence with a live monitor/dashboard.
All of its functions/properties such as: swing detect, OB plot, volume color, dashboard follow best practice for professional chart analysis!
Trend dealing rangeHi all!
This indicator will help you find the current dealing range according to the trend. If the trend is bullish the indicator will look for a range between the latest low pivot to the latest high pivot. Vice versa in a bearish trend. The code uses my new library 'FibonacciRetracement' () that has the same code as my other indicator 'Fibonacci retracement' ().
It plots 5 lines from the low to the high and labels them 0 %, 25 %, 50 %, 75 % and 100 %. A trendline can be drawn between the two pivots (dashed and gray by default). Firstly you can define the pivot lengths used, this setting is in the 'Market structure' section but it also applies to the dealing range (it defaults to 5 (left) and 2 (right)). You can show prices if you want to (shown in parantheses, off by default). You can change the default labels position (from left) and the font size (12 by default and higher up it's 7 for market structure text). Lastly you can change the alert frequency (defaults to once per bar close) and the price that has to enter a zone for alert to be sent. 'Close' means that the closing price (or current price if you change the alert frequency to all or once per bar) has to be inside the zone and 'Wick' means that the entire candle needs to be inside the zone.
It's very useful for traders to find the current dealing range and this indicator will help you to do so.
So, this indicator will give you the dealing range and basic market structure through break of structures and change of characters.
If you have any input or suggestions on future features or bugs, don't hesitate to let me know!
Best of trading luck!
Script_Algo - High Low Range MA Crossover Strategy🎯 Core Concept
This strategy uses modified moving averages crossover, built on maximum and minimum prices, to determine entry and exit points in the market. A key advantage of this strategy is that it avoids most false signals in trendless conditions, which is characteristic of traditional moving average crossover strategies. This makes it possible to improve the risk/reward ratio and, consequently, the strategy's profitability.
📊 How the Strategy Works
Main Mechanism
The strategy builds 4 moving averages:
Two senior MAs (on high and low) with a longer period
Two junior MAs (on high and low) with a shorter period
Buy signal 🟢: when the junior MA of lows crosses above the senior MA of highs
Sell signal 🔴: when the junior MA of highs crosses below the senior MA of lows
As seen on the chart, it was potentially possible to make 9X on the WIFUSDT cryptocurrency pair in just a year and a half. However, be careful—such results may not necessarily be repeated in the future.
Special Feature
Position closing priority ❗: if an opposite signal arrives while a position is open, the strategy first closes the current position and only then opens a new one
⚙️ Indicator Settings
Available Moving Average Types
EMA - Exponential MA
SMA - Simple MA
SSMA - Smoothed MA
WMA - Weighted MA
VWMA - Volume Weighted MA
RMA - Adaptive MA
DEMA - Double EMA
TEMA - Triple EMA
Adjustable Parameters
Senior MA Length - period for long-term moving averages
Junior MA Length - period for short-term moving averages
✅ Advantages of the Strategy
🛡️ False Signal Protection - using two pairs of modified MAs reduces the number of false entries
🔄 Configuration Flexibility - ability to choose MA type and calculation periods
⚡ Automatic Switching - the strategy automatically closes the current position when receiving an opposite signal
📈 Visual Clarity - all MAs are displayed on the chart in different colors
⚠️ Disadvantages and Risks
📉 Signal Lag - like all MA-based strategies, it may provide delayed signals during sharp movements
🔁 Frequent Switching - in sideways markets, it may lead to multiple consecutive position openings/closings
📊 Requires Optimization - optimal parameters need to be selected for different instruments and timeframes
💡 Usage Recommendations
Backtest - test the strategy's performance on historical data
Optimize Parameters - select MA periods suitable for the specific trading instrument
Use Filters - add additional filters to confirm signals
Manage Risks - always use stop-loss and take-profit orders.
You can safely connect to the exchange via webhook and enjoy trading.
Good luck and profits to everyone!!
OMN Heikin Ashi Candle Direction Reversal AlertThis is a indicator to let you know once Heikin Ashi candle has changed direction compared to the candle before it. Set an alert on the indicator to get an audible alert.
Instant Breakout Strategy with RSI & VWAPInstant Breakout Strategy with RSI & VWAP
This TradingView strategy (Pine Script v6) trades breakouts using pivot points, with optional filters for volume, momentum, RSI, and VWAP. It’s optimized for the 1-second timeframe.
Overview
The strategy identifies breakouts when price crosses above resistance (pivot highs) or below support (pivot lows). It can use basic pivot breakouts or add filters for stronger signals. Take-profit and stop-loss levels are set using ATR, and signals are shown on the chart.
Inputs
Left/Right Pivot Bars: Bars to detect pivots (default: 3). Lower values increase sensitivity.
Volume Surge Multiplier: Volume threshold vs. 20-period average (default: 1.5).
Momentum Threshold: Minimum % price change from bar open (default: 1%).
Take-Profit ATR Multiplier: ATR multiplier for take-profit (default: 9.0).
Stop-Loss ATR Multiplier: ATR multiplier for stop-loss (default: 1.0).
Use Filters: Enable/disable volume, momentum, RSI, and VWAP filters (default: off).
How It Works
1. Pivot Detection
Finds pivot highs (resistance) and lows (support) using ta.pivothigh and ta.pivotlow.
Tracks the latest pivot levels.
2. Volume Surge
Compares current volume to a 20-period volume average.
A surge occurs if volume exceeds the average times the multiplier.
3. Momentum
Measures price change from the bar’s open.
Bullish: Price rises >1% from open.
Bearish: Price falls >1% from open.
4. RSI and VWAP
RSI: 3-period RSI. Above 50 is bullish; below 50 is bearish.
VWAP: Price above VWAP is bullish; below is bearish.
5. ATR
14-period ATR sets take-profit (close ± atr * 9.0) and stop-loss (close ± atr * 1.0).
Trading Rules
Breakout Conditions
Bullish Breakout:
Price crosses above the latest pivot high.
With filters: Volume surge, bullish momentum, RSI > 50, price > VWAP.
Without filters: Only the crossover is needed.
Bearish Breakout:
Price crosses below the latest pivot low.
With filters: Volume surge, bearish momentum, RSI < 50, price < VWAP.
Without filters: Only the crossunder is needed.
Entries and Exits
Long: Enter on bullish breakout. Set take-profit and stop-loss. Close any short position.
Short: Enter on bearish breakout. Set take-profit and stop-loss. Close any long position.
Visuals
Signals: Green triangles (bullish) below bars, red triangles (bearish) above bars.
Pivot Levels: Green line (resistance), red line (support).
Indicators: RSI (blue, separate pane), VWAP (purple, on chart).
How to Use
Apply to a 1-second chart in TradingView for best results.
Adjust inputs (e.g., pivot bars, multipliers). Enable filters for stricter signals.
Watch for buy/sell triangles and monitor RSI/VWAP.
Use ATR-based take-profit/stop-loss for risk management.
Notes
Best on 1-second timeframe due to fast RSI and responsiveness.
Disable filters for more signals (less confirmation).
Backtest before live trading to check performance.
This strategy uses pivots, volume, momentum, RSI, and VWAP for clear breakout trades on the 1-second timeframe.
Pivot Distance Strategy# Multi-Timeframe Pivot Distance Strategy
## Core Innovation & Originality
This strategy revolutionizes moving average crossover trading by applying MA logic to **pivot distance relationships** instead of raw price data. Unlike traditional MA crossovers that react to price changes, this system reacts to **structural momentum changes** in how current price relates to recent significant pivot levels, creating earlier signals with fewer false positives.
## Methodology & Mathematical Foundation
### Pivot Distance Oscillator
The strategy calculates:
- **High Pivot Percentage**: (Current Close / Last Pivot High) × 100
- **Low Pivot Percentage**: (Last Pivot Low / Current Close) × 100
- **Pivot Distance**: High Pivot Percentage - Low Pivot Percentage
This creates a standardized oscillator measuring market structure compression/expansion regardless of asset price or volatility.
### Multi-Timeframe Filter
Higher timeframe analysis provides directional bias:
- **HTF Long** → Allow long entries, force short exits
- **HTF Short** → Allow short entries, force long exits
- **HTF Squeeze** → Block all entries, force all exits
## Signal Generation Methods
### Method 1: Dual MA Crossover (Primary/Default)
**Fast MA (14 EMA)** and **Slow MA (50 SMA)** applied to pivot distance values:
- **Long Signal**: Fast MA crosses above Slow MA (accelerating bullish pivot momentum)
- **Short Signal**: Fast MA crosses below Slow MA (accelerating bearish pivot momentum)
**Key Advantage**:
- Traditional: Fast MA(price) crosses Slow MA(price) - reacts to price changes
- This Strategy: Fast MA(pivot distance) crosses Slow MA(pivot distance) - reacts to structural changes
- Result: Earlier signals, better trend identification, fewer ranging market whipsaws
### Method 2: MA Cross Zero
- **Long**: Pivot Distance MA crosses above zero
- **Short**: Pivot Distance MA crosses below zero
### Method 3: Pivot Distance Breakout (Squeeze-Based)
Uses dynamic threshold envelopes to detect compression/expansion cycles:
- **Long**: Distance breaks above dynamic breakout threshold after squeeze
- **Short**: Distance breaks below negative breakout threshold after squeeze
**Note**: Only the Breakout method uses threshold envelopes; MA Cross modes operate without them for cleaner signals.
## Risk Management Integration
- **ATR-Based Stops**: Entry ± (ATR × Multiplier) for stops/targets
- **Trailing Stops**: Dynamic adjustment based on profit thresholds
- **Cooldown System**: Prevents overtrading after stop-loss exits
## How to Use
### Setup (Default: MA Cross MA)
1. **Strategy Logic**: "MA Cross MA" for structural momentum signals
2. **MA Settings**: 14 EMA (fast) / 50 SMA (slow) - both adjustable
3. **Multi-Timeframe**: Enable HTF for trend alignment
4. **Risk Management**: ATR stop loss, ATR take profit
### Signal Interpretation
- **Blue/Purple lines**: Fast/Slow MAs of pivot distance
- **Green/Red histogram**: Positive/negative pivot distance
- **Triangle markers**: MA crossover entry signals
- **HTF display**: Shows higher timeframe bias (top-left)
### Trade Management
- **Entry**: Clean MA crossover with HTF alignment
- **Exit**: Opposite crossover, HTF change, or risk management triggers
## Unique Advantages
1. **Structural vs Price Momentum**: Captures market structure changes rather than just price movement, naturally filtering noise
2. **Multi-Modal Flexibility**: Three signal methods for different market conditions or strategies
3. **Timeframe Alignment**: HTF filtering improves win rates by preventing counter-trend trades
Quarterly Theory —Q1,Q2,Q3,Q4The Quarterly Theory Indicator is a trading tool designed to visualize the natural time-based cycles of the market, based on the principles of Quarterly Theory, popularized by the Inner Circle Trader (ICT). The indicator divides market sessions into four equal “quarters” to help traders identify potential accumulation, manipulation, and distribution phases (AMD model) and improve the timing of entries and exits.
Key Features:
Quarter Divisions (Q1–Q4):
Each market session (e.g., NY AM, London, Asia) is divided into four quarters.
Vertical lines mark the beginning of each quarter, making it easy to track session structure.
Optional labels show Q1, Q2, Q3, and Q4 directly on the chart.
True Open (Q2 Open):
The True Open is the opening price of Q2, considered a key reference point in Quarterly Theory.
A horizontal red line is drawn at the True Open price with a label showing the exact value.
This line helps traders filter bullish and bearish setups:
Buy below the True Open if the market is bullish.
Sell above the True Open if the market is bearish.
Session Awareness:
The indicator can automatically detect market sessions and reset lines and labels for each new session.
Ensures that only the current session’s True Open and quarter lines are displayed, reducing chart clutter.
Timeframe Flexibility:
Works on any chart timeframe (1-minute to daily).
Maintains accurate alignment of quarters and True Open regardless of the timeframe used.
Purpose of Quarterly Theory:
Quarterly Theory is based on the idea that market behavior is fractal and time-driven. By dividing sessions into four quarters, traders can anticipate potential market phases:
Q1: Initial price discovery and setup for the session.
Q2: Accumulation or manipulation phase, where the True Open is established.
Q3: Manipulation or Judas Swing phase designed to trap traders.
Q4: Distribution or trend continuation/reversal.
By visualizing these quarters and the True Open, traders can reduce ambiguity, identify high-probability setups, and improve their timing in line with the ICT AMD (Accumulation, Manipulation, Distribution) framework.
TrueOpens [AY]¹ See how price reacts to key multi-day and monthly open levels—perfect for S/R-focused traders.
Experimental indicator for tracking multi-day openings and ICT True Month Open levels, ideal for S/R traders.
TrueOpens ¹ – Multi-Day & True Month Open Levels
This indicator is experimental and designed to help traders visually track opening price levels across multiple days, along with the ICT True Month Open (TMO).
Key Features:
Supports up to 12 configurable multi-day opening sessions, each with independent color, style, width, and label options.
Automatically detects the True Month Open using the ICT method (2nd Monday of each month) and plots it on the chart.
Lines can extend dynamically and are limited to a user-defined number of historical bars for clarity.
Fully customizable timezones, label sizes, and display options.
This indicator is ideal for observing how price interacts with key levels, especially for traders who favor support and resistance-based strategies.
Disclaimer: This is an analytical tool for observation purposes. It does not provide buy or sell signals. Users should combine it with their own analysis and risk management.
Egg vs Tennis Ball — Drop/Rebound StrengthEgg vs Tennis Ball — Drop/Rebound Meter
What it does
Classifies selloffs as either:
Eggs — dead‑cat, no bounce
Tennis Balls — fast, decisive rebound
Core features
Detects swing drops from a Pivot High (PH) to a Pivot Low (PL)
Requires drops to be meaningful (volatility‑aware, ATR‑scaled)
Draws a bounce threshold line and a deadline
Decides outcome based on speed and extent of rebound
Tracks scores and win rates across multiple lookback windows
Includes a color‑coded meter and current streak display
Visuals at a glance
Gray diagonal — drop from PH to PL
Teal dotted horizontal — bounce threshold, from PH to the deadline
Solid green — Tennis Ball (bounce line broken before the deadline)
Solid red — Egg (deadline expired before the bounce)
Optional PH / PL labels for clarity
How the decision is made
1) Find pivots — symmetric pivots using Pivot Left / Right; PL confirms after Right bars.
2) Qualify the drop — Drop Size = PH − PL; must be ≥ (Drop Threshold × ATR at PL).
3) Define the bounce line — PL + (Bounce Multiple × Drop Size). 1.00× = full retrace to PH; up to 2.00× for overshoot.
4) Set the deadline — Drop Bars = PL index − PH index; Deadline = Drop Bars × Recovery Factor; timer starts from PH or PL.
5) Resolve — Tennis Ball if price hits the bounce line before the deadline; Egg if the deadline passes first.
Scoring system (−100 to +100)
+100 = perfect Tennis Ball (fastest possible + full overshoot)
−100 = perfect Egg (no recovery)
In between: scored by rebound speed and extent, shaped by your weight settings
Meter Table
Columns (toggle on/off)
All (off by default)
Last N1 (default 5)
Last N2 (default 10)
Last N3 (default 20)
Rows
Tennis / Eggs — counts
% Tennis — win rate
Avg Score — normalized quality from −100 to +100
Streak — overall (not windowed), e.g., +3 = 3 Tennis Balls in a row, −4 = 4 Eggs in a row
Alerts
Tennis Ball – Fast Rebound — triggers when the bounce line is broken in time
Egg – Window Expired — triggers when the deadline passes without a bounce
Inputs
① Drop Detection
Pivot Left / Right
ATR Length
Drop Threshold × ATR
② Bounce Requirement
Bounce Multiple × Drop Size (0.10–2.00×)
③ Timing
Timer Start — PH or PL
Recovery Factor × Drop Bars
Break Trigger — Close or High
④ Display
Show Pivot/Outcome Labels
Line Width
Table Position (corner)
⑤ Meter Columns
Show All (off by default)
Show N1 / N2 / N3 (5, 10, 20 by default)
⑥ Scoring Weights
Tennis — Base, Speed, Extent
Egg — Base, Strength
How to use it
Pick strictness — start with Drop Threshold = 2.0 ATR, Bounce Multiple = 1.0×, Recovery Factor = 3.0×; adjust to timeframe and volatility.
Watch the dotted line — it ends at the deadline; turns solid green (Tennis) if broken in time, solid red (Egg) if it expires.
Read the meter — short windows (5–10) show current behavior; Avg Score captures quality; Streak shows momentum.
Blend with your system — combine with trend filters, volume, or regime detection.
Tips
Close vs High trigger: Close is stricter; High is more responsive.
PH vs PL timer start: PH measures round‑trip; PL measures recovery only.
Increase pivot strength for fewer, more reliable signals.
Higher timeframes generally produce cleaner patterns.
Defaults
Pivot L/R: 5 / 5
ATR Length: 14
Drop Threshold: 2.0× ATR
Bounce Multiple: 1.00×
Recovery Factor: 3.0×
Break Trigger: Close
Windows: Last 5, 10, 20 (All off)
Interpreting results
Tennis‑y: Avg Score +30 to +70, %Tennis > 55%
Mixed: Avg Score near 0
Egg‑y: Avg Score −30 to −80, %Tennis < 45%
Clean Pivot Lines with AlertsTechnical Overview
This Script is designed for detecting untouched pivot highs and lows. It draws horizontal levels only when those pivots remain unviolated within a configurable lookback window and removes them automatically upon price breaches or sweeps.
Key components include:
Pivot detection logic : Utilizes ta.pivothigh()/ta.pivotlow() (or equivalent via request.security for HTF) with parameterized pivotLength to ensure flexibility and adaptability to different timeframes.
Cleanliness filtering : Checks lookbackBars prior to line creation to skip levels already violated, ensuring only uncontaminated pivots are used.
Dynamic level tracking : Stores active levels in arrays (highLines, lowLines) for continuous real-time monitoring.
Violation logic : Detects both close-based breaks (breakAbove/breakBelow) and wick-based sweeps (sweepAbove/sweepBelow), triggering alerts and automatic teardown.
Periodic housekeeping : Every N (10) confirmed bars, re-verifies “clean” status and removes silently invalidated levels—maintaining chart hygiene and avoiding stale overlays.
Customization options : Supports pivot timeframe override, colors, line width/style, lookback length, and alert toggling.
Utility
This overlay script provides a disciplined workflow for drawing meaningful support/resistance levels, filtering out contaminated pivot points, and signaling validations (breaks/sweeps) with alerts. Its modular design and HTF support facilitate integration into systematic workflows, offering far more utility than mere static pivot plots.
Usage Instructions
1. Adjust `pivot_timeframe`, `pivot_length`, and `lookback_bars` to suit your strategy timeframe and volatility structure.
2. Customize visual parameters as required.
3. Enable alerts to receive in-platform messages upon pivot violations.
4. Use HTF override only if analyzing multi-timeframe pivot behavior; otherwise, leave empty to default to chart timeframe.
Performance & Limitations
- Pivot lines confirmation lags by `pivot_length` bars; real-time signals may be delayed.
- Excessive active lines may impact performance on low-TF charts.
- The “clean” logic is contingent on the `lookback_bars` parameter; choose sufficiently high values to avoid false cleanliness.
- Alerts distinguish between closes beyond and wick-only breaches to aid strategic nuance.
Swing Point Volume Z-ScoreSWING POINT VOLUME Z-SCORE INDICATOR
A volume analysis tool that identifies statistical volume spikes at swing points with optional higher timeframe confirmation.
This indicator uses Leviathan's method of swing detection. All credit to him for his amazing work (and any mistakes mine). I was also inspired by Trading Riot, who's Capitulation indicator gave me the idea to create this one.
WHAT IT DOES
This indicator combines three analytical approaches:
- Volume Z-score calculation to measure volume significance statistically
- Automatic swing point detection (higher highs, lower lows, etc.)
- Optional higher timeframe volume confirmation
The Z-score measures how many standard deviations current volume is from the average, helping identify when volume activity is genuinely elevated rather than relying on visual assessment.
VISUAL SYSTEM
The indicator uses a color-coded approach for quick assessment:
GREEN - Normal Activity (Z-Score 1.0-2.0)
Above-average volume levels
ORANGE - Elevated Activity (Z-Score 2.0-3.0)
High volume activity that may indicate increased interest
RED - Potential Institutional Activity (Z-Score 3.0+)
Very high volume levels that could suggest significant market participation
HIGHER TIMEFRAME CONFIRMATION
When enabled, the indicator checks volume on a higher timeframe:
- Checkmark symbol indicates HTF volume also shows elevation
- X symbol indicates HTF volume doesn't confirm
- Auto-selects appropriate higher timeframe or allows manual selection
KEY FEATURES
Statistical Approach: Uses Z-score methodology rather than arbitrary volume thresholds
Adaptive Thresholds: Can adjust based on market volatility conditions
Swing Focus: Concentrates analysis on structurally important price levels
Volume Trends: Shows whether volume is accelerating or decelerating
Success Tracking: Monitors how often HTF confirmation proves effective
DISPLAY OPTIONS
Basic Mode: Essential features with clean interface
Advanced Mode: Additional customization and analytics
Label Sizing: Four size options to fit different screen setups
Table Position: Moveable info table with transparency control
Custom Colors: Adjustable for different chart themes
PRACTICAL APPLICATIONS
May help identify:
- Volume spikes at support/resistance levels
- Potential accumulation or distribution zones
- Breakout confirmation with volume backing
- Areas where larger market participants might be active
Works on all liquid markets and timeframes, though generally more effective on 15-minute charts and higher.
USAGE NOTES
This is an analytical tool that highlights statistically significant volume events. It should be used as part of a broader analysis approach rather than as a standalone trading system.
The indicator works best when combined with:
- Price action analysis
- Support and resistance identification
- Trend analysis
- Proper risk management
Default settings are designed to work well across most instruments, but users can adjust parameters based on their specific needs and trading style.
TECHNICAL DETAILS
Built with Pine Script v5
Compatible with all TradingView subscription levels
Open source code available for review and learning
Works on stocks, forex, crypto, futures, and other liquid instruments
The statistical approach helps remove some subjectivity from volume analysis, though like all technical indicators, it should be used thoughtfully as part of a complete trading plan.
Prev D/W/M + Asia & London Levels [Oeditrades]Prev D/W/M + Asia & London Levels
Author: Oeditrades
Platform: Pine Script® v6
What it does
Plots only the most recent, fully completed:
Previous Day / Week / Month highs & lows
Asia and London session highs & lows
Levels are drawn as true horizontal lines from the period/session start and extended to the right for easy confluence reading. The script is non-repainting.
How it works
Prev Day/Week/Month: Uses completed HTF candles (high / low ) so values are fixed for the entire next period.
Sessions (NY time): Asia (default 20:00–03:00) and London (default 03:00–08:00) are tracked in America/New_York time. High/low are locked when the session ends, and the line is anchored at that session’s start.
Inputs & customization
Visibility: toggle Previous Day/Week/Month, Asia, London, and labels.
Colors: highs default red; lows default green (user-configurable). Session highs default pink, lows aqua (also editable).
Style: line style (solid/dotted/dashed) and width.
Sessions: editable time windows for Asia and London (still interpreted in New York time).
Disclaimer: optional on-chart disclaimer panel with editable text.
Notes
Works on any timeframe. For intraday charts, the HTF values remain constant until the next HTF bar completes.
If your market’s overnight hours differ, simply adjust the session windows in Inputs.
Lines intentionally show only the latest completed period/session to keep charts clean.
Use cases
Quick view of PDH/PDL, PWH/PWL, PMH/PML for bias and liquidity.
Intraday planning around Asia/London range breaks, retests, and overlaps with prior levels.
Disclaimer
This tool is for educational purposes only and is not financial advice. Markets involve risk; past performance does not guarantee future results.
Key Session Levels (KUUUMZ)
📜 Summary
Tired of manually drawing the same key levels every single trading day? The KUUMZ-Key Session Levels indicator automates this entire process, plotting the most critical intraday and previous day levels directly on your chart. This tool provides a clean, dynamic framework of potential support and resistance zones, allowing you to focus on your trading strategy, not on chart setup.
Built for day traders and scalpers of US equities, this indicator helps you instantly visualize the market's structure from the moment the session begins.
🎯 Key Levels Plotted
This indicator automatically identifies and draws horizontal lines for the following session levels:
Previous Day High (PDH) & Low (PDL): The highest and lowest points of the prior trading day, which often act as major psychological support and resistance magnets.
Pre-Market High & Low (PMH/PML): The range established during the pre-market session (4:00 - 9:30 AM ET). A breakout from this range can often signal the initial directional bias.
5-Minute Opening Range High & Low (OR5): The high and low of the first 5 minutes of the regular session (9:30 - 9:35 AM ET). A crucial level for opening range breakout (ORB) strategies.
15-Minute Opening Range High & Low (OR15): The high and low of the first 15 minutes (9:30 - 9:45 AM ET), providing a slightly broader view of the initial balance area.
📈 How to Use This Indicator
These levels are fundamental to many intraday trading strategies:
Support & Resistance: Watch how price reacts as it approaches these levels. A bounce or rejection can signal a potential reversal, while a clean break can indicate continuation.
Breakout Trading: A strong, high-volume move through one of these levels (e.g., breaking above the Pre-Market High) can be an entry signal for a breakout trade.
Market Context: Quickly gauge market sentiment. Is the price trading above or below the previous day's range? Is it trapped within the opening range? These levels provide immediate context to the current price action.
Setting Targets & Stops: Use these levels to set logical profit targets or place stop-loss orders. For example, if you go long on a breakout of the 5-min OR, the Pre-Market High or Previous Day High could be your first target.
⚙️ Features & Customization
The script is designed to be flexible and clean, allowing you to tailor it to your specific charting style.
Toggle Any Level: Enable or disable any set of levels (Previous Day, Pre-Market, etc.) to reduce clutter.
Full Style Control: Customize the Color, Width, and Style (Solid, Dotted, Dashed) for each pair of high/low lines independently.
Optional Labels: A master switch allows you to show or hide all price labels (like "PDH", "PM Low", etc.) with a single click.
Automatic & Dynamic: Levels are calculated and drawn in real-time as each session concludes and are automatically cleared and reset for the next trading day.
Multi-Timeframe SFP + SMTImportant: Please Read First
This indicator is not a "one size fits all" solution. It is a professional and complex tool that requires you to learn how to use it, in addition to backtesting different settings to discover what works best for your specific trading style and the assets you trade. The default settings provided are my personal preferences for trading higher-timeframe setups, but you are encouraged to experiment and find your own optimal configuration.
Please note that while this initial version is solid, it may still contain small errors or bugs. I will be actively working on improving the indicator over time. Also, be aware that the script is not written for maximum efficiency and may be resource-intensive, but this should not pose a problem for most users.
The source code for this indicator is open. If you truly want to understand precisely how all the logic works, you can copy and paste the code into an AI assistant like Gemini or ChatGPT and ask it to explain any part of the script to you.
Author's Preferred Settings (Guideline)
As a starting point, here are the settings I personally use for my trading:
SFP Timeframe: 4-Hour (Strength: 5-5)
Max Lookback: 35 Bars
Raid Expiration: 1 Bar
SFP Lines Limit: 1
SMT Timeframe 1: 30-Minute (Strength: 2-2) with 3-Minute LTF Detection.
SMT Timeframe 2: 15-Minute (Strength: 3-3) with 3-Minute LTF Detection.
SMT Timeframe 3: 1-Hour (Strength: 1-1) with 3-Minute LTF Detection.
SMT Timeframe 4: 15-Minute (Strength: 1-1) with 3-Minute LTF Detection.
Multi-Timeframe SMT: An Overview
This indicator is a powerful tool designed to identify high-probability trading setups by combining two key institutional concepts: Swing Failure Patterns (SFP) on a higher timeframe and Smart Money Technique (SMT) divergences on a lower timeframe. A key feature is the ability to configure and run up to four independent SMT analyses simultaneously, allowing you to monitor for divergences across multiple timeframes (e.g., 15m, 1H, 4H) from a single indicator.
Its primary purpose is to generate automated signals through TradingView's alert system. By setting up alerts, the script runs server-side, monitoring the market for you. When a setup presents itself, it will send a push notification to your device, allowing you to personally evaluate the trade without being tied to your screen.
The Strategy: HTF Liquidity Sweeps into LTF SMT
The core strategy is built on a classic institutional trading model:
Wait for a liquidity sweep on a significant high timeframe (e.g., 4-hour, Daily).
Once liquidity is taken, look for a confirmation of a shift in market structure on a lower timeframe.
This indicator uses an SMT divergence as that confirmation signal, indicating that smart money may be stepping in to reverse the price.
How It Works: The Two-Step Process
The indicator's logic follows a precise two-step process to generate a signal:
Step 1: The Swing Failure Pattern (SFP)
First, the indicator identifies a high-timeframe liquidity sweep. This is configured in the "Swing Failure Pattern (SFP) Timeframe" settings.
It looks for a candle that wicks above a previous high (or below a previous low) but then closes back within the range of that pivot. This action is known as a "raid" or a "swing failure," suggesting the move failed to find genuine momentum.
Step 2: The SMT Divergence
The moment a valid SFP is confirmed, the indicator's multiple SMT engines activate.
Each engine begins monitoring the specific SMT timeframe you have configured (e.g., "SMT Timeframe 1," "SMT Timeframe 2," etc.) for a Smart Money Technique (SMT) divergence.
An SMT divergence occurs when two closely correlated assets fail to move in sync. For example, after a raid on a high, Asset A makes a new high, but Asset B fails to do so. This disagreement suggests weakness and a potential reversal.
When the script finds this divergence, it plots the SMT line and triggers an alert.
The Power of Alerts
The true strength of this indicator lies in its alert capabilities. You can create alerts for both unconfirmed and confirmed SMTs.
Enable Alerts LTF Detection: These alerts trigger when an unconfirmed, potential SMT is spotted on the lower "LTF Detection" timeframe. While not yet confirmed, these early alerts can notify you of a potential move before it fully happens, allowing you to be ahead of the curve and find the best possible trade entries.
Enable Alerts Confirmed SMT: These alerts trigger only when a permanent, confirmed SMT line is plotted on your chosen SMT timeframe. These signals are more reliable but occur later than the early detection alerts.
Key Concepts Explained
What is Pivot Strength?
Pivot Strength determines how significant a high or low needs to be to qualify as a valid structural point. A setting of 5-5, for example, means that for a candle's high to be considered a valid pivot high, its high must be higher than the highs of the 5 candles to its left and the 5 candles to its right.
Higher Strength (e.g., 5-5, 8-8): Creates fewer, but more significant, pivots. This is ideal for identifying major structural highs and lows on higher timeframes.
Lower Strength (e.g., 2-2, 3-3): Creates more pivots, making it suitable for identifying the smaller shifts in momentum on lower timeframes.
Raid Expiration & Validity
An SFP signal is not valid forever. The "Raid Expiration" setting determines how many SFP timeframe bars can pass after a raid before that signal is considered "stale" and can no longer be used to validate an SMT. This ensures your SMT divergences are always in response to recent liquidity sweeps.
Why You Must Be on the Right Chart Timeframe to See SMT Lines
Pine Script™ has a fundamental rule: an indicator running on a chart can only "see" the bars of that chart's timeframe or higher.
When the SMT logic is set to the 15-minute timeframe, it calculates its pivots based on 15-minute data. To accurately plot lines connecting these pivots, you must be on a 15-minute chart or lower (e.g., 5-minute, 1-minute).
If you are on a higher timeframe chart, like the 1-hour, the 15-minute bars do not exist on that chart, so the indicator has no bars to draw the lines on.
This is precisely why the alert system is so powerful. You can set your alert to run on the 15-minute timeframe, and TradingView's servers will monitor that timeframe for you, sending a notification regardless of what chart you are currently viewing.
Auto-Pivot Levels with Alerts and 4 methods [ChartWhizzperer]🚀 Auto-Pivot Levels – Dynamic Edition
Now with
Live Mode,
4 Pivot Methods
PineConnector-Ready Alerts!
Free, Open Source, Pine Script v6-compliant.
🟢 NEW: Live Mode (Ultra-Dynamic, Repainting) – Switchable in UI!
Instantly switch between Classic (session-based, repaint-free) and Live (rolling window, real-time, repainting) using the simple checkbox in the settings!
Live Mode recalculates all pivots on every tick/bar, using the current high/low/close for the chosen session (daily, weekly, monthly).
Perfect for:
Scalping and high-frequency trading
Real-time bot/automation setups (PineConnector-ready)
Fast-moving or breakout markets
Classic Mode: For traditional, stable levels based on confirmed session data – ideal for backtesting and trading history.
📊 Four Calculation Methods (Choose What Fits YOU):
1️⃣ Classic
Standard pivot calculation.
Based on previous session’s High, Low, Close.
Simple, proven, and suitable for any asset.
2️⃣ Fibonacci
Projects levels using Fibonacci ratios of the prior session’s range.
Great for traders who want to align pivots with fib retracements and extensions.
3️⃣ Camarilla
Uses unique multipliers for support/resistance, focusing on mean reversion and volatility.
Popular among futures and forex day traders.
4️⃣ Woodie
Puts extra weight on previous Close for more responsive pivots.
Often used in trending or choppy conditions.
Switch methods anytime in the UI – the script recalculates instantly and keeps your chart clean!
🔔 Level-Specific Alerts – PineConnector Ready!
Dedicated alert for EVERY level and direction (Up/Down):
Pivot (P), R1, R2, R3, S1, S2, S3
No configuration hassle:
All alerts are pre-defined in the TradingView Alert Panel.
Machine-readable message format:
PIVOT=R1 DIR=UP SYMBOL={{ticker}} PRICE={{close}}
Direct plug-and-play with PineConnector, webhooks, Discord, Telegram, bots, and other automation tools.
Never miss a breakout, reversal, or key support/resistance touch.
🛠 Powerful Customization & Performance
Session selection: Daily, Weekly, Monthly (choose what suits your trading style).
Show/hide any level (Pivot, R1–R3, S1–S3) for minimal chart clutter.
Color selection for each level to match your theme or highlight key pivots.
Auto-cleanup: Old lines and labels are cleared on every recalculation or session change for maximum performance and visual clarity.
Zero runtime errors: Strict Pine Script v6 practices for stability.
💡 How To Use – Quick Start
Add the indicator to your TradingView chart.
Pick your calculation method (Classic, Fibonacci, Camarilla, Woodie).
Set session type (Daily, Weekly, Monthly).
Switch between Classic and Live Mode with a single click in settings.
Customize your levels (on/off, colors).
Open the Alert Panel, select any pre-configured alert (e.g. "R2 Cross Down"), and go live!
Connect with PineConnector or any webhook system instantly using the pre-formatted alert messages.
🤖 Who Is It For?
Active scalpers & bot traders: Live Mode + PineConnector-ready alerts = instant, automated reactions.
Swing and position traders: Use Classic Mode for stable, repaint-free levels.
Strategy developers: Seamless integration into automated and manual trading workflows.
🏷 License & Community
Open Source, Non-Commercial:
Free for personal & educational use under CC BY-NC-SA 4.0.
Feedback, bug reports & ideas:
Drop a comment, or contact me for feature requests.
Trade smart. Trade dynamic. Unlock the true power of pivots – with ChartWhizzperer !
Price Widget on ScreenSimple yet useful script, to see the PRICE/CHANGE of the chart you are on. I use it in my 6/8 charts screen, so you can see the graph and the price.
Multi-Timeframe SMTSummery
The Multi-Timeframe SMT indicator is designed to identify and visualize Higher Timeframe (HTF) data on a Lower Timeframe (LTF) chart, allowing traders to see the broader market context without changing their current chart's resolution. It accurately draws pivots and SMT divergences from higher timeframes on the corresponding candles of your current lower timeframe chart.
Its core features include:
Multi-Timeframe Analysis: Configure and monitor pivots on up to four independent timeframes, from intraday to monthly.
Customizable Pivot Detection: Define the strength of pivots by adjusting the number of bars to the left and right.
SMT Divergence: Automatically identifies bullish and bearish SMT divergences by comparing the price action of the main chart symbol with a chosen correlated asset.
Early SMT Detection: A unique feature that monitors a lower "detection timeframe" to provide early warnings of potential SMT setups before they're confirmed on the main timeframe. Note that this early detection is only shown on timeframes equal to or lower than the "Detection timeframe" you have set.
Visual Cues & Alerts: Clear on-chart labels, lines, and fully customizable alerts notify you of confirmed pivots and SMT divergences, ensuring you don't miss key opportunities.
Important Nuance Regarding Pivot Label Display
Due to a self-imposed limit within this script's drawing management logic, the indicator might quickly reach its drawing capacity if you enable pivot crosses for multiple timeframes simultaneously. When this internal drawing limit is exceeded, the script is designed to automatically remove the oldest drawings to make space for new ones.
Therefore, to ensure optimal performance and visibility of the most recent and relevant pivots, it's highly recommended to only enable the "Show Pivot Crosses" option for one timeframe at a time. If you wish to view pivots for a different timeframe, simply disable the pivot crosses for the currently active timeframe and then enable them for your desired one. This approach prevents the rapid cycling and disappearance of pivot labels, providing a clearer and more stable visual experience.
In-Depth Explanation of the Logic
This script is built on two primary concepts: pivot points and Smart Money Technique (SMT) divergence. It systematically collects historical data on multiple timeframes, identifies pivots, and then compares them between two assets to find divergences.
Pivot Point Identification
A pivot is a turning point in the market. A pivot high is a candle that has a higher high than the candles to its immediate left and right. Conversely, a pivot low is a candle with a lower low than its neighbors.
How it Works in the Script:
The script tracks the highest high and lowest low for each period of the selected timeframe (e.g., for each 4-hour candle). When a new high-timeframe candle closes, it stores that high/low value and its bar index in an array. The checkForPivot() function then checks if a recently stored high or low qualifies as a pivot.
Key Inputs:
Left Strength (leftBars1): The number of candles to the left that must have a lower high (for a pivot high) or higher low (for a pivot low).
Right Strength (rightBars1): The number of candles to the right that must meet the same criteria.
For example, with Left Strength and Right Strength both set to 3, a pivot high is only confirmed when its high is greater than the highs of the 3 previous high-timeframe candles and the 3 subsequent high-timeframe candles. Increasing these values will identify more significant, longer-term pivots.
Smart Money Technique (SMT) Divergence
SMT Divergence is a concept popularized by The Inner Circle Trader (ICT). It occurs when two closely correlated assets fail to move in sync. For instance, if Asset A makes a higher high but Asset B fails to do so and instead makes a lower high, this creates a bearish SMT divergence. It suggests that the "smart money" may not be supporting the move in Asset A, signaling a potential reversal.
Bearish SMT: Main asset makes a higher high, while the correlated asset makes a lower high. This is a potential sell signal.
Bullish SMT: Main asset makes a lower low, while the correlated asset makes a higher low. This is a potential buy signal.
How it Works in the Script:
Data Request: For each timeframe, the script uses the request.security() function to fetch the high and low data for both the main chart symbol (syminfo.tickerid) and the chosen Comparison Asset.
Pivot Comparison: When a new pivot is confirmed on the main asset, the script checks if a corresponding pivot also formed on the comparison asset at the same time.
Divergence Check: It then compares the direction of the pivots. For a bearish SMT, it checks if the main asset's new pivot high is higher than its previous pivot high, while the comparison asset's new pivot high is lower than its previous one. The logic is reversed for bullish SMT.
Visualization: If a divergence is found, the script draws a red (bearish) or green (bullish) line connecting the two pivots on your chart and places an "SMT" label.
Early SMT Detection
This is a proactive feature designed to give you a heads-up. Waiting for a 4-hour or daily pivot to form can take a long time. The early detection system looks for SMT divergences on a much smaller, user-defined Detection timeframe (e.g., 15-minute).
How it Works in the Script:
Awaiting Setup: After a primary pivot (Pivot A) is formed on the main timeframe (e.g., a Daily pivot high), the script begins monitoring.
Intraday Monitoring: It then watches the Detection timeframe (e.g., 15-minute) for smaller intraday pivots.
Potential Divergence: It looks for an intraday pivot that forms a divergence against the primary Pivot A.
Watchline & Alert: When this "potential" divergence occurs, the script draws a dashed white line and triggers a "Potential SMT" alert. This isn't a confirmed SMT on the main timeframe yet, but it's a powerful early warning that one may be forming.
Drawing & Object Management
To keep the chart clean and prevent performance issues, the script manages its drawings (lines and labels) efficiently. It stores them in arrays and uses a drawing limit to automatically delete the oldest drawings as new ones are created, ensuring your TradingView remains responsive.
How to Use the Indicator
Configuration
Enable Timeframes: Use the checkboxes (Enable Timeframe 1, Enable Timeframe 2, etc.) to activate the timeframes you want to monitor. It's often best to start with one or two to keep the chart clean.
Select Timeframes: Choose the higher timeframes you want to analyze (e.g., 240 for 4-hour, D for Daily, W for Weekly).
Set Pivot Strength: The default of 3 for Left/Right strength is a good starting point. Increase it to find more significant market structure points or decrease it for more frequent, shorter-term pivots.
Configure SMT:
Check Enable SMT for the timeframes where you want to detect divergence.
Enter a Comparison Asset . This is crucial. Ensure the assets are correlated.
To use the early warning system, check Enable early SMT detection and select an appropriate Detection timeframe (e.g., 15 or 60 minutes for a Daily analysis).
Multi Pivot Point & Central Pivot Range - Nadeem Al-QahwiThis indicator combines four advanced trading modules into one flexible and easy-to-use script:
Traditional Pivot Points:
Calculates classic support and resistance levels (PP, R1–R5, S1–S5) based on previous session data. Ideal for identifying key turning points and mapping out the daily, weekly, or monthly structure.
Camarilla Levels:
Provides six upper and lower pivot levels (H1–H6, L1–L6) derived from volatility and closing price formulas. Especially effective for intraday reversal, mean reversion, and finding overbought/oversold extremes.
Central Pivot Range (CPR):
Plots the median, top, and bottom of the value area each session. CPR width instantly highlights whether the market is likely to trend (narrow CPR) or remain range-bound (wide CPR).
Developing CPR projects the evolving range for the current period—essential for real-time analysis and pre-market planning.
Dynamic Zone Levels (DZL):
Automatically detects and highlights clusters of pivots to reveal high-probability support/resistance zones, filtering out market “noise.”
DZL alerts notify you whenever price breaks or retests these key areas, making it easier to spot momentum trades and avoid false signals.
Key Features:
Multi-timeframe flexibility: Use with daily, weekly, monthly, yearly, or custom timeframes—even rare ones like biyearly and decennial.
Modular design: Activate or hide any system (Traditional, Camarilla, CPR, DZL) as you need.
Bilingual interface: Every setting and label is shown in both English and Arabic.
Full customization: Control visibility, color, style, and placement for every level and label.
Historical depth: Plot up to 5,000 pivot/zones back for deep analysis and backtesting.
Smart alerts: Get instant notifications on true S/R breakouts or retests (from DZL).
How to Use:
Trend Trading:
Watch for a very narrow CPR to identify potential trending days—trade in the breakout direction above/below the CPR.
Range Trading:
When CPR is wide, expect sideways movement. Fade reversals at R1/S1 or within the CPR boundaries.
Breakouts:
Use DZL alerts to capture momentum as price breaks or retests dynamic support/resistance zones.
Multi-Timeframe Confluence:
Combine CPR and pivot levels from multiple timeframes for higher-probability entries and exits.
All calculations and logic are fully open.
Liquidity Swings [Nix]Liquidity Swings Indicator!
It marks recent swing highs and lows on the chart using lines and labels.
Another great feature is that it tracks whether those swing levels are SWEPT (price crosses them again) and either:
Removes swept levels, or
Fades them to indicate they’ve been taken.
You can customize:
Number of swings shown.
Colors, styles, and visibility of lines/labels.
Whether to show highs, lows, or both.
Useful for liquidity analysis.
Usually when these special swings are swept, you can consider moving stops to BE. This is because there should be enough stop losses at the swing points to liquidate others and give more fuel to your trade direction!
Fibonacci retracementHi all!
This indicator will show you the most recent Fibonacci retracement in the current trend. So if the trend is bullish the Fibonacci retracement will be drawn from swing low to high and from swing high to low in a bearish trend.
The uniqueness in this script lies in the adaptation to trend. To only plot the Fibonacci retracements according to the current market trend.
The trend is determined through break of structures (BOS) and change of characters (CHoCH). A change of character can be of type change of character plus (with a failed swing) and will then be shown as CHoCH+. This is possible through my library 'MarketStructure' (). It only uses break of structures and change of characters to be able to determine the trend, if you want a more detailed picture of the market structure you can use my script 'Market structure' ().
History and what to look for
Fibonacci retracement levels are used by many traders and are levels that are not Fibonacci sequence numbers themselves but they deriver from them. Some examples are:
23,6% - Divide a number by one three places ahead (e.g. 13/55)
38,2% - Divide a number by the one two places ahead (e.g. 21/55)
50% - Not from the Fibonacci sequence, but it's a number that price has reacted from in the past. Markets tend to retrace half a move before continuing
61,8% - The "golden retracement level". It derives from the "golden ratio" and is a core component of the Fibonacci sequence. The further you go in the Fibonacci sequence the preceding number divided by the current number will get closer and closer to this "golden ratio". This level is considered the most important Fibonacci retracement level by many traders
78,6% - Square root of 61.8%. This is often considered a deep correction (but not a trend reversal) and are often used for late entries
These levels are considered "key" and most significant. You want to look for a retracement of the price (down in a bullish trend and up in a bearish trend) to give you good entries.
Settings
For the trend you can set the pivot/swing lengths (right and left) and use the checkbox if you want these pivots to have labels. This can be done in the 'Market strucure' section.
In the 'Fibonacci retracement' section there is settings for the actual Fibonacci retracement. You can enable the trendline, set the color and the style of it. You can select which levels that should be shown by the indicator. There are 11 levels enabled by default, they are; 0-4.236. All settings in this section tries to be as similar to the "Fib Retracement" tool in Tradingview. You can also select the style of these lines (solid, dashed or dotted) and if you want them to extend to the right or not.
After this you can select if the Fibonacci retracement should be reversed or not, if prices should be displayed, if levels should be displayed and if to show the decimal levels or percentages and lastly the font size of these labels.
All defaults are based on the "Fib Retracement" tool by Tradingview.
Visualization
This indicator aims to be as visually similar to the default ("Fib Retracement") tool here on Tradingview. It will plot the Fibonacci retracement (called Auto Fibonacci/Auto fib) according to the trend from the library 'MarketStrucure'. The big differences from the "Fib Retracement" tool by Tradingview is that it's automatic (that adapts to trend), the market structure is visualized through lines and labels (showing 'BOS' for break of structures and 'CHoCH'/'CHoCH+' for change of characters) and that the labels showing information about the levels are positioned to be highly visible (left if <50% otherwise right if in a bullish trend, vice versa in a bearish trend or if reversed).
Don't hesitate if you have any feedback or nice feature suggestions!
Best of trading luck!
NY HIGH LOW BREAKNY HIGH LOW BREAK: A New York Session Breakout Strategy
The "NY HIGH LOW BREAK" indicator is a powerful TradingView script designed to identify and capitalize on breakout opportunities during the New York trading session. This strategy focuses on the initial price action of the New York market open, looking for clear breaches of the high or low established within the first 30 minutes. It's particularly suited for intraday traders who seek to capture momentum-driven moves.
Strategy Logic
The core of the "NY HIGH LOW BREAK" strategy revolves around these key components:
New York Session Opening Range Identification:
The script first identifies the opening range of the New York session. This is defined by the high and low prices established during the first 30 minutes of the New York trading session (from 7:01 AM GMT-4 to 7:31 AM GMT-4).
These crucial levels are then extended forward on the chart as horizontal lines, serving as potential support and resistance zones.
Breakout Signal Generation:
Long Signal: A buy signal is generated when the price breaks above the high of the New York opening range. Specifically, it looks for a candle whose open and close are both above the highLinePrice, and importantly, the previous candle's open was below and close was above the highLinePrice. This indicates a strong upward momentum confirming the breakout.
Short Signal: Conversely, a sell signal is generated when the price breaks below the low of the New York opening range. It looks for a candle whose open and close are both below the lowLinePrice, and the previous candle's open was above and close was below the lowLinePrice. This suggests strong downward momentum confirming the breakdown.
Supertrend Filter (Implicit/Future Enhancement):
While the supertrend and direction variables are present in the code, they are not actively used in the current signal generation logic. This suggests a potential future enhancement where the Supertrend indicator could be incorporated as a trend filter to confirm breakout directions, adding an extra layer of confluence to the signals. For example, only taking long breakouts when Supertrend indicates an uptrend, and short breakouts when Supertrend indicates a downtrend.
Second Candle Confirmation (Possible Future Enhancement):
The close_sec_candle function and openSEC, closeSEC variables indicate an attempt to capture the open and close of a "second candle" (30 minutes after the initial New York open). Currently, closeSEC is used in a specific condition for signal_way but not directly in the primary longSignal or shortSignal logic. This also suggests a potential future refinement where the price action of this second candle could be used for further confirmation or specific entry criteria.
Time-Based Filtering:
Signals are only considered valid within a specific trading window from 8:00 AM GMT-4 to 8:00 AM GMT-4 + 16 * 30 minutes (which is 480 minutes, or 8 hours) on 1-minute and 5-minute timeframes. This ensures that trades are taken during the most active and volatile periods of the New York session, avoiding late-session chop.
The script also highlights the New York session and lunch hours using background colors, providing visual context to the trading day.
Key Features
Automated New York Open Range Detection: The script automatically identifies and plots the high and low of the first 30 minutes of the New York trading session.
Clear Breakout Signals: Visually distinct "BUY" and "SELL" labels appear on the chart when a breakout occurs, making it easy to spot trading opportunities.
Timeframe Adaptability: While optimized for 1-minute and 5-minute timeframes for signal generation, the opening range lines can be displayed on various timeframes.
Customizable Risk-to-Reward (RR): The rr input allows users to define their preferred risk-to-reward ratio for potential trades, although it's not directly implemented in the current signal or trade management logic. This could be used by traders for manual trade management.
Visual Session and Lunch Highlights: The script colors the background to clearly delineate the New York trading session and the lunch break, helping traders understand the market context.
How to Use
Apply the Indicator: Add the "NY HIGH LOW BREAK" indicator to your chart on TradingView.
Select a Relevant Timeframe: For optimal signal generation, use 1-minute or 5-minute timeframes.
Observe the Opening Range: The green and red lines represent the high and low of the first 30 minutes of the New York session.
Look for Breakouts: Wait for price to decisively break above the green line (for a buy) or below the red line (for a sell).
Confirm Signals: The "BUY" or "SELL" labels will appear on the chart when the breakout conditions are met within the active trading window.
Implement Your Risk Management: Use your preferred risk management techniques, including stop-loss and take-profit levels, in conjunction with the signals generated. The rr input can guide your manual risk-to-reward calculations.
Potential Enhancements & Considerations
Supertrend Confirmation: Integrating the supertrend variable to filter signals would significantly enhance the strategy's robustness by aligning trades with the prevailing trend.
Stop-Loss and Take-Profit Automation: The rr input currently serves as a manual guide. Future versions could integrate automated stop-loss and take-profit placement based on this ratio, potentially using ATR for dynamic sizing.
Volume Confirmation: Adding a volume filter to confirm breakouts would ensure that only high-conviction moves are traded.
Backtesting and Optimization: Thorough backtesting across various assets and market conditions is crucial to determine the optimal settings and profitability of this strategy.
Session Times: The current session times are hardcoded. Making these user-definable inputs would allow for greater flexibility across different time zones and trading preferences.
The "NY HIGH LOW BREAK" is a straightforward yet effective strategy for capturing initial New York session momentum. By focusing on clear breakout levels, it aims to provide timely and actionable trading signals for intraday traders.