Pivot + Stochastic Filter Signals (Balanced)Pivot + Stochastic Filter Signals (Balanced)
This indicator combines Pivot Highs/Lows with the Stochastic Oscillator to generate accurate BUY and SELL signals.
A BUY signal appears when a Pivot Low forms and the Stochastic %K crosses above %D (optionally filtered by oversold conditions).
A SELL signal appears when a Pivot High forms and the Stochastic %K crosses below %D (optionally filtered by overbought conditions).
Key Features:
Clear BUY (green) and SELL (red) signals plotted directly on the chart.
Optional filter: only trigger signals in overbought/oversold zones.
Labels display pivot value with the corresponding signal.
Stochastic oscillator plotted for confirmation.
This tool is useful for traders who want to combine price action (pivots) with momentum confirmation (Stochastic crossovers) for higher accuracy in trend reversals and entry timing.
ピボットポイントと水準
Modern Trend Indicator_GirishThis Indicator is a Powerful Buy and Sell Indicator to catch the Trend in all time frame.
SJ Fx Session ORMarks opening range (1st 15 Mins) for Europe, London and New York.
Tip - Use white background for your charts
Liquidity Swing Points [BackQuant]Liquidity Swing Points
This tool marks recent swing highs and swing lows and turns them into persistent horizontal “liquidity” levels. These are places where resting orders often accumulate, such as stop losses above prior highs and below prior lows. The script detects confirmed pivots, records their prices, draws lines and labels, and manages their lifecycle on the chart so you can monitor potential sweep or breakout zones without manual redrawing.
What it plots
LQ-H at confirmed swing highs
LQ-L at confirmed swing lows
Horizontal levels that can optionally extend into the future
Timed removal of old levels to keep the chart clean
Each level stores its price, the bar where it was created, its type (high or low), plus a label and a line reference for efficient updates.
How it works
Pivot detection
A swing high is confirmed when the highest high has swing_length bars on both sides that are lower.
A swing low is confirmed when the lowest low has swing_length bars on both sides that are higher.
Pivots are only marked after they are confirmed, so they do not repaint.
Level creation
When a pivot confirms, the script records the price and the creation bar (offset by the right lookback).
A new line is plotted at that price, labeled LQ-H or LQ-L.
Rendering and extension
Levels can be drawn to the most recent bar only or extended to the right for forward reference.
Label size and line color/transparency are configurable.
Lifecycle management
On each confirmed bar, the script checks level age.
Levels older than a chosen bar count are removed automatically to reduce clutter.
How it can be used
Liquidity sweeps: Watch for price to probe beyond a level then close back inside. That behavior often signals a potential fade back into the prior range.
Breakout validation: If price pushes through a level and holds on closes, traders may treat that as continuation. Retests of the level from the other side can serve as structure checks.
Context for entries and exits: Use nearby LQ-H or LQ-L as reference for stop placement or partial-take zones, especially when other tools agree.
Multi-timeframe mapping: Plot swing points on higher timeframes, then drill down to time entries on lower timeframes as price interacts with those levels.
Why liquidity levels matter
Prior swing points are focal areas where many strategies set stops or pending orders. Price often revisits these zones, either to “sweep” resting liquidity before reversing, or to absorb it and trend. Marking these areas objectively helps frame scenarios like failed breaks, successful breakouts, and retests, and it reduces the subjectivity of eyeballing structure.
Settings to know
Swing Detection Length (swing_length), Controls sensitivity. Lower values find more local swings. Higher values find more significant ones.
Bars until removal (removeafter), Deletes levels after a fixed number of bars to prevent buildup.
Extend Levels Right (extend_levels), Keeps levels projected into the future for easier planning.
Label Size (label_size), Choose tiny to large for chart readability.
One color input controls both high and low levels with transparency for context.
Strengths
Objective marking of recent structure without hand drawing
No repaint after confirmation since pivots are locked once the right lookback completes
Lightweight and fast with simple lifecycle management
Clear visuals that integrate well with any price-action workflow
Practical tips
For scalping: use smaller swing_length to capture more granular liquidity. Keep removeafter short to avoid clutter.
For swing trading: increase swing_length so only more meaningful levels remain. Consider extending levels to the right for planning.
Combine with time-of-day filters, ATR for stop sizing, or a separate trend filter to bias trades taken at the levels.
Keep screenshots focused: one image showing a sweep and reversal, another showing a clean breakout and retest.
Limitations and notes
Levels appear after confirmation, so they are delayed by swing_length bars. This is by design to avoid repainting.
On very noisy or illiquid symbols, you may see many nearby levels. Increasing swing_length and shortening removeafter helps.
The script does not assess volume or session context. Consider pairing with volume or session tools if that is part of your process.
PQL v1PQL v1 — Levels + Initial Balance (RTH)
This indicator combines custom price levels plotting (PQL) with the Initial Balance (IB) for the US Regular Trading Hours (RTH).
Features:
• Daily & Weekly Levels provided by Prophet Quant
• Supports HV, R, S, EXT-R/S, PSY levels.
• Weekly levels with adjustable transparency.
• Optional price labels with customizable font size, offsets, and transparency.
• Initial Balance (RTH)
• Automatically detects the first X minutes after the RTH open (default 60 mins)
• Plots IB High, IB Low, and optional IB Midline.
• IB lines are drawn the same way as PQL levels: fixed-span horizontal lines.
• After 16:00, the IB levels are replaced with short stub markers on the right edge.
Customization:
• Full styling control (colors, line styles, widths, transparency).
• Toggle price labels on/off independently for both PQL and IB.
• Adjustable RTH timezone offset.
• Adjustable extension length of lines to the right.
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