Intraday LevelsWhat it shows:
This indicator is useful for day trading, where it will track and display you important price levels which includes:
Premarket Low (PML)
Premarket High (PMH)
Previous Day Low (PDL)
Previous Day High (PDH)
Previous Day Close (PDC)
After Hours Low (AHL)
After Hours High (AHH)
Day Low (DL)
Day High (DH)
The price level lines and labels will automatically adjust itself as the price moves, eliminating the need of manually having to adjusting these levels.
How to use it:
At these levels it can act as important support resistance points during the day and can often serve as a important pivot point for any ticker. You can expect price rejection or bounce when the price approaches these levels.
Key settings:
For each of the levels, user can adjust in the settings menu:
Line Colour
Line Thickness
Line Style
Label Text
Price Labelling on Label
Label Location (Offset from current bar)
Ability to turn on/off the price level and label
Display levels for either all days or on the day
Pivot points and levels
Quantify [Trading Model] | FractalystNote: In this description, "TM" refers to Trading Model (not trademark) and "EM" refers to Entry Model
What’s the indicator’s purpose and functionality?
You know how to identify market bias but always struggle with figuring out the best exit method, or even hesitating to take your trades?
I've been there. That's why I built this solution—once and for all—to help traders who know the market bias but need a systematic and quantitative approach for their entries and trade management.
A model that shows you real-time market probabilities and insights, so you can focus on execution with confidence—not doubt or FOMO.
How does this Quantify differentiate from Quantify ?
Have you managed to code or even found an indicator that identifies the market bias for you, so you don’t have to manually spend time analyzing the market and trend?
Then that’s exactly why you might need the Quantify Trading Model.
With the Trading Model (TM) version, the script automatically uses your given bias identification method to determine the trend (bull vs bear and neutral), detect the bias, and provide instant insight into the trades you could’ve taken.
To avoid complications from consecutive signals, it uses a kNN machine learning algorithm that processes market structure and probabilities to predict the best future patterns.
(You don’t have to deal with any complexity—it’s all taken care of for you.)
Quantify TM uses the k-Nearest Neighbors (kNN) machine learning algorithm to learn from historical market patterns and adapt to changing market structures. This means it can recognize similar market conditions from the past and apply those lessons to current trading decisions.
On the other hand, Quantify EM requires you to manually select your directional bias. It then focuses solely on generating entry signals based on that pre-determined bias.
While the entry model version (EM) uses your manual bias selection to determine the trend, it then provides insights into trades you could’ve taken and should be taking.
Trading Model (TM)
- Uses `input.source()` to incorporate your personal methodology for identifying market bias
- Automates everything—from bias detection to entry and exit decisions
- Adapts to market bias changes through kNN machine learning optimization
- Reduces human intervention in trading decisions, limiting emotional interference
Entry Model (EM)
- Focuses specifically on optimizing entry points within your pre-selected directional bias
- Requires manual input for determining market bias
- Provides entry signals without automating alerts or bias rules
Can the indicator be applied to any market approach/trading strategy?
Yes, if you have clear rules for identifying the market bias, then you can code your bias detection and then use the input.source() user input to retrieve the direction from your own indicator, then the Quantify uses machine-learning identify the best setups for you.
Here's an example:
//@version=6
indicator('Moving Averages Bias', overlay = true)
// Input lengths for moving averages
ma10_length = input.int(10, title = 'MA 10 Length')
ma20_length = input.int(20, title = 'MA 20 Length')
ma50_length = input.int(50, title = 'MA 50 Length')
// Calculate moving averages
ma10 = ta.sma(close, ma10_length)
ma20 = ta.sma(close, ma20_length)
ma50 = ta.sma(close, ma50_length)
// Identify bias
var bias = 0
if close > ma10 and close > ma20 and close > ma50 and ma10 > ma20 and ma20 > ma50
bias := 1 // Bullish
bias
else if close < ma10 and close < ma20 and close < ma50 and ma10 < ma20 and ma20 < ma50
bias := -1 // Bearish
bias
else
bias := 0 // Neutral
bias
// Plot the bias
plot(bias, title = 'Identified Bias', color = color.blue,display = display.none)
Once you've created your custom bias indicator, you can integrate it with Quantify :
- Add your bias indicator to your chart
- Open the Quantify settings
- Set the Bias option to "Auto"
- Select your custom indicator as the bias source
The machine learning algorithms will then analyze historical price action and identify optimal setups based on your defined bias parameters. Performance statistics are displayed in summary tables, allowing you to evaluate effectiveness across different timeframes.
Can the indicator be used for different timeframes or trading styles?
Yes, regardless of the timeframe you’d like to take your entries, the indicator adapts to your trading style.
Whether you’re a swing trader, scalper, or even a position trader, the algorithm dynamically evaluates market conditions across your chosen timeframe.
How Quantify Helps You Trade Profitably?
The Quantify Trading Model offers several powerful features that can significantly improve your trading profitability when used correctly:
Real-Time Edge Assessment
It displays real-time probability of price moving in your favor versus hitting your stoploss
This gives you immediate insight into risk/reward dynamics before entering trades
You can make more informed decisions by knowing the statistical likelihood of success
Historical Edge Validation
Instantly shows whether your trading approach has demonstrated an edge in historical data
Prevents you from trading setups that historically haven't performed well
Gives confidence when entering trades that have proven statistical advantages
Optimized Position Sizing
Analyzes each setup's success rate to determine the adjusted Kelly criterion formula
Customizes position sizing based on your selected maximum drawdown tolerance
Helps prevent account-destroying losses while maximizing growth potential
Advanced Exit Management
Utilizes market structure-based trailing stop-loss mechanisms
Maximizes the average risk-reward ratio profit per winning trade
Helps capture larger moves while protecting gains during market reversals
Emotional Discipline Enforcement
Eliminates emotional bias by adhering to your pre-defined rules for market direction
Prevents impulsive decisions by providing objective entry and exit signals
Creates psychological distance between your emotions and trading decisions
Overtrading Prevention
Highlights only setups that demonstrate positive expectancy
Reduces frequency of low-probability trades
Conserves capital for higher-quality opportunities
Systematic Approach Benefits
By combining machine learning algorithms with your personal bias identification methods, Quantify helps transform discretionary trading approaches into more systematic, probability-based strategies.
What Entry Models are used in Quantify Trading Model version?
The Quantify Trading Model utilizes two primary entry models to identify high-probability trade setups:
Breakout Entry Model
- Identifies potential trade entries when price breaks through significant swing highs and swing lows
- Captures momentum as price moves beyond established trading ranges
- Particularly effective in trending markets when combined with the appropriate bias detection
- Optimized by machine learning to filter false breakouts based on historical performance
Fractals Entry Model
- Utilizes fractal patterns to identify potential reversal or continuation points
- Also uses swing levels to determine optimal entry locations
- Based on the concept that market structure repeats across different timeframes
- Identifies local highs and lows that form natural entry points
- Enhanced by machine learning to recognize the most profitable fractal formations
- These entry models work in conjunction with your custom bias indicator to ensure trades are taken in the direction of the overall market trend. The machine learning component analyzes historical performance of these entry types across different market conditions to optimize entry timing and signal quality.
How Does This Indicator Identify Market Structure?
1. Swing Detection
• The indicator identifies key swing points on the chart. These are local highs or lows where the price reverses direction, forming the foundation of market structure.
2. Structural Break Validation
• A structural break is flagged when a candle closes above a previous swing high (bullish) or below a previous swing low (bearish).
• Break Confirmation Process:
To confirm the break, the indicator applies the following rules:
• Valid Swing Preceding the Break: There must be at least one valid swing point before the break.
3. Numeric Labeling
• Each confirmed structural break is assigned a unique numeric ID starting from 1.
• This helps traders track breaks sequentially and analyze how the market structure evolves over time.
4. Liquidity and Invalidation Zones
• For every confirmed structural break, the indicator highlights two critical zones:
1. Liquidity Zone (LIQ): Represents the structural liquidity level.
2. Invalidation Zone (INV): Acts as Invalidation point if the structure fails to hold.
How does the trailing stop-loss work? what are the underlying calculations?
A trailing stoploss is a dynamic risk management tool that moves with the price as the market trend continues in the trader’s favor. Unlike a fixed take profit, which stays at a set level, the trailing stoploss automatically adjusts itself as the market moves, locking in profits as the price advances.
In Quantify, the trailing stoploss is enhanced by incorporating market structure liquidity levels (explain above). This ensures that the stoploss adjusts intelligently based on key price levels, allowing the trader to stay in the trade as long as the trend remains intact, while also protecting profits if the market reverses.
What is the Kelly Criterion, and how does it work in Quantify?
The Kelly Criterion is a mathematical formula used to determine the optimal position size for each trade, maximizing long-term growth while minimizing the risk of large drawdowns. It calculates the percentage of your portfolio to risk on a trade based on the probability of winning and the expected payoff.
Quantify integrates this with user-defined inputs to dynamically calculate the most effective position size in percentage, aligning with the trader’s risk tolerance and desired exposure.
How does Quantify use the Kelly Criterion in practice?
Quantify uses the Kelly Criterion to optimize position sizing based on the following factors:
1. Confidence Level: The model assesses the confidence level in the trade setup based on historical data and sample size. A higher confidence level increases the suggested position size because the trade has a higher probability of success.
2. Max Allowed Drawdown (User-Defined): Traders can set their preferred maximum allowed drawdown, which dictates how much loss is acceptable before reducing position size or stopping trading. Quantify uses this input to ensure that risk exposure aligns with the trader’s risk tolerance.
3. Probabilities: Quantify calculates the probabilities of success for each trade setup. The higher the probability of a successful trade (based on historical price action and liquidity levels), the larger the position size suggested by the Kelly Criterion.
How can I get started to use the indicator?
1. Set Your Market Bias
• Choose Auto.
• Select the source you want Quantify to use as for bias identification method (explained above)
2. Choose Your Entry Timeframes
• Specify the timeframes you want to focus on for trade entries.
• The indicator will dynamically analyze these timeframes to provide optimal setups.
3. Choose Your Entry Model and BE/TP Levels
• Choose a model that suits your personality
• Choose a level where you'd like the script to take profit or move stop-loss to BE
4. Set and activate the alerts
What tables are used in the Quantify?
• Quarterly
• Monthly
• Weekly
Terms and Conditions | Disclaimer
Our charting tools are provided for informational and educational purposes only and should not be construed as financial, investment, or trading advice. They are not intended to forecast market movements or offer specific recommendations. Users should understand that past performance does not guarantee future results and should not base financial decisions solely on historical data.
Built-in components, features, and functionalities of our charting tools are the intellectual property of @Fractalyst Unauthorized use, reproduction, or distribution of these proprietary elements is prohibited.
- By continuing to use our charting tools, the user acknowledges and accepts the Terms and Conditions outlined in this legal disclaimer and agrees to respect our intellectual property rights and comply with all applicable laws and regulations.
Tracking Lines with TP/SL + Labels at LeftA simple indicator so you can set your TP and SL tolerance along with capital and leverage.
A red line and green line will represent where current TP and SL would be on the chart along with the number of tokens you need to trade to meet the USD capital to be trades.
Just gives a visual representation of SL to key zones on the chart so you can judge scalp entries a little better :)
Cycle Theory + Frequency TheoryCycle Theory attempts to predict, through volatility, support/resistance points where the market may reach/reverse a trend. This theory's calculation is based on a reference candle that the user chooses, usually the first candle of the day/week's session. From this point on, if the level is broken upwards or downwards, the 1st Cycle begins with the same distance between the high/low or open/close of the reference candle. From the 2nd Cycle onwards, the size becomes the sum of all the last cycles formed, and so on.
Frequency Theory is similar, but its levels always have the same size as the high/low or open/close of the reference candle.
Bull Bear Pivot by RawstocksThe "Bull Bear Pivot" indicator is a custom Pine Script (v5) tool designed for TradingView to assist traders in identifying key price levels and pivot points on intraday charts (up to 1-hour timeframes). It combines time-based open price markers, pivot high/low detection, and candlestick visualization to provide a comprehensive view of potential support, resistance, and trend reversal levels. Below is a detailed description of the indicator’s functionality, features, and intended use.
Indicator Overview:
The "Bull Bear Pivot" indicator is tailored for intraday trading, focusing on specific times of the day to mark significant price levels (open prices) and detect pivot points. It plots horizontal lines at the open prices of user-defined sessions, identifies pivot highs and lows on the current chart timeframe, and overlays custom candlesticks to highlight price action. The indicator is designed to work on timeframes of 1 hour or less (e.g., 1-minute, 3-minute, 5-minute, 15-minute, 30-minute, 60-minute) and includes a warning mechanism for invalid timeframes.
Key Features:
Time-Based Open Price Markers:
The indicator allows users to define up to five time-based sessions (e.g., 4:00 AM, 8:30 AM, 9:30 AM, 10:00 AM, and a custom time) to capture the open price at the start of each session.
For each session, it plots a horizontal line at the 1-minute open price, extending from the session start to the market close at 4:00 PM EST.
Each line is accompanied by a label positioned 5 bars to the right of the market close (4:00 PM EST), with the text right-aligned and vertically centered on the line.
Users can enable/disable each marker, customize the session time, label text, line color, and text color via the indicator’s settings.
Pivot Highs and Lows:
The indicator calculates pivot highs and lows on the current chart timeframe using the ta.pivothigh and ta.pivotlow functions.
Pivot highs are marked with green triangles above the bars, and pivot lows are marked with red triangles below the bars.
The pivot period (lookback/lookforward) is user-configurable, allowing flexibility in detecting short-term or longer-term reversals.
Custom Candlesticks:
The indicator overlays custom candlesticks on the chart, colored green for bullish candles (close > open) and red for bearish candles (close < open).
This feature helps visualize price action alongside the open price markers and pivot points.
Timeframe Restriction:
The indicator is designed to work on timeframes of 1 hour or less. If the chart timeframe exceeds 1 hour (e.g., 4-hour, daily), a warning label ("Timeframe > 1H Indicator Disabled") is displayed, and no elements are plotted.
Customizable Appearance:
Users can customize the appearance of the open price marker lines, including the line style (solid, dashed, dotted) and line width.
Labels for the open price markers have no background (transparent) and use customizable text colors.
CME Price Limits (Futures Prop Firm Rule)This indicator shows the CME Price Limit, combined with a safety distance that is used by several futures prop firms. Trading in the highlighted area means a rule violation for many Futures prop firm accounts.
The levels are calculated from the "Settlement as close" closing price of the previous daily candle.
JPMorgan Collar LevelsThis indicator visualizes the current JPMorgan Hedging Collar strategy commonly used by institutional funds like JHEQX. It plots three key levels:
– Short Call strike (upper bound)
– Long Put strike (protection level)
– Short Put strike (cost reduction)
The area between the long put and short call is shaded to represent the active hedging zone. This setup is updated quarterly and can influence SPX market behavior near expiration dates.
Inputs are customizable to reflect the latest collar configuration. Useful for traders tracking institutional hedging flows or analyzing market structure near key option expirations.
10K's RTH open ±0.35% for CMEInstant Visualization of ±0.35% from RTH Open — Spot Intraday Reversals at a Glance!
This is a visual tool designed for the U.S. regular trading hours (RTH), which instantly highlights the ±0.35% range from the RTH opening price of futures at the start of the session.
The range is displayed as a light purple box, accompanied by a dashed line marking the exact opening price, helping traders quickly assess how price reacts around this key level.
With adjustable transparency settings, this tool is ideal for intraday analysis of price positioning and directional strength — a valuable aid for short-term trading strategies.
Market Phases (ZigZag + MA + RSI)This script is a TradingView Pine Script that visualizes market phases using the ZigZag pattern, Moving Averages (MA), and the Relative Strength Index (RSI). It allows traders to identify key market conditions, such as accumulating, distributing, bullish, and bearish phases based on price movements and momentum indicators.
#### Components
1. ZigZag Settings:
- Depth: Controls the sensitivity of the ZigZag indicator. A higher value results in fewer price points being considered as reversals.
- Deviation: Defines the minimum percentage change needed to identify a ZigZag point, preventing small fluctuations from being registered.
- Backstep: Specifies the number of bars to look back for identifying highs and lows.
2. Moving Average Settings:
- MA Length: The number of periods used to calculate the moving average.
- MA Type: The type of moving average to use, either Simple Moving Average (SMA) or Exponential Moving Average (EMA).
3. RSI Settings:
- RSI Length: The period for calculating the RSI.
- Overbought Level: The threshold above which the asset is considered overbought.
- Oversold Level: The threshold below which the asset is considered oversold.
4. Calculations:
- Moving Average and RSI Calculation: The script calculates either an SMA or EMA and the RSI based on user-defined settings.
5. ZigZag Enhanced Calculation:
- It identifies swing highs and lows to determine the ZigZag points for improved trend analysis.
6. Trend Direction:
- The script checks the direction of the trend based on the latest ZigZag points.
7. Market Phase Determination:
- The script defines the market phase (Accumulation, Distribution, Bullish, Bearish) based on the trend direction and levels from the RSI and relationship with the moving average.
8. Background Colors:
- The background is tinted according to the identified market phase for visual clarity.
9. Labels and Plotting:
- Labels are generated at the last bar with the current phase and RSI value.
- The moving average and last ZigZag points are plotted on the chart for further reference.
### Conclusion
This script provides a comprehensive view of market conditions by integrating multiple indicators, helping traders make informed trading decisions based on market dynamics. The ability to visualize phases and key indicators aids in recognizing potential entry and exit points in trading strategies.
If you have any questions or need further modifications, feel free to ask!
50%er(PreMarket & ORB)50%er(PreMarket & ORB)
Overview:
50%er(PreMarket & ORB) is a streamlined version of my full 50%er script. It calculates the critical 50% level of the previous candle and extends this to daily, weekly, monthly, quarterly, and yearly timeframes. The script also detects and plots previous highs and lows for these timeframes, providing key price levels for traders. Additionally, it calculates and displays opening levels for the day, week, month, quarter, and year. A custom timeframe feature adds flexibility for setting 50% and high/low levels, catering to different trading preferences.
How It Works:
The script calculates the 50% midpoint of the previous candle’s high and low, a key support/resistance level for traders. It extends this logic across multiple timeframes, including daily, weekly, monthly, quarterly, and yearly, and tracks previous highs and lows for these periods. It also prints opening levels for various timeframes. The premarket high/low and ORB (Opening Range Breakout) levels are included when extended hours are enabled.
How to Use:
Adding to Chart: Apply the 50%er Script Lite to your TradingView chart.
Configuring Inputs: Adjust timeframes and levels to match your trading strategy. The custom timeframe feature allows for personalization.
Analyzing Levels: Use the plotted 50% lines and opening levels to identify potential support and resistance areas, as well as breakout or breakdown points.
Strategizing Trades: Incorporate these levels into your trading plan for potential entry and exit points.
What Makes It Original:
50%er Lite stands out for its simplicity and precision. It focuses on the essential 50% line and key price levels, offering a clear view of the market without unnecessary complexity. The inclusion of premarket levels and ORB breakout levels, along with the custom timeframe feature, makes it a versatile tool for traders of all levels.
Pivot Clouds [SS]Hey everyone,
Whopper indicator here that I have been working on for some time, excited to finally release it! So let's get into it!
☁️☁️ What are Pivot Clouds?! ☁️☁️
The concept for pivot clouds came from trailing and erroring different iterations of support and resistance (which ultimately led to the creation of the BIN Based Support and Resistance indicator).
In the design and creation of my BIN support and resistance indicator, I initially tried to do something similar with pivot points. However, I found pivots to be relatively ineffective as support and resistance, especially in very trendy markets, and the BIN approach reigned supreme. However, not wanting to abandon the utility of pivots, I tried something different, creating a pivot based SMA.
This proved most useful and very helpful for determining directions, rejections and trends! From there, came this indicator, the Pivot Clouds. This is currently iteration 32 haha, which will be the final iteration for the time being and most functional.
The pivot cloud indicator works by smoothing pivot highs and pivot lows over the course of your inputted length. My general suggestion is to keep it between 150 to 250. Going to low will make it incredibly choppy. Using 200 seems to be the sweet spot for most tickers.
Over the course of the pivot lookback, it collects all pivot highs and pivot lows, then averages them out to create 2 separate SMAs, those being an SMA for the pivot high and an SMA for the pivot low. Together, these create the cloud you see in the main chart.
In addition to creating this cloud, the indicator marks and tracks pivot maxes to both the upside and downside and will draw cloud support on a fall below the main cloud and cloud resistance on a rise above the main cloud, as exampled here:
Above:
And Below:
These clouds represent the average of the pivot high/pivot low and extend to the max or min (high or low depending on position on the main cloud).
💡 Alternative Abilities 💡
Resulting from the sometimes inadequacy of pivots to determine targets and resistance/support, the indicator is capable of pulling in ATR target prices. This allows the user to either use both, pivot max/min clouds AND ATR targets, or simply one or the other.
The ATR targets can be customized in the indicator settings, with a default of daily timeframe targets on a 14 ATR lookback.
Here are some examples of how the ATR targets look:
And to the upside:
📈 Standalone Strategy 📈
This indicator can be used as a standalone strategy, or to complement other strategies. I will go over both briefly, starting with standalone strategy:
Select your target preference (ATR, Pivot Maxes and Mins or both)
Long on a break and hold over the main cloud to the targets; or
Shrot on a break below the main cloud to the targets.
That simple!
🎯Supplemental to existing Strategy 🎯
This indicator for me is gold for my strategy, which involves longing or shorting to calculated target prices.
You essentially follow the above, only your targets are determined by your strategy. So for me, I look for a rejection or hold of the cloud, to long or short to my targets:
💰Customizing the Indicator 💰
Let's quickly go over these options:
Smooth length: Creates a smooth cloud. Suggested limits are 150 - 250
Lookback Length: This determines the length of lookback for the indicator to store historical pivot information and create the clouds.
Pivot Lookforward/backward: Allows the user to select custom pivot timeframes. The traditional rule is 10, but 5 sometimes is preferred on larger timeframes.
Show Pivot Max and Min: These enables the pivot max and min cloud for a crossover or crossunder of the main cloud.
ATR timeframe: determines the ATR target price levels to look for. You can toggle weekly, daily, hourly, whichever you prefer.
ATR Length: Allows you to customize the lookback for determining the ATR targets.
USE ATR targets: This will turn on / off the ATR targets, if you wish to use/not use these reference points with the indicator, same as with the pivot max and min cloud toggle.
And that's the indicator, folks!
Hope you like it,
Take care and safe trades!🚀
ORB - Futures and Stocks (Breakouts + Alerts + ORB Selector)This indicator shows the Opening Range Breakout (ORB) based on the time range you choose.
Important:
It only works for intraday trading on time frames less than 1 day (like 1-minute, 5-minute, or hourly charts).
You can use it with any stock or futures, such as US500, NAS100, or GER40.
Inputs:
ORB Range - Your preference.
Session Start
Time Zone Offset
Examples:
for EU Frankfurt, DAX (GER40):
Set your ORB range
Session Start 0900
Time Zone Offset +1
For US Stock Market and US500, NAS100:
Set your ORB range
Session Start 0930
Time Zone Offset -5
Created using ChatGPT
S/R Zones (Daily and Weekly) from 1H CandlesS/R Zones (Daily and Weekly) from 1H Candles
🧠 Core Concept: Higher Timeframe Accuracy via Lower Timeframe Data
This indicator delivers high-precision daily and weekly support & resistance (S/R) zones by extracting price-weighted volume data from the 1H timeframe, taking these data into account: approximate POCs, volume spikes, price pivots, etc. Unlike traditional indicators based on current or higher timeframes, this method provides more accurate and responsive levels, ideal for traders focusing on retests, breakouts, and structure-based entries.
⚠ Important: Due to Pine Script limitations, this indicator must be applied on a 1H chart, even though it is intended for daily and weekly trading setups.
🚨 Usage Restrictions
✅ Apply this indicator ONLY on a 1H chart — use the zones for trading decisions on the daily or weekly timeframe.
❌ Do not apply directly on daily or weekly charts — it will not function correctly under current TradingView limitations.
🛠 How to Use It
Input trading hours per day and trading days per week in the indicator settings according to the asset being analysed.
Use the 1H chart for application, but base your trades on the daily or weekly S/R zones it reveals.
Best suited for crypto and tech stocks. May work for commodities and FX, but might require parameter adjustments for optimal performance.
🔍 Support & Resistance Categorisation
Zones are determined by analysing price-weighted volume behaviour on the 1H timeframe, with a 3-day or 3-week confirmation period required before a zone is plotted.
📦 Zone Colors & Labels
• Blue – Daily Support
• Orange – Daily Resistance
• Green – Weekly Support
• Red – Weekly Resistance
• Aqua – 4H Support
• Fuchsia – 4H Resistance
4H Zones are designed to help fine-tune entries/exits when daily or weekly zones are too wide. They are less reliable due to signal strength limitations and should be treated as secondary reference levels. Only the latest 4H zones are shown for clarity.
🔄 Dynamic Features
✅ Automatic Zone Adjustment
When a daily or weekly zone breaks (as detected via the 4H chart), the indicator automatically shifts to the next relevant historical zone just above or below the most recent 1H candle. This reduces guesswork and simplifies post-breakout analysis. You can customise the appearance of adjusted zones in the indicator settings.
✅ Expanded Zone History
Supports up to 100 historical daily and weekly zones, offering a broader view of market structure and context. This setting is adjustable in the indicator menu.
📊 Example in Action
ETH just broke a major weekly support and multiple daily supports — a clearly bearish signal. But where’s the next key level?
The indicator instantly reveals the next major support range (e.g., 1540–1650), helping you decide whether to:
• 📉 Take profits on short positions
• 📈 Re-enter long positions if signs of reversal appear
🧩 Final Thoughts
This tool is more than an S/R indicator — it acts as a signal generator for both long and short trades. It will soon be integrated into a comprehensive trading system, including a risk management module.
📢 Stay tuned for updates – and happy trading! 🚀
Advanced OHLC ExporterThis Pine Script indicator provides one-click export of candlestick data (OHLC + Volume) from any TradingView chart. It displays the current candle's values in a clean table while ensuring all visible historical data is available for export in CSV format.
Key Features
📊 Visual Data Display
Real-time OHLC table in the top-right corner.
Color-coded values for quick analysis (green=high, red=low).
Volume shown in standardized formatting.
Data Export Ready
All plotted values appear in TradingView's Data Window.
Right-click → "Export Data" to save:
Open, High, Low, Close (OHLC) prices
Trading volume
Timestamps for each candle
⚙️ Customizable Output
Works on any timeframe (1m to 1M)
Compatible with: Forex, Stocks, Crypto, Futures
How Traders Use This
Technical Analysts - Export clean datasets for external analysis.
Backtesters - Quickly gather historical price data for strategy development.
Researchers - Study candlestick patterns with precise numerical data.
Grid Level Visualizer v1.0Overview
This indicator draws a customizable grid of horizontal price levels directly on your chart. It's designed to help traders visualize potential support and resistance zones, manage grid trading strategies, or simply divide a price range into equal segments. The script offers interactive controls, extensive customization options, and alert functionality.
Key Features:
Customizable Grid: Draws a grid based on user-defined Upper Price Bound and Lower Price Bound.
Interactive Bounds: Easily adjust the Upper and Lower bounds by dragging the corresponding lines directly on the chart (click the line first to select, then drag). Bounds can also be set numerically in the settings.
Adjustable Levels: Specify the total number of horizontal lines in the grid (Number of Grid Levels), including bounds.
Custom Styling: Independently configure the color, width, and style (Solid, Dashed, Dotted) for the boundary lines and the intermediate grid lines.
Price Labels: Optional display of price values for each grid level, positioned on the right side near the current bar.
Labels for boundary levels automatically inherit the boundary line colors.
Adjustable horizontal offset (Price Label Offset (X)) for labels.
Customizable text size (Text Size) and color (Price Text Color (Mid)) for mid-levels.
Grid Start Time: Define a specific date and time (Grid Start Time) from which the grid lines should start appearing on the chart (defaults to the beginning of the current month).
Line Extension: Grid lines automatically extend to the right margin of the chart.
Alert Condition: Provides a "Grid Level Cross" condition for creating custom alerts when price crosses any active grid level.
Alert Toggle: An option (Enable Alert Condition?) in the settings to enable or disable the availability of the "Grid Level Cross" condition when creating alerts.
Real-time Calculation: Uses calc_on_every_tick=true for responsive alert checking against the current price.
How to Use:
Add the "Improved Grid Level Visualizer" indicator to your chart.
Set Bounds: Adjust the Upper Price Bound and Lower Price Bound lines by clicking and dragging them on the chart, or set precise values in the indicator settings.
Set Levels: Define the Number of Grid Levels you need in the settings.
Set Start Time: Use the Grid Start Time input to control when the grid visualization begins.
Customize: Configure colors, line styles, label visibility, etc., in the settings panel.
Set Alerts (Optional): Follow the steps below.
Notes:
The grid levels are calculated purely based on the mathematical division of the specified price range. They do not automatically adapt to market structure unless you manually adjust the bounds.
When changing the Grid Start Time after the indicator has been running, you might need to refresh the chart or remove/re-add the indicator for the visual starting point to update correctly.
zigzag all timeThe indicator is applicable across all timeframes, meaning it can be used for short-term (e.g., minutes, hours) or long-term (e.g., days, weeks, months) trading strategies. This ensures that the analysis is versatile and adaptable to different trading styles.
AlphaSignal | MindMarketAlphaSignal — Smart Indicator for Precise Entries
What does AlphaSignal do?
AlphaSignal looks for moments when the price moves too far from its average, volume spikes, and overall market activity increases. When these things line up, it gives you a clean, high-quality trading signal — either to buy or sell.
How it works :
Activity & Volume Detection
It monitors for sudden bursts in trading volume and volatility — clear signs that something important is happening in the market.
Price Deviation with Nadaraya-Watson Envelope
The indicator uses a smooth curve (called the Nadaraya-Watson estimate) to track the average price. When price drifts too far from this curve, it might be ready to snap back. That’s where AlphaSignal starts paying attention.
Signal Rating System
Each potential trade gets a score based on:
Market activity
Volume deviation
How far price is from the NW envelope
(Optionally) Trend strength and momentum via ADX, RSI, MACD
Only if the total score is high enough — a signal is fired.
Advanced Filters (Optional)
Want more confirmation? Turn on ADX, RSI, and MACD checks to avoid weak setups during choppy, low-trend periods.
Cooldown Logic
To avoid overtrading, AlphaSignal waits a set number of bars between signals — you can customize this.
Trading Suggestions (Signal Panel)
AlphaSignal gives you real-time trading guidance with a simple suggestion box:
BUY NOW / SELL NOW
All conditions are met, rating is strong — take action.
PREPARE BUY / PREPARE SELL
No full confirmation yet, but the price is very close to key levels (within 1.5% of the NW envelope). Get ready — a signal might appear soon.
AWAIT BUY / AWAIT SELL
The market is leaning toward a buy or sell, but price isn’t in a good spot yet. Be patient and watch for better positioning.
Autofib Extensions | DTDHello trader comuunity!
I'm introducing another script that is part of my main day-trading strategy. We all know regardless of what strategy we use, we need to know what levels offer the least amount of risk to our trade entry and a great tool to anticipate how far a move might go or what level a move may retrace to are the Fibonacci Retracement and Extensions. This indicator combines both together, but with a twist.
The main elements of the script are:
1. Multiple Session High and Lows | Developing my first script led me to understand that measuring key times during each session provides understanding of the market's continuity. I have provided 3 "sessions' a user can define according to CST time where the script saves the high and low of that session window to produce the retracement and extensions from those plots. Currently, the levels are always plotted from low to high (with the 0 mark being the high) and negative values provided so the levels are consistent. You can toggle each session on or off.
2. Coloring Key Retracements / Extensions | I use a dark background for my charts so the default colors help me distinguish from other another indicator I use. Feel free to adjust the colors to your preference. I consider 3 different colors because of their significance. Retracements that you want to see continue fall back into the .50 to .618 level (this I consider the "Golden Zone"). While basic Elliott Wave Theory states a wave is completed near the 1.618 level (this I consider "Major Extensions"). Everything isn't noise, but minor levels in a larger sequence.
______________
Script Limitations
All of my scripts are made with the help of ChatGPT so there are going to be limitations. One current one that I have made progress on, but not fully is when you are viewing a timeframe where the candle doesn't start when a session window starts. On smaller timeframes like the 7-minute this is not an issue. However, on the hourly, if your session window starts at the half hour which the 3rd session default window does, the lines will not produce. I will hopefully have this rectified in the near future. I will open the script since none of this work is original in nature and I would love to see how others can create a better product. Also, this is mainly a futures trading tool. If you are using this on stocks you will find it not as useful if the session window is too wide since the script waits until the session window closes to calculate the extension values.
Cheers,
DTD
Wyckoff Schematic - Accumulation [TrendX_]Wyckoff Schematic 1 - Accumulation is an advanced Wyckoff method tool on TradingView, designed to automate the identification of critical phases and price structures within the Wyckoff Accumulation Schematic. By detecting key events such as SC (Selling Climax), AR (Automatic Rally), Spring, and SOS (Sign of Strength), this tool helps traders visualize institutional accumulation patterns, anticipate trend reversals, and identify potential entry points aligned with the Wyckoff model—all without requiring hours of manual monitoring. The indicator dynamically labels key points, draws accumulation zones, and triggers alerts upon phase confirmations, reducing manual analysis and emotional bias.
💎 FEATURES
▶ Phase A: Bottom Identification
Auto-detects Selling Climax (SC), Automatic Rally (AR), and Secondary Test (ST).
Customizable initial trend detection: FTD (Follow-Through Day), Market Structure Shift, Triple MA Crossover, or Ichimoku Cloud.
▶ Phase B: Accumulation Range Formation
Identifies SOS(b) and ST(b) in Phase B
Customizable sweep levels for ST detection: previous SC / ST(a) / Fibonacci retracement levels of AR & SC.
▶ Phase C: Accumulation Confirmation
Flags Spring (false breakdown) and Test (confirmation of false breakdown).
▶ Phase D: Breakout Preparation
Detects SOS and BU/LPS for breakout confirmation.
▶ Visual Tools
Auto-draws accumulation range SC, AR, SOS(b) with real-time extensions.
Labels all critical events (SC, AR, ST, SOS, Spring, LPS) with text and markers.
Draws colored boxes for confirmed phases A, B and C, and triggers alerts for start of Markup with SOS and BU/LPS.
🔎 BREAKOUT
Phase A: Halting the Downtrend
▶ Key Events: SC, AR, ST(a).
▶ Functions:
SC: Marks panic selling, often with high volume.
AR: Sharp rebound after SC, reflecting short-term demand.
ST(a): Retest of SC lows to confirm weakening supply.
▶ Importance:
Phase A signals the end of a downtrend. The SC shows exhaustion, while the AR and ST confirm that sellers are losing control. Customizable trend detection (e.g., Ichimoku Cloud or FTD) ensures alignment with broader market context or your preference.
Phase B: Building the Accumulation Range
▶ Key events: SOS (Pha B), ST (Pha B).
▶ Functions:
SOS(b): A rally breaking above the AR, indicating strong demand.
ST(b): Retests of SC / ST(a) / Fib level to sweep liquidity (trap late sellers).
▶ Importance:
Phase B confirms the sideways range. SOS reflects institutional buying, while ST(b) traps sellers. Sweeping SC / ST(a) / Fib level would help identify false breakdowns.
Phase C: Spring & Test
▶ Key events: Spring (false breakdown), Test (confirmation).
▶ Functions:
Spring: A deliberate drop below Phase B support to eliminate weak traders.
Test: Retest of the Spring low to confirm sustained demand.
▶ Importance:
Phase C is the final "shakeout" to confirm accumulation. The Spring traps weak hands, while the Test validates support, confirming the institution has bought enough, signaling readiness for Markup.
Phase D: Breakout / Start of Markup
▶ Key events: SOS, BU/LPS.
▶ Functions:
SOS: A strong rally breaking above the accumulation range.
BU/LPS: Pullback after SOS to retest the breakout level.
▶ Importance:
Phase D confirms the start of a Markup. SOS shows demand overpowering supply, while BU/LPS offers low-risk entry points.
Accumulation Range & Visual Tools
▶ Accumulation Range: Drawn between SC (low) and AR (high), reflecting institutional buying activity.
▶ Labels/Boxes: Clear labels (SC, AR, ST, SOS, Spring, …) track each phase.
▶ Alerts: Notifies users when SOS or BU/LPS appears.
🛠️ USAGE
▶ Configuration
Phase A: Select trend detection method based on your preference and trading style (FTD, Market Structure, Triple MA, Mây Ichimoku).
Phase B: Adjust sweep levels (SC, ST(a), Fibonacci 61.8% của AR & SC).
▶ Interpretation
Bullish Trend: Confirmed Phase C (Spring + Test) followed by SOS in Phase D.
▶ Trading Strategy
Enter long positions at BU/LPS (Phase D) with volume or momentum confirmation.
Uses other Break-out strategy after SOS appear for Long Entry.
DISCLAIMER
This indicator is not financial advice, it can only help traders make better decisions. There are many factors and uncertainties that can affect the outcome of any endeavor, and no one can guarantee or predict with certainty what will occur. Therefore, one should always exercise caution and judgment when making decisions based on past performance.
Prior LevelThe "Prior Level" indicator displays the previous day's key price levels (Open, High, Low, Close) directly on your chart. These reference levels are essential for intraday trading strategies, support/resistance analysis, and breakout identification.
Key features:
- Shows previous session's Open, High, Low and Close values
- Customizable line colors for better visual distinction
- Adjustable line length for cleaner chart appearance
- Optional data table showing exact values
- Simple and lightweight design for easy chart reading
This indicator helps traders identify important price zones from the previous trading session, allowing for more informed trading decisions based on how current price action interacts with these established levels.
QT NY Session High/LowShows Asia & London High/Low which are key liquidity points price will react to.
You can also adjust the NY AM 6am - 12pm EST range to divide the time frames into 4 quarters
It delivers NY AM true open and the true day open
It gives you previous day high & previous day low
Smart Dynamic Levels [ATR-Based]Smart Dynamic Levels
Automated Support & Resistance Levels Based on Market Volatility
Overview:
This advanced indicator automatically plots dynamic support and resistance levels based on the Average True Range (ATR), creating meaningful price zones that adapt to changing market conditions. Unlike static round-number levels, these volatility-adjusted zones provide more relevant technical reference points.
Key Features:
Volatility-Responsive: Levels automatically adjust based on the asset's ATR
Smart Visualization:
Color gradient shows strength of each level (darker = stronger)
Bullish (green) levels below price, bearish (red) levels above
Customizable Settings:
Adjust ATR length (14-period default)
Modify level sensitivity with ATR multiplier (1.5x default)
Choose number of levels to display (5 above/below default)
Toggle labels and line extensions
How It Works:
Calculates the asset's true volatility using ATR
Rounds to significant price intervals based on current volatility
Plots equidistant levels above and below current price
Colors levels based on their position relative to price
Automatically updates as market conditions change
Recommended Use:
Day Trading: Identify intraday support/resistance zones
Swing Trading: Spot potential reversal areas
Breakout Trading: Watch for moves beyond key levels
Works on all markets: Stocks, Forex, Crypto, Futures
Settings Guide:
ATR Length: Higher values for smoother levels (14-20)
Multiplier: Increase for wider levels (1.5-3x)
Levels Count: More levels for higher timeframes (3-10)
Pro Tips:
Combine with trend analysis - levels are more significant when aligned with trend
Watch for price reactions at these levels for confirmation
Use wider levels (higher multiplier) for volatile assets
Liquidity Heatmap SwiftEdgeDescription
Liquidity Heatmap with Buy/Sell Side (Blue/Red) is a technical analysis tool designed to help traders identify potential liquidity zones in the market by combining swing high/low detection with volume analysis, visualized as a heatmap overlay on the chart. This script highlights areas where significant buying or selling pressure may exist, often acting as support or resistance levels, and provides a clear visual representation of these zones using color-coded heatmap boxes and labeled bubbles.
What It Does
The script identifies key price levels (swing highs and lows) where liquidity is likely to be concentrated, such as stop-loss clusters or pending orders. These levels are then grouped into a heatmap, with blue zones representing potential buy-side liquidity (below the current price) and red zones indicating sell-side liquidity (above the current price). Each zone is marked with a bubble showing the estimated liquidity amount, derived from volume data, to help traders gauge the strength of the level.
How It Works
The script combines three main components to create a comprehensive liquidity visualization:
Swing Highs and Lows Detection:
The script uses the ta.pivothigh and ta.pivotlow functions to identify swing highs and lows over a user-defined lookback period (Swing Length). These levels often represent areas where price has reversed, indicating potential liquidity zones where stop-losses or pending orders may be placed.
Volume Analysis:
Volume data at each swing high/low is captured and averaged over a specified period (Volume Average Length). This volume is then scaled using a multiplier (Volume Multiplier for Liquidity) to estimate the liquidity amount at each level, displayed in thousands (e.g., "10K") on the chart via labeled bubbles.
Heatmap Visualization:
The identified levels are grouped into price bins to form a heatmap. The price range is divided into a user-defined number of bins (Number of Heatmap Bins), and each bin is drawn as a colored box (blue for buy-side, red for sell-side). The transparency of the heatmap boxes can be adjusted (Heatmap Transparency) to ensure they do not obscure the price action.
Why Combine These Components?
The combination of swing highs/lows, volume analysis, and a heatmap provides a powerful way to visualize liquidity in the market. Swing highs and lows are natural points where liquidity tends to accumulate, as they often coincide with areas where traders place stop-losses or pending orders. By incorporating volume data, the script quantifies the potential strength of these levels, giving traders insight into the magnitude of liquidity present. The heatmap visualization then aggregates these levels into a clear, color-coded overlay, making it easy to see where buy-side and sell-side liquidity is concentrated without cluttering the chart.
This mashup is particularly useful because it bridges price action (swing levels), market activity (volume), and visual clarity (heatmap), offering a holistic view of potential support and resistance zones that might influence price movements.
How to Use It
Add the Indicator to Your Chart:
Apply the script to your chart by adding it from the Pine Script library. It will overlay directly on your price chart.
Interpret the Heatmap:
Blue Zones (Buy-Side Liquidity): These appear below the current price and indicate levels where buying pressure or stop-losses from short positions may be located.
Red Zones (Sell-Side Liquidity): These appear above the current price and indicate levels where selling pressure or stop-losses from long positions may be located.
The intensity of the color is controlled by the Heatmap Transparency setting—lower values make the zones more opaque, while higher values make them more transparent.
Analyze the Bubbles:
Each liquidity zone is marked with a bubble showing the estimated liquidity amount in thousands (e.g., "10K"). The size of the bubble is scaled by the Bubble Size Multiplier, with larger bubbles indicating higher liquidity.
Adjust Settings for Your Needs:
Liquidity Settings:
Swing Length: Controls the lookback period for detecting swing highs and lows. A smaller value (e.g., 10) is better for shorter timeframes like 1-minute charts, while a larger value (e.g., 50) suits higher timeframes.
Liquidity Threshold: Defines how close two levels must be to be considered the same, preventing duplicate zones.
Volume Average Length: Sets the period for averaging volume data at swing points.
Volume Multiplier for Liquidity: Scales the volume to estimate liquidity amounts shown in the bubbles.
Lookback Period (Hours): Limits how far back the script looks for liquidity zones.
Use Price Window Filter: If enabled, only shows zones within a price range defined by Liquidity Window (Points per Side).
Heatmap Settings:
Number of Heatmap Bins: Determines how many price bins the heatmap is divided into. More bins create a finer resolution but may clutter the chart.
Heatmap Bin Height (Points): Sets the vertical height of each heatmap box in price points.
Heatmap Transparency: Adjusts the transparency of the heatmap boxes (0 = fully opaque, 100 = fully transparent).
Display Settings:
Bubble Size Multiplier: Scales the size of the bubbles showing liquidity amounts.
Trading Application:
Use the heatmap to identify potential support (blue zones) and resistance (red zones) levels where price may react.
Pay attention to zones with larger bubbles, as they indicate higher liquidity and may have a stronger impact on price.
Combine with other analysis tools (e.g., trendlines, indicators) to confirm trade setups.
What Makes It Original?
This script stands out by integrating swing high/low detection with volume-based liquidity estimation and a heatmap visualization in a single tool. Unlike traditional support/resistance indicators that only plot static lines, this script dynamically aggregates liquidity zones into a heatmap, making it easier to see clusters of potential buying or selling pressure. The addition of volume-derived liquidity amounts in labeled bubbles provides a unique quantitative measure of each zone's strength, helping traders prioritize key levels. The color-coded buy/sell distinction further enhances its utility by visually separating zones based on their likely market impact.
Example Use Case
On a 1-minute chart of EUR/USD, you might set Swing Length to 10 to capture short-term pivots, Lookback Period (Hours) to 4 to focus on recent data, and Liquidity Window to 200 points (20 pips) to show only nearby zones. The heatmap will then display blue zones below the current price where buy-side liquidity may act as support, and red zones above where sell-side liquidity may act as resistance. A bubble showing "50K" at a blue zone indicates significant buy-side liquidity, suggesting a potential bounce if the price approaches that level.
Pivot Points)Pivot Point Display:
Calculate and draw the Pivot Point line (center point).
Calculate and display Support and Resistance levels.
Types of Pivot Calculation Methods:
Classic (default)
Ability to select other methods such as Fibonacci, Camarilla, Woodie's (but not yet implemented in the code).
Support and Resistance Lines:
Four resistance levels (R1, R2, R3, R4) in red.
Four support levels (S1, S2, S3, S4) in bright green.
Ability to adjust line thickness:
The user can change the thickness of the lines.
Value Labeling:
Display a numerical value for Pivot, resistance and support next to each level.
Automatic Update:
Delete previous lines and labels and draw new lines on the last candle.
Works on all timeframes:
This indicator works on different timeframes such as 1 minute, 5 minutes, 1 hour, 4 hours, daily, weekly and monthly.