Vietnamese: Swing Low Detection with SMA Bands & BackgroundThis script detects **swing lows** using a dynamic SMA-based logic and visually highlights them on the chart.
Features
Customizable Moving Averages: Supports multiple MA types (SMA, EMA, WMA, RMA, HMA, DEMA, TEMA, VWMA).
Swing Low Visualization: Identifies swing lows when price closes below the SMA of lows and exits once price trades above the SMA of highs.
Smart Rectangles: Marks detected swing lows with labeled boxes for clear visual reference.
Background Highlights**: Dynamically shades the chart background when price breaks below recent swing lows, helping traders spot potential breakdown zones.
Configurable Parameters: Period length, rectangle length, and MA source can all be tuned.
Use Cases
Spot breakdown/bearish continuation signals when price closes under recent lows.
Combine with higher timeframe trend analysis for confluence.
Notes
* This tool is designed for **visual analysis** and is not a standalone buy/sell signal.
* Works best when combined with broader trend analysis, support/resistance levels, and volume.
Точки разворота и уровни
VXN Smart Money ConceptsThis indicator is based on other open source scripts. It's designed specifically for Nasdaq futures contracts (NQ and MNQ). It implements Smart Money Concepts (SMC) tools including internal and swing market structures, order blocks, equal highs/lows, fair value gaps, premium/discount zones, and multi-timeframe highs/lows.
The indicator overlays these elements on the chart to help identify potential reversal and continuation points in the market.
A key feature is the integration of the VXN (CBOE Nasdaq Volatility Index) to provide directional bias through background coloring:
- Green background: Indicates a bullish VXN trend (short-term EMA below long-term SMA), suggesting lower volatility and potential upward momentum. Users should prioritize bullish breakout signals (e.g., Bullish BOS or CHoCH) in this condition.
- Red background: Indicates a bearish VXN trend (short-term EMA above long-term SMA), suggesting higher volatility and potential downward pressure. Users should prioritize bearish breakout signals (e.g., Bearish BOS or CHoCH) in this condition.
Always align breakout signals from structures (BOS/CHoCH) and order blocks with the VXN direction for higher probability trades. For example, take long positions on bullish breakouts only during green backgrounds, and short positions on bearish breakouts only during red backgrounds.
VHB by bigmmVolume-Based Support/Resistance Levels Indicator identifies significant price levels based on high-volume trading activity across three timeframes (4H, D, W). The script draws horizontal lines at key support/resistance levels where trading volume exceeded 60% of the maximum volume observed over the previous 499 periods.
Analyzes volume spikes on 4-hour, daily, and weekly timeframes
Displays colored lines (green for bullish candles, red for bearish candles)
Maintains only the 5 most recent significant levels to avoid chart clutter
Labels each line with its respective timeframe (4H, 1D, 1W)
Lines extend in real-time to show current relevance of each level
Traders can use these volume-based levels to identify potential support/resistance zones and make informed decisions about entry/exit points, recognizing areas where significant trading activity previously occurred.
Pivot Zone Reversal SignalsThe Pivot Zone Reversal Signals indicator is a technical analysis tool designed to highlight high-potential market turning points by combining pivot detection, RSI momentum filtering, and volume surge confirmation. It automatically identifies and marks significant swing highs and lows (pivots) on the chart, then issues "REV BUY" or "REV SELL" labels whenever price reverses from these levels—only when supported by overbought/oversold RSI and an above-average volume spike. This multi-layered approach sharply increases the reliability of reversal signals, helping traders spot key entries and exits right as momentum shifts and liquidity surges. The PZRS indicator is ideal for catching bounces, market tops/bottoms, and filtering out weak reversals for confident, actionable trade decisions.
VXN Darvas BoxThis indicator is based on other open source scripts. It's designed for Nasdaq futures (NQ or MNQ). It is based on the Darvas Box concept, plotting boxes to identify price breakouts, with buy/sell signals filtered by the VXN index direction to align with bullish or bearish trends.
Сигналы_magistraturaNew Custom Indicator "Signals_magistratura" — How to Get Entry Signals (Long & Short)
🔹 Big news for traders — a new tool has arrived
— Our team has developed a custom indicator that highlights potential entry points.
— It doesn’t guess. It reads market structure and shows real reversal and continuation zones.
🔍 How does the indicator work?
🔹 Trend-aligned signals — enter at the start of an impulse
📌 These signals help you enter early, at the beginning of a move — not after the train has left.
🔹 Breakout signals — two key scenarios
1. False break & reversal (Liquidity grab)
— Price breaks a key level, sweeps stops, then reverses,
— Followed by a strong bounce.
→ Perfect setup for a reversal trade.
2. True breakout — trend continuation
— If price closes and holds beyond a key level,
→ You can enter in the direction of the breakout.
— Signal is strongest when confirmed by high volume.
🔹 Works on stocks — not just crypto
— Example: Signal triggered on touching the upper boundary of the daily SMA channel,
— This indicates an anomalous deviation,
→ Often followed by a pullback toward the moving average.
📌 These levels act as reversal zones, especially when confirmed by volume.
🧩 How to strengthen the signals?
🔹 Combine with "SMA Channels Magistratura"
— Highlights gaps between SMA channels,
— These zones = market extremes, where price is "overheated",
→ High probability of correction or new impulse after.
🔹 Use divergence
— Built-in enhanced RSI analysis (not classic RSI),
— Helps spot trend weakening before reversal.
✅ How to use the indicator?
— Not as a magic button,
— But as a filter and confirmation tool for your strategy.
Works for:
→ Cryptocurrencies,
→ Russian stocks,
→ Forex,
→ Intraday & swing trading.
📌 Especially useful if:
You’re tired of paid signals,
Haven’t built your own strategy yet,
Want to trade systematically, not randomly.
🚀 Your move
Pause the video, add the indicator to your chart, test it on your favorite assets.
Then comment below: how did the signal perform?
→ Let’s discuss!
💡 This indicator is not a trading signal.
It’s a tool for those who want to see deeper, enter earlier, and trade with precision.
Add it. Test it. Improve your trading by 70%.
Good luck!
Dips & Rips — OVERLAY (Triangles on Price Only, size fixed)This script calculates extreme dips (blue triangle) or rips (yellow triangle) as likely reversal points, with confirmation long (green triangles) and short (red triangles) triggers occurring on subsequent RSI divergences.
Autoback Grid Lab [trade_lexx]Autoback Grid Lab: Your personal laboratory for optimizing grid strategies.
Introduction
First of all, it is important to understand that Autoback Grid Lab is a powerful professional tool for backtesting and optimization, created specifically for traders using both grid strategies and regular take profit with stop loss.
The main purpose of this script is to save you weeks and months of manual testing and parameter selection. Instead of manually testing one combination of settings after another, Autoback Grid Lab automatically tests thousands of unique strategies on historical data, providing you with a comprehensive report on the most profitable and, more importantly, sustainable ones.
If you want to find mathematically sound, most effective settings for your grid strategy on a specific asset and timeframe, then this tool was created for you.
Key Features
My tool has functionality that transforms the process of finding the perfect strategy from a routine into an exciting exploration.
🧪 Mass testing of thousands of combinations
The script is able to systematically generate and run a huge number of unique combinations of parameters through the built-in simulator. You set the ranges, and the indicator does all the work, testing all possible options for the following grid settings:
* Number of safety orders (SO Count)
* Grid step (SO Step)
* Step Multiplier (SO Multiplier) for building nonlinear grids
* Martingale for controlling the volume of subsequent orders
* Take Profit (%)
* Stop Loss (%), with the possibility of calculating both from the entry point and from the dynamic breakeven line
* The volume of the base order (Volume BO) as a percentage of the deposit
🏆 Unique `FinalScore` rating system
Sorting strategies by net profit alone is a direct path to self—deception and choosing strategies that are "tailored" to history and will inevitably fail in real trading. To solve this problem, we have developed FinalScore, a comprehensive assessment of the sustainability and quality of the strategy.
How does it work?
FinalScore analyzes each combination not one by one, but by nine key performance metrics at once, including Net Profit, Drawdown, Profit Factor, WinRate, Sharpe coefficients, Sortino, Squid and Omega. Each of these indicators is normalized, that is, reduced to a single scale. Then, to test the strategy for strength, the system performs 30 iterations, each time assigning random weights to these 9 metrics. A strategy gets a high FinalScore only if it shows consistently high results under different evaluation criteria. This proves her reliability and reduces the likelihood that her success was an accident.
📈 Realistic backtesting engine
The test results are meaningless if they do not take into account the actual trading conditions. Our simulator simulates real trading as accurately as possible, taking into account:
* Leverage: Calculation of the required margin to open and hold positions.
* Commission: A percentage commission is charged each time an order is opened and closed.
* Slippage: The order execution price is adjusted by a set percentage to simulate real market conditions.
* Liquidation model: This is one of the most important functions. The script continuously monitors the equity of the account (capital + unrealized P&L). If equity falls below the level of the supporting margin (calculated from the current value of the position), the simulator forcibly closes the position, as it would happen on a real exchange. This eliminates unrealistic scenarios where the strategy survives after a huge drawdown.
🔌 Integration with external signals
The indicator operates in two modes:
1. `No Signal': Standard mode. The trading cycle starts immediately as soon as the previous one has been closed. Ideal for testing the "pure" mechanics of the grid.
2. `External Signal`: In this mode, a new trading cycle will start only when a signal is received from an external source. You can connect any other indicator (such as the RSI, MACD, or your own strategy) to the script and use it as a trigger to log in. This allows you to combine the power of a grid strategy with your own entry points.
📊 Interactive and informative results panel
Upon completion of the calculations, a detailed table with the TOP N best strategies appears on the screen, sorted according to your chosen criterion. For each strategy in the rating, you will see not only the key metrics (Profit, Drawdown, duration of transactions), but also all the parameters that led to this result. You can immediately take these settings and apply them in your trading.
Application Options: How To Solve Your Problems
Autoback Grid Lab is a flexible tool that can be adapted to solve various tasks, from complete grid optimization to fine—tuning existing strategies. Here are some key scenarios for its use:
1. Complete Optimization Of The Grid Strategy
This is the basic and most powerful mode of use. You can find the most efficient grid configuration for any asset from scratch.
* How to use: Set wide ranges for all key grid parameters ('SO Count`, SO Step, SO Multiplier, Martingale, TP, etc.).
* In the `No Signal` mode: You will find the most stable grid configuration that works as an independent, constantly active strategy, regardless of which-or entrance indicators.
* In the `External Signal` mode: You can connect your favorite indicator for input (for example, RSI, MACD or a complex author's script) and find the optimal grid parameters that best complement your input signals. This allows you to turn a simple signaling strategy into a full-fledged grid system.
2. Selecting the Optimal Take Profit and Stop Loss for Your Strategy
Do you already have an entry strategy, but you are not sure where it is best to put Take Profit and Stop Loss? Autoback Grid Lab can solve this problem as well.
* How to use:
1. Disable optimization of all grid parameters (uncheck SO Count, SO Step, Martingale, etc.). Set the Min value for SO Count to 0.
2. Set the ranges for iteration only for 'Take Profit` and `Stop Loss'.
3. Turn on the External Signal mode and connect your indicator with input signals.
* Result: The script will run your historical entry signals with hundreds of different TP and SL combinations and show you which stop order levels bring maximum profit with minimal risk specifically for your entry points.
3. Building a Secure Network with Risk Management
Many traders are afraid of grid strategies because of the risk of large drawdowns. With the help of the optimizer, you can purposefully find the parameters for such a grid, which includes mandatory risk management through Stop Loss.
* How to use: Enable and set the range for Stop Loss, along with other grid parameters. Don't forget to test both types of SL calculations (`From entry point` and `From breakeven line`) to determine which one works more efficiently.
* Result: You will find balanced strategies in which the grid parameters (number of orders, martingale) and the Stop Loss level are selected in such a way as to maximize profits without going beyond the acceptable risk level for you.
How To Use The Indicator (Step-By-Step Guide)
Working with the Autoback Grid Lab is a sequential process consisting of four main steps: from initial setup to analysis of the finished results. Follow this guide to get the most out of the tool.
Step 1: Initial Setup
1. Add the indicator to the chart of your chosen asset and timeframe.
2. Open the script settings. The first thing you should pay attention to is the ⚙️ Optimization Settings ⚙️ group.
3. Set the `Bars Count'. This parameter determines how much historical data will be used for testing.
* Important: The more bars you specify, the more statistically reliable the backtest results will be. We recommend using the maximum available value (25,000) to test strategies at different market phases.
* Consider: The indicator performs all calculations on the last historical bar. After applying the TradingView settings, it will take some time to load all the specified bars. The results table will appear only after the data is fully loaded. Don't worry if it doesn't appear instantly. And if an error occurs, simply switch the number of combinations to 990 and back to 1000 until the table appears.
Step 2: Optimization Configuration
At this stage, you define the "universe" of parameters that our algorithm will explore.
1. Set the search ranges (🛠 Optimization Parameters 🛠 group).
For each grid parameter that you want to optimize (for example, SO Count or `Take Profit'), you must specify three values:
* Min: The minimum value of the range.
* Max: The maximum value of the range.
* Step: The step with which the values from Min to Max will be traversed.
*Example:* If you set Min=5, Max=10, and Step=1 for SO Count, the script will test strategies with 5, 6, 7, 8, 9, and 10 safety orders.
* Tip for users: To get the first results quickly, start with a larger step (for example, TP from 0.5% to 2.5% in 0.5 increments instead of 0.1). After you identify the most promising areas, you can perform a deeper analysis by expanding the ranges around these values.
2. Set Up Money Management (Group `💰 Money Management Settings 💰`).
Fill in these fields with the values that best match your actual trading conditions. This is critically important for obtaining reliable results.
* Capital: Your initial deposit.
* Leverage: Leverage.
* Commission (%): Your trading commission as a percentage.
* Slippage (%): Expected slippage.
* Liquidation Level (%): The level of the supporting margin (MMR in %). For example, for Binance Futures, this value is usually between 0.4% and 2.5%, depending on the asset and position size. Specify this value for your exchange.
3. Select the Sorting Criterion and the Direction (Group `⚙️ Optimization Settings ⚙️').
* `Sort by': Specify the main criteria by which the best strategies will be selected and sorted. I strongly recommend using finalScore to find the most balanced and sustainable strategies.
* `Direction': Choose which trades to test: Long, Short or Both.
Step 3: Start Testing and Work with "Parts"
The total number of unique combinations generated based on your ranges can reach tens of millions. TradingView has technical limitations on the number of calculations that the script can perform at a time. To get around this, I implemented a "Parts" system.
1. What are `Part` and `Combinations in Part'?
* `Combinations in Part': This is the number of backtests that the script performs in one run (1000 by default).
* `Part`: This is the number of the "portion" of combinations that you want to test.
2. How does it work in practice?
* After you have everything set up, leave Part:1 and wait for the results table to appear. You will see the TOP N best strategies from the first thousand tested.
* Analyze them. Then, to check the next thousand combinations, just change the Part to 2 in the settings and click OK. The script will run a test for the next batch.
* Repeat this process by increasing the Part number (`3`, 4, 5...), until you reach the last available part.
* Where can I see the total number of parts? In the information row below the results table, you will find Total parts. This will help you figure out how many more tests are left to run.
Step 4: Analyze the Results in the Table
The results table is your main decision—making tool. It displays the best strategies found, sorted by the criteria you have chosen.
1. Study the performance metrics:
* Rating: Position in the rating.
* Profit %: Net profit as a percentage of the initial capital.
* Drawdown%: The maximum drawdown of the deposit for the entire test period.
* Max Length: The maximum duration of one transaction in days, hours and minutes.
* Trades: The total number of completed trades.
2. Examine the winning parameters:
* To the right of the performance metrics are columns showing the exact settings that led to this result ('SO Count`, SO Step, TP (%), etc.).
3. How to choose the best strategy?
* Don't chase after the maximum profit! The strategy with the highest profit often has the highest drawdown, which makes it extremely risky.
* Seek a balance. The ideal strategy is a compromise between high profitability, low drawdown (Drawdown) and the maximum length of trades acceptable to you (Max Length).
* finalScore was created to find this balance. Trust him — he often highlights not the most profitable, but the most stable and reliable options.
Detailed Description Of The Settings
This section serves as a complete reference for each parameter available in the script settings. The parameters are grouped in the same way as in the indicator interface for your convenience.
Group: ⚙️ Optimization Settings ⚙️
The main parameters governing the testing process are collected here.
* `Enable Optimizer': The main switch. Activates or deactivates all backtesting functionality.
* `Direction': Determines which way trades will be opened during the simulation.
* Long: Shopping only.
* Short: Sales only.
* Both: Testing in both directions. Important: This mode only works in conjunction with an External Signal, as the script needs an external signal to determine the direction for each specific transaction.
* `Signal Mode`: Controls the conditions for starting a new trading cycle (opening a base order).
* No Signal: A new cycle starts immediately after the previous one is completed. This mode is used to test "pure" grid mechanics without reference to market conditions.
* External Signal: A new cycle begins only when a signal is received from an external indicator connected via the Signal field.
* `Signal': A field for connecting an external signal source (works only in the `External Signal` mode). You can select any other indicator on the chart.
* For Long** trades, the signal is considered received if the value of the external indicator ** is greater than 0.
* For Short** trades, the signal is considered received if the value of the external indicator ** is less than 0.
* `Bars Count': Sets the depth of the history in the bars for the backtest. The maximum value (25000) provides the most reliable results.
* `Sort by`: A key criterion for selecting and ranking the best strategies in the final table.
* FinalScore: Recommended mode. A comprehensive assessment that takes into account 9 metrics to find the most balanced and sustainable strategies.
* Profit: Sort by net profit.
* Drawdown: Sort by minimum drawdown.
* Max Length: Sort by the minimum length of the longest transaction.
* `Combinations Count': Indicates how many of the best strategies (from 1 to 50) will be displayed in the results table.
* `Close last trade`: If this option is enabled, any active trade will be forcibly closed at the closing price of the last historical bar. For grid strategies, it is recommended to always enable this option in order to get the correct calculation of the final profit and eliminate grid strategies that have been stuck for a long time.
Group: 💰 Money Management Settings 💰
The parameters in this group determine the financial conditions of the simulation. Specify values that are as close as possible to your actual values in order to get reliable results.
* `Capital': The initial deposit amount for the simulation.
* `Leverage`: The leverage used to calculate the margin.
* `Slippage` (%): Simulates the difference between the expected and actual order execution price. The specified percentage will be applied to each transaction.
* `Commission` (%): The trading commission of your exchange as a percentage. It is charged at the execution of each order (both at opening and closing).
* `Liquidation Level' (%): Maintenance Margin Ratio. This is a critical parameter for a realistic test. Liquidation in the simulator occurs if the Equity of the account (Capital + Unrealized P&L) falls below the level of the supporting margin.
Group: 🛠 Optimization Parameters 🛠
This is the "heart" of the optimizer, where you set ranges for iterating through the grid parameters.
* `Part`: The portion number of the combinations to be tested. Start with 1, and then increment (`2`, 3, ...) sequentially to check all generated strategies.
* `Combinations in Part': The number of backtests performed at a time (in one "Part"). Increasing the value may speed up the process, but it may cause the script to error due to platform limitations. If an error occurs, it is recommended to switch to the step below and back.
Three fields are available for each of the following parameters (`SO Count`, SO Step, SO Multiplier, etc.):
* `Min`: Minimum value for testing.
* `Max': The maximum value for testing.
* `Step`: The step with which the values in the range from Min to Max will be iterated over.
There is also a checkbox for each parameter. If it is enabled, the parameter will be optimized in the specified range. If disabled, only one value specified in the Min field will be used for all tests.
* 'Stop Loss': In addition to the standard settings Min, Max, Step, it has an additional parameter:
* `Type`: Defines how the stop loss price is calculated.
* From entry point: The SL level is calculated once from the entry price (base order price).
* From breakeven line: The SL level is dynamically recalculated from the average position price after each new safety order is executed.
Group: ⚡️Filters⚡️
Filters allow you to filter out those results from the final table that do not meet your minimum requirements.
For each filter (`Max Profit`, Min Drawdown, `Min Trade Length`), you can:
1. Turn it on or off using the checkbox.
2. Select the comparison condition: Greater (More) or Less (Less).
3. Set a threshold value.
*Example:* If you set Less and 20 for the Min Drawdown filter, only those strategies with a maximum drawdown of less than 20% will be included in the final table.
Group: 🎨 Visual Settings 🎨
Here you can customize the appearance of the results table.
* `Position': Selects the position of the table on the screen (for example, Bottom Left — bottom left).
* `Font Size': The size of the text in the table.
* `Header Background / Data Background`: Background colors for the header and data cells.
* `Header Font Color / Data Font Color`: Text colors for the header and data cells.
Important Notes and Limitations
So that you can use the Autoback Grid Lab as efficiently and consciously as possible, please familiarize yourself with the following key features of its work.
1. It is a Tool for Analysis, not for Signals
It is extremely important to understand that this script does not generate trading signals in real time. Its sole purpose is to conduct in—depth research (**backtesting**) on historical data.
* The results you see in the table are a report on how a particular strategy would have worked in the past.
* The script does not provide alerts and does not draw entry/exit points on the chart for the current market situation.
* Your task is to take the best sets of parameters found during optimization and use them in your real trading, for example, when setting up a trading bot or in a manual trading system.
2. Features Of Calculations (This is not a "Repainting")
You will notice that the results table appears and is updated only once — when all historical bars on the chart are loaded. It does not change in real time with each tick of the price.
This is correct and intentional behavior.:
* To test thousands, and sometimes millions of combinations, the script needs to perform a huge amount of calculations. In the Pine Script™ environment, it is technically possible to do this only once, at the very last bar in history.
* The script does not show false historical signals, which then disappear or change. It provides a static report on the results of the simulation, which remains unchanged for a specific historical period.
3. Past Results do not Guarantee Future Results.
This is the golden rule of trading, and it fully applies to the results of backtesting. Successful strategy performance in the past is not a guarantee that it will be as profitable in the future. Market conditions, volatility and trends are constantly changing.
My tool, especially when sorting by finalScore, is aimed at finding statistically stable and reliable strategies to increase the likelihood of their success in the future. However, it is a tool for managing probabilities, not a crystal ball for predicting the future. Always use proper risk management.
4. Dependence on the Quality and Depth of the Story
The reliability of the results directly depends on the quantity and quality of the historical data on which the test was conducted.
* Always strive to use the maximum number of bars available (`Bars Count: 25,000`) so that your strategy is tested on different market cycles (rise, fall, flat).
* The results obtained on data for one month may differ dramatically from the results obtained on data for two years. The longer the testing period, the higher the confidence in the parameters found.
Conclusion
The Autoback Grid Lab is your personal research laboratory, designed to replace intuitive guesses and endless manual selection of settings with a systematic, data—driven approach. Experiment with different assets, timeframes, and settings ranges to find the unique combinations that best suit your trading style.
Session Highs & Lows — Customizable + HTF Wick Liquidity (H1/H4)Yesterdays ASIAN LONDON AND NEWYORK highs and Lows
Todays ASIAN LONDON AND NEWYORK highs and lows
1 HOUR AND 4 HOUR LIQ POINTS
Swing Points - Liquidity DR📌 Description
This indicator highlights swing points and liquidity levels with clean visuals and flexible options. It automatically detects significant highs and lows, then plots liquidity zones using customizable lines, boxes, and labels. Volume and Open Interest Δ (OI Δ) filters are integrated to validate the strength of each level.
⚙️ Features
Liquidity boxes plotted at swing highs and lows with customizable colors and styles.
Toggle visibility for lines, boxes, and labels to keep charts clean.
Filter swing levels using Volume thresholds and Open Interest Δ polarity (positive/negative).
Multi-exchange OI data support: Binance, BitMEX, Kraken.
Extend until fill or auto-remove levels once price interacts with them.
Dark/Light theme support with full text/label styling controls.
Lookback filter (days) to limit displayed levels for clarity.
🎯 Use Cases
Identify liquidity pools where price is likely to react.
Track smart money behavior around highs and lows.
Combine volume + OI confirmation to focus only on high-value zones.
HTF Dealing Range & FibsKey Features:
Premium & Discount Zone Visualization: Clear, color-coded boxes are drawn to represent the Premium (sell zone), Discount (buy zone), and the crucial Equilibrium (50%) level. These boxes extend into the future so you can anticipate future price action.
Customizable Fibonacci Levels: Plot key Fibonacci retracement levels within the defined range. You can customize which levels you want to see (e.g., 0.62, 0.79, etc.) to pinpoint specific points of interest.
Multi-Timeframe Confluence Table: A powerful, on-screen dashboard that shows you the status of the current price relative to the P&D zones on up to 5 different timeframes simultaneously. Instantly see if the price is in a Premium or Discount zone on the 15m, 1H, 4H, and Daily charts at a single glance.
Built-in Alerts: Never miss an opportunity. Set up alerts to be notified the moment the price enters the Premium or Discount zone on your chosen HTF, allowing you to prepare for potential trade setups.
Fully Customizable: Take full control over the indicator's appearance. Adjust pivot lookback periods, colors of the zones and Fibs, and select which timeframes appear in your dashboard to match your personal trading plan.
Disclaimer:
This indicator is provided for educational and informational purposes only and should not be considered as financial or investment advice. Trading and investing in financial markets, including but not limited to stocks, forex, and cryptocurrencies, involves a substantial risk of loss and is not suitable for every investor.
Premium Discount Range ProPremium Discount Range Pro
Short Description / Summary:
An advanced, all-in-one toolkit for traders who utilize Smart Money Concepts (SMC) and institutional price action analysis. The "Premium Discount Range Pro" automatically identifies the current higher timeframe (HTF) dealing range, visualizes the Premium, Discount, and Equilibrium zones, and provides a multi-timeframe dashboard to see where the current price stands across the market.
This indicator is built to streamline your analysis, helping you to quickly identify high-probability areas for entries by adhering to the core institutional principle: look for buys in a discount and sells in a premium.
Key Features:
Automatic HTF Range Detection: The indicator automatically detects the most recent significant swing high and swing low on your chosen Higher Timeframe (e.g., 4H, Daily) to define the current dealing range.
Premium & Discount Zone Visualization: Clear, color-coded boxes are drawn to represent the Premium (sell zone), Discount (buy zone), and the crucial Equilibrium (50%) level. These boxes extend into the future so you can anticipate future price action.
Customizable Fibonacci Levels: Plot key Fibonacci retracement levels within the defined range. You can customize which levels you want to see (e.g., 0.62, 0.79, etc.) to pinpoint specific points of interest.
Multi-Timeframe Confluence Table: A powerful, on-screen dashboard that shows you the status of the current price relative to the P&D zones on up to 5 different timeframes simultaneously. Instantly see if the price is in a Premium or Discount zone on the 15m, 1H, 4H, and Daily charts at a single glance.
Built-in Alerts: Never miss an opportunity. Set up alerts to be notified the moment the price enters the Premium or Discount zone on your chosen HTF, allowing you to prepare for potential trade setups.
Fully Customizable: Take full control over the indicator's appearance. Adjust pivot lookback periods, colors of the zones and Fibs, and select which timeframes appear in your dashboard to match your personal trading plan.
Disclaimer
This indicator is provided for educational and informational purposes only and should not be considered as financial or investment advice. Trading and investing in financial markets, including but not limited to stocks, forex, and cryptocurrencies, involves a substantial risk of loss and is not suitable for every investor.
PDH/PDL Breakout—Anchored Ghost Targets + (Truth Table)What this does (integrated purpose—not a mashup):
This tool implements a “prove-it” breakout framework around prior-day levels. It (1) anchors Previous Day High/Low (PDH/PDL) to RTH, (2) reveals anchored ghost targets only after price proves itself beyond PDH/PDL, and (3) confirms direction using a 3-consecutive-closes rule. A compact Truth Table summarizes regime: Control Line, PDH/PDL position, and a microstructure-based composite trend score. Everything is designed to work together to filter fake breaks and provide objective upside/downside targets.
How it works (math/logic in plain English):
Prior-day levels (no repaint):
Pulls High, Low, Close of the previous day and extends PDH/PDL through today’s RTH session. (Daily values are read from the prior bar so signals don’t look ahead.)
Session scoping:
RTH is 09:30–16:00 ET. The script resets at 09:30, pre-creates all lines to the 16:00 session end, and confines triggers to RTH context.
Ghost target packs (original piece):
Compute classic pivot set from prior day:
P = (H+L+C) / 3, R1 = 2P − L, S1 = 2P−H
Create one full range-shift above and below the prior day:
range=H−L.
Add Fib overlays (0.382) around P/R1/S1 to form the pack.
Anchoring rule: packs are shifted so the upper pack never dips below PDH and the lower pack never rises above PDL. This prevents visual crossing with PDH/PDL and keeps targets clean after a confirmed break. Packs stay hidden until price proves itself (see next point).
Directional “prove-it” trigger:
You only get a signal after an actual cross of PDH/PDL followed by N consecutive RTH closes beyond that level (default 3; user input).
• Long: crossover above PDH → then 3 closes > PDH → one-bar pulse + optional alert.
• Short: crossunder below PDL → then 3 closes < PDL → one-bar pulse + optional alert.
After the first qualified trigger each session, bars beyond the level get a subtle Neo candle style so breakouts are visually distinct.
Truth Table (integration, not decoration):
Control Line = a smoothed multi-EMA control band (we expose a single “control line” derived from it),
PDH/PDL position (above, below, or inside),
Composite Trend = non-lag microstructure score combining: close-location value, thrust, wick imbalance, range-expansion direction, and HH/HL vs LL/LH structure (all summed over a short causal window).
Header colors use majority vote across those three rows so you see regime at a glance. This is used to interpret breaks and avoid chasing noise.
How to use it (practical workflow):
On equities during RTH, watch PDH/PDL.
When a break occurs, wait for the 3-close confirmation—that’s your “prove-it” trigger.
Upon trigger, the corresponding ghost pack becomes visible and provides objective intraday targets (pack lines + dashed Fib lines).
Use the Truth Table to sanity-check regime (e.g., bullish majority + PDH break = higher-confidence continuation).
Inputs & alerts:
Consecutive closes required (default 3).
Show Truth Table (on/off).
EMA ribbon/control line (on/off).
Alerts: “Bullish Trigger” and “Bearish Trigger” fire on the one-bar pulses right when confirmation completes.
Notes & limitations:
Designed for stocks using 09:30–16:00 ET. On 24/7 markets (e.g., crypto) RTH logic isn’t applicable.
Prior-day values are fixed from the daily timeframe, so the logic does not repaint.
The “Neo” candle styling is post-trigger only to keep earlier bars clean.
Why this is original/useful:
This is a single, integrated framework: anchored ghost targets (with a non-crossing constraint), prove-it confirmation (3-close rule), and a non-lag composite microstructure score summarized in a Truth Table. The components are purpose-built to work together to reduce false breakouts and supply clean, objective targets after confirmation—this is not a cosmetic mashup.
Educational note: Not financial advice. Test before use.
Custom Sessions with Mitigation LogicThis script is for people to mark their choice of time ranges where the high and lows get extended until mitigated. There is logic involved to make the charting process and the clean up a whole lot easier.
This includes:
- 5 Custom sessions
- Custom colours
- Custom labels
- Custom time zone (for easier use)
- Auto extended lines with mitigation logic
Mitigation logic:
The highs and lows will be extended until mitigated where they will then be turned to a dotted line until the end of the day which mitigates it.
If the sessions high/low gets mitigated on the same day, it will still change to a dotted line and will stop at the end of the day.
RSI with TRENDLINEthis indicator calculate and draw trendline on rsi ,this is helpfull for those who tred with rsi
The Perfect Timing IndicatorFlashes a green arrow on your screen when bullish momentum is starting to build.
Multi HTF High/Low LevelsThis indicator plots the previous high and low from up to four user-defined higher timeframes (HTF), providing crucial levels of support and resistance. It's designed to be both powerful and clean, giving you a clear view of the market structure from multiple perspectives without cluttering your chart.
Key Features:
Four Customizable Timeframes: Configure up to four distinct higher timeframes (e.g., 1-hour, 4-hour, Daily, Weekly) to see the levels that matter most to your trading style.
Automatic Visibility: The indicator is smart. It automatically hides levels from any timeframe that is lower than your current chart's timeframe. For example, if you're viewing a Daily chart, the 4-hour levels won't be shown.
Clean On-Chart Lines: The high and low for each timeframe are displayed as clean, extended horizontal lines, but only for the duration of the current higher-timeframe period. This keeps your historical chart clean while still showing the most relevant current levels.
Persistent Price Scale Labels: For easy reference, the price of each high and low is always visible on the price scale and in the data window. This is achieved with an invisible plot, giving you the accessibility of a plot without the visual noise.
How to Use:
Go into the indicator settings.
Under each "Timeframe" group, check the "Show" box to enable that specific timeframe.
Select your desired timeframe from the dropdown menu.
The indicator will automatically calculate and display the previous high and low for each enabled timeframe.
ES 30 Second Futures Session Opening Range30 Second Futures Session Open Range Pro
Overview
This Pine Script indicator is designed for futures traders who utilize opening range breakout strategies across multiple global trading sessions. The indicator provides comprehensive session-based opening range analysis with precise 30-second data sampling and advanced 15-point interval projections.
Key Features
Multi-Session Opening Range Analysis
RTH (Regular Trading Hours): 8:30 AM CT - New York session opening range
Globex (Asian Session): 5:00 PM CT - Asian market session opening range
Europe Session: 2:00 AM CT - European market session opening range
Core Functionality
High/Low/Mid Lines: Displays opening range boundaries and midpoint for each session
Customizable Colors: Full color customization for each session's lines
Price Labels: Optional price display on all levels with session identification
Statistics Table: Real-time table showing high, low, and range width for active sessions
Advanced 15-Point Interval System
RTH-Specific Feature: Plots 5 levels above and below RTH opening range at 15-point intervals
Projection Levels: +15, +30, +45, +60, +75 above RTH high and corresponding negative levels below RTH low
Customizable Labels: Toggle price display and session names on interval lines
Color-Coded: Separate colors for upside and downside projections
Enhanced Trading Tools
Breakout Detection: Automatic identification of opening range breakouts with visual signals
Alert System: Built-in alerts for all session breakouts (up and down)
Range Boxes: Optional visual boxes highlighting opening ranges
Multiple Timeframe Support: Works across various chart timeframes
Display Options
Label Customization: Multiple size options (Tiny, Small, Normal, Large)
Session Toggle: Individual on/off controls for each session
Transparency Controls: Adjustable transparency for range boxes
Professional Styling: Clean, professional appearance suitable for live trading
Trading Applications
This indicator is particularly valuable for:
Gap Trading: Identifying key levels after overnight gaps
Breakout Trading: Clear visual confirmation of range breakouts
Support/Resistance: Using opening ranges as dynamic S/R levels
Session Transition: Understanding how price behaves across global sessions
Position Sizing: Using 15-point intervals for precise entry and exit strategies
Technical Specifications
Version: Pine Script v5
Overlay: True (plots directly on price chart)
Max Lines: 500 (accommodates extensive level plotting)
Timezone: America/Chicago (Central Time)
Data Frequency: 30-second precision for opening range calculation
Usage Notes
Designed for various futures contracts (ES, NQ, YM, RTY, etc.)
Best performance on intraday timeframes (30s, 1m, 5m, 15m, 30m)
Opening ranges calculated based on precise 30-second intervals at session starts
All alerts are customizable through TradingView's alert system
Customization Options
The indicator offers extensive customization including:
Color schemes for each session
Label display preferences
Line transparency and thickness
Statistical table positioning
Alert message customization
NQ 65 Point Futures Session 30 Second Opening RangeNQ 65 Point Futures Session Open Range Pro
Overview
This Pine Script indicator is designed specifically for NASDAQ-100 E-mini (NQ) futures traders who utilize opening range breakout strategies across multiple global trading sessions. The indicator provides comprehensive session-based opening range analysis with advanced 65-point interval projections.
Key Features
Multi-Session Opening Range Analysis
RTH (Regular Trading Hours): 8:30 AM CT - New York session opening range
Globex (Asian Session): 5:00 PM CT - Asian market session opening range
Europe Session: 2:00 AM CT - European market session opening range
Core Functionality
High/Low/Mid Lines: Displays opening range boundaries and midpoint for each session
Customizable Colors: Full color customization for each session's lines
Price Labels: Optional price display on all levels with session identification
Statistics Table: Real-time table showing high, low, and range width for active sessions
Advanced 65-Point Interval System
RTH-Specific Feature: Plots 5 levels above and below RTH opening range at 65-point intervals
Projection Levels: +65, +130, +195, +260, +325 above RTH high and corresponding negative levels below RTH low
Customizable Labels: Toggle price display and session names on interval lines
Color-Coded: Separate colors for upside and downside projections
Enhanced Trading Tools
Breakout Detection: Automatic identification of opening range breakouts with visual signals
Alert System: Built-in alerts for all session breakouts (up and down)
Range Boxes: Optional visual boxes highlighting opening ranges
Multiple Timeframe Support: Works across various chart timeframes
Display Options
Label Customization: Multiple size options (Tiny, Small, Normal, Large)
Session Toggle: Individual on/off controls for each session
Transparency Controls: Adjustable transparency for range boxes
Professional Styling: Clean, professional appearance suitable for live trading
Trading Applications
This indicator is particularly valuable for:
Gap Trading: Identifying key levels after overnight gaps
Breakout Trading: Clear visual confirmation of range breakouts
Support/Resistance: Using opening ranges as dynamic S/R levels
Session Transition: Understanding how price behaves across global sessions
Risk Management: Using 65-point intervals for position sizing and target setting
Technical Specifications
Version: Pine Script v5
Overlay: True (plots directly on price chart)
Max Lines: 500 (accommodates extensive level plotting)
Timezone: America/Chicago (Central Time)
Data Frequency: 30-second precision for opening range calculation
Usage Notes
Designed specifically for NQ futures but may work on other instruments
Best performance on intraday timeframes (1m, 5m, 15m, 30m)
Opening ranges calculated based on first 30 seconds of each session
All alerts are customizable through TradingView's alert system
Customization Options
The indicator offers extensive customization including:
Color schemes for each session
Label display preferences
Line transparency and thickness
Statistical table positioning
Alert message customization
Liquidity [NINE Θ]Liquidity
The Liquidity indicator is designed to automatically map out liquidity pools in the market by plotting swing highs and swing lows directly on your chart. These levels represent areas where stop orders and resting liquidity often accumulate — the zones that price is drawn toward and where major moves often originate.
This tool was built for traders who want a clear, minimal, and dynamic view of liquidity without the clutter of unnecessary signals.
🔑 Key Features
Automatic Swing Highs & Lows
Detects and plots liquidity levels based on customizable pivot parameters.
Dynamic Labels
Display price, timeframe, or both — giving you instant context for each liquidity level.
Custom Styling
Choose line style (solid/dashed/dotted), color themes, text size, and alignment to fit your chart layout.
Smart Extension & Cleanup
Extend lines until filled by price or automatically remove them once taken.
Optionally hide filled levels for a cleaner view.
Timeframe Awareness
Liquidity labels include the timeframe marker (e.g., , , ) to make multi-timeframe analysis seamless.
🎯 Why Use This?
Liquidity drives price. By highlighting where liquidity is resting — above highs and below lows — this indicator helps you anticipate sweeps, stop hunts, and potential reversal points.
Perfect for ICT-inspired traders, liquidity sweep strategies, or anyone who wants to see the market through the lens of liquidity.
⚙️ Recommended Use
Use on any market: futures, forex, stocks, or crypto.
Combine with session tools, order blocks, fair value gaps, or displacement concepts for confluence.
Works across all timeframes — from scalping to swing trading.
✨ Liquidity gives you the ability to map out liquidity pools automatically, stay one step ahead of the market, and trade with precision.
Better Pivot Points [LuminoAlgo]Overview
The Better Pivot Points indicator is an advanced trend analysis tool that combines Supertrend methodology with automated pivot point identification and zigzag visualization. This indicator helps traders identify significant price turning points and visualize market structure through dynamic pivot labeling and connecting lines.
How It Works
This indicator utilizes a Supertrend-based algorithm to detect meaningful pivot points in price action. Unlike traditional pivot point indicators that rely on fixed time periods, this tool dynamically identifies pivots based on trend changes, providing more relevant and timely signals.
The algorithm tracks trend changes using ATR-based Supertrend crossovers to determine when significant highs and lows have formed. When a trend reversal is detected, the indicator marks the pivot point and draws connecting lines to visualize price flow and market structure progression.
Key Features
• Dynamic Pivot Detection: Automatically identifies high and low pivot points using Supertrend crossovers
• Market Structure Labeling: Labels pivots as HH (Higher High), LH (Lower High), HL (Higher Low), or LL (Lower Low)
• Zigzag Visualization: Connects pivot points with customizable lines to clearly show price flow and market structure
• Color-Coded Analysis: Uses distinct colors to indicate bullish trends (green), bearish trends (red), and neutral conditions (yellow)
• Customizable Parameters: Adjustable ATR period, factor, line width, and line style
Input Settings
• ATR Length: Controls the sensitivity of the Supertrend calculation (default: 21)
• Factor: Multiplier for the ATR-based Supertrend bands (default: 2.0)
• Zigzag Line Width: Customize the thickness of connecting lines (1-4)
• Zigzag Line Style: Choose between Solid, Dashed, or Dotted line styles
What Makes This Original
This indicator combines several analytical concepts into a cohesive tool that differentiates it from standard pivot point indicators:
1. Uses Supertrend crossovers as the trigger for pivot detection rather than traditional high/low lookback periods
2. Automatically categorizes market structure using HH/LH/HL/LL labeling system based on pivot relationships
3. Provides real-time zigzag visualization with intelligent color coding that reflects trend direction
4. Integrates trend direction analysis with structural pivot identification in a single comprehensive tool
The underlying calculations use custom logic for tracking trend states, validating pivot points, and determining appropriate color coding based on market structure analysis.
How to Use
1. Trend Identification: Green lines indicate bullish market structure, red lines show bearish structure, yellow indicates transitional periods
2. Support/Resistance: Pivot points often act as future support and resistance levels for price action
3. Market Structure Analysis: HH and HL patterns suggest uptrends, while LH and LL patterns indicate downtrends
4. Entry/Exit Planning: Use pivot points and trend changes to plan potential trade entries and exits
Important Limitations and Warnings
• This indicator is a technical analysis tool and should not be used as the sole basis for trading decisions
• Pivot points are identified after price moves occur, meaning this indicator has inherent lag and cannot predict future pivots
• False signals can occur during ranging or choppy market conditions where trends are unclear
• Past performance of any indicator does not guarantee future results or trading success
• The indicator works best in clearly trending markets and may produce less reliable signals in sideways price action
• This tool requires interpretation and should be combined with other forms of analysis
• Always use proper risk management and position sizing strategies when trading
Why This Script Is Protected
This indicator uses proprietary algorithms for pivot detection timing, trend state management, and market structure analysis that represent original research and development. The specific logic for pivot validation, color-coding methodology, and structural relationship calculations contains unique approaches that differentiate it from standard pivot point indicators available in the public library.
Disclaimer
This indicator is for educational and analysis purposes only and does not constitute investment advice. Trading involves substantial risk and is not suitable for all investors. Past results are not indicative of future performance. The future is fundamentally unknowable and past results in no way guarantee future performance. Always conduct your own research and consider your risk tolerance before making any trading decisions.