ZLSMA AO Session Strategy by kernchentradingStrategy Logic
Trend Filter:
The ZLSMA is used to determine the prevailing short-term direction. Long signals are only considered when price is above the ZLSMA, while short signals are only considered when price is below it.
Momentum Confirmation:
The Awesome Oscillator is used to detect momentum shifts. Entries occur only when a multi-period sequence of rising or falling AO values is present, indicating the start of a new impulse.
Entries:
Long: Positive momentum in the AO combined with price trading above the ZLSMA
Short: Negative momentum in the AO combined with price trading below the ZLSMA
Only one position per direction is held at any time.
Exits:
Positions are closed when momentum weakens according to the AO or when a predefined pip threshold is reached.
Trading Hours:
The strategy uses a time filter and trades only during specified hours to avoid periods of low liquidity.
Parameters
ZLSMA length and offset
Position size (volume)
Timeframe and Notes:
I trade Gold using this strategy on the 5-minute and 15-minute charts. In flat, sideways market conditions, the ZLSMA has weaknesses. In such cases, it can be helpful to use an additional trend strength indicator (e.g., TSI). In general, the greater the distance between price and the ZLSMA, the more reliable the signal tends to be.
지표 및 전략
ICT Bias and Boss 1D,4H,1H,15m,5m,1m by Nuke SaricICT Logic Bias ,to help you to have all in 1 screen Goodluck.
RunRox - Pairs Screener📊 Pairs Screener is part of our premium suite for pair trading.
This indicator is designed to scan and rank the most profitable and optimal pairs for the Pairs Strategy. The screener can backtest multiple metrics on deep historical data and display results for many pairs against one base asset at the same time.
This allows you to quickly detect market inefficiencies and select the most promising pairs for live trading.
HOW DOES THIS STRATEGY WORK⁉️
The core idea of the strategy is described in detail in our main indicator Pairs Strategy from the same product line.
There you can find a full explanation of the concept, the math behind pair trading, and the internal logic of the engine.
The Pairs Screener is built on top of the same core technology as the main indicator and uses the same internal logic and calculations.
It is designed as a key companion tool to the main strategy: it helps you find tradeable pairs, evaluate current deviations, sort and filter lists of candidates, and much more. All of these features will be described in this post.
✅ KEY FEATURES
More than 400+ assets available for scanning
Forex assets
Crypto assets
Lower Timeframe Backtester Strategy support
Invert signals mode
Hedge Coefficient (position size balancing between both legs)
6 hedge modes
Stop Loss support
Take Profit support
Whitelist with your own custom asset list
Blacklist to exclude unwanted assets
Custom filters
12 tracking metrics for pair evaluation
Customizable alerts
And many other tools for fine-tuning your search
The screener runs backtests simultaneously across a large number of assets and calculates metrics automatically.
This helps you very quickly find pairs with strong structural relationships or current inefficiencies that can be used as the basis for your pair trading strategies.
⚙️ MAIN SETTINGS
The first section controls the core parameters of the screener: Score, correlation, asset groups for scanning, and other base settings. All major crypto and forex symbols are embedded directly into the screener.
Since there are more than 400 assets, it is technically impossible to analyze everything at once, so we grouped them into batches of 40 assets per group.
The workflow is simple:
Open the chart of the asset you want to use as the base ticker.
In the screener settings choose the market (Crypto or Forex).
Select a Group (for example, Group 1) and the indicator will scan all assets inside that group against your base ticker.
Then you switch to Group 2, Group 3, etc., and repeat the scan.
Embedded universe:
400+ assets total
350+ Crypto – split into 10 groups
70+ Forex – split into 3 groups
Below is a description of each setting.
🔸 Exclude Dates
Allows you to specify a period that should be excluded from analysis.
Useful for removing abnormal spikes, news events, or any non-typical segments that distort the statistics for your pairs.
🔸 Market
Defines which universe will be used to build pairs with the current main asset:
Crypto – 350+ crypto symbols
Forex – 70+ FX symbols
Whitelist – your own custom list of assets
🔸 Group
Selects the asset group to scan.
As mentioned above, assets are split into groups of about 40 instruments:
350+ Crypto → 10 groups
70+ Forex → 3 groups
The screener will calculate all metrics only for the group you select.
🔸 Lower Timeframe
This option enables deep history analysis.
Each TradingView plan has a limit on the number of visible bars (for example, 5,000 bars on the basic plan). In standard mode you would only get statistics for the last 5,000 bars of your current timeframe.
If you want a deeper backtest on a lower timeframe, you can do the following:
Suppose your target timeframe for analysis is 5 minutes.
Switch your chart to a 30-minute timeframe.
Enable Lower Timeframe in the indicator.
Select 5 minutes as the lower timeframe inside the screener.
In this mode the screener can reconstruct and analyze up to 99,000 bars of data for your assets. This allows you to evaluate pairs on a much deeper history and see whether the results are stable over a larger sample.
🔸 Method
Here you choose the deviation model:
preferred Z-Score or S-Score for your analysis,
plus you can enable Invert to search for negatively correlated pairs and calculate their profit correctly.
🔸 Period
This is the lookback period for Z/S Score.
It defines how many bars are used to calculate the deviation metric for each pair.
🔸 Correlation Period
This is the number of bars used to calculate correlation between the base asset and each candidate in the group.
The resulting correlation value is also displayed in the results table.
🔀 HEDGE COEFFICIENT
The next block of settings is related to the hedge coefficient.
This defines how much margin is allocated to each leg of the pair.
The classic approach in pair trading is to split the position equally between both assets.
For example, if you allocate 100 USD to a trade , the standard model would open 50 USD long on one asset and 50 USD short on the other.
This works well for pairs with similar volatility , such as BTCUSDT / ETHUSDT
However, if you use a pair like BTCUSDT / DOGEUSDT , the volatility of these assets is very different.
They can still be correlated, but their amplitude is not the same. While Bitcoin might move 2% , Dogecoin can move 10% over the same period.
Because of that, for pairs with strongly different volatility, we can use a hedge coefficient and, for example, enter with 30 USD on one leg and 70 USD on the other, taking the volatility difference into account.
This is the main idea behind the Hedge Coefficient section and its primary use.
The indicator includes 6 methods of calculating the coefficient:
Cumulative RMA
Beta OLS
Beta TLS
Beta EMA
RMA Range
RMA Delta
Each method uses a different formula to compute the hedge coefficient and to size the position based on different metrics of the assets.
We leave it to the trader to decide which algorithm works best for their specific pair and style.
Below are the settings inside this section:
🔹 Method
When Auto Hedge is enabled, you can select which method to use from the list above.
The chosen method will automatically calculate the hedge coefficient between the two legs.
🔹 Hedge Coefficient
This is the manual hedge ratio per trade when Auto Hedge is disabled.
By default it is set to 1, which means the position is opened 50/50 between the two assets.
🔹 Min Allowed Hedge Coef.
This is the minimum allowed hedge coefficient.
By default it is 0.2, which means the model will not go below a 20% / 80% split between the legs.
🔹 MA Length
For methods that use moving averages (for example Beta EMA), this parameter sets the period used to calculate the hedge coefficient.
💰 STRATEGY SETTINGS
This section defines the base backtesting settings for all assets in the screener.
Here you configure entries, exits, Stop Loss, and other parameters used to find the most optimal pairs for your strategy. 🔸 Commission %
In this field you set your broker’s fee percentage per trade.
The indicator automatically calculates the correct commission for each leg of every trade. You only need to input the real commission rate that your broker charges for volume. No additional manual calculations are required.
🔸 Qty $
The margin amount used for backtesting across all assets in the screener.
This margin is split between both legs of the pair either equally or according to the selected hedge coefficient.
🔸 Entry
The Z/S Score deviation level at which the backtest opens a trade for each pair.
🔸 Exit
The Z/S Score level at which the backtest closes trades for the tested assets.
🔸 Stop Loss
PnL threshold at which a trade is force-closed during the historical test.
🔸 Cooldown
Number of bars the strategy will wait after a Stop Loss before opening the next trade.
This block gives you flexible control over how your strategy is tested on 400+ assets, helping you standardize the rules and compare pairs under the exact same conditions.
🗒️ WHITELIST
In this section you can define your own custom list of assets for monitoring and backtesting.
This is useful if you want to work with symbols that are not included in the built-in lists, such as exotic crypto from smaller exchanges, specific stocks, or any custom universe 🔹 Exchange Prefix
Enter the exchange prefix used for your tickers.
Example: BINANCE, OANDA, etc.
🔹 Ticker Postfix
Enable this option if the tickers require a postfix.
Example 1: .P for Binance Futures perpetual contracts.
Example 2: USDT if you only provide the base asset in the ticker list.
🔹 Ticker List
Enter a comma-separated list of tickers to analyze.
Example 1: BTCUSDT, ETHUSDT, BNBUSDT (when the exchange prefix is set).
Example 2: BTC, ETH, BNB (when using postfix USDT).
Example 3: BINANCE:BTCUSDT.P, OANDA:EURUSD (when different exchanges are used and the prefix option is disabled).
This gives you full flexibility to build a screener universe that matches exactly the assets you trade.
⛔ BLACKLIST
In this section you can enable a blacklist of unwanted assets that should be skipped during analysis. Enter a comma-separated list of tickers to exclude from the screener:
Example 1: BTCUSDT, ETHUSDT
Example 2: BTC, ETH (all tickers that contain these symbols will be excluded)
This helps you quickly remove illiquid, noisy, or unwanted instruments from the results without changing your main groups or whitelist.
📈 DASHBOARD
This section controls the results dashboard: table position, style, and sorting logic.
Here is what you can configure:
Result Table – position of the results table on the chart.
Background / Text – colors and opacity for the table background and text.
Table Size – overall size of the results table (from 0 to 30).
Show Results – how many rows (pairs) to display in the table.
Sort by (stat) – which metric to use for sorting the results.
Available options: Profit Factor, Profit, Winrate, Correlation, Score.
This lets you quickly focus on the most interesting pairs according to the exact metric that matters most for your strategy.
📎 FILTER SETTINGS
This section lets you filter the results table by metric values.
For example, you can show only pairs with a minimum correlation of 0.8 to focus on more stable relationships. 🔸 Min Correlation
Minimum allowed correlation between the two assets over the selected lookback period.
🔸 Min Score
Minimum absolute Score (Z-Score or S-Score) required to include a pair in the results.
For example, 2.0 means only pairs with Score >= 2.0 or <= -2.0 will be displayed.
🔸 Min Winrate
Minimum win rate percentage for a pair to be included in the table.
🔸 Min Profit Factor
Minimum profit factor required for a pair to stay in the results. These filters help you quickly narrow the list down to pairs that meet your quality criteria and match your risk profile.
📌 COLUMN SELECTION
This section lets you fully customize which metrics are displayed in the results table.
You can enable or hide any column to focus only on the data you need to identify the best pairs for trading. The screener allows you to show up to 12 metrics at the same time, which gives a detailed view of pair quality. Available columns:
🔹 Exchange Prefix
Show the exchange prefix in the ticker.
🔹 Correlation
Correlation between the two assets’ prices over the lookback period.
🔹 Score
Current Score value (Z-Score or S-Score).
On lower timeframe research, Score is not displayed.
🔹 Spread
Shows spread as % change since entry.
Positive value = profit on the main position.
🔹 Unrealized PnL
Shows unrealized PnL as a $ value based on current prices.
🔹 Profit
Total profit from all trades: Gross Profit − Gross Loss.
🔹 Winrate
Percentage of profitable trades out of all executed trades.
🔹 Profit Factor
Gross Profit / Gross Loss.
🔹 Trades
Total number of trades.
🔹 Max Drawdown
Maximum observed loss from peak to trough before a new peak is made.
🔹 Max Loss
Largest loss recorded on a single trade.
🔹 Long/Short Profit
Separate profit/loss for long trades and short trades.
🔹 Avg. Trade Time
Average duration of trades.
All these metrics are designed to help you quickly identify the strongest pairs for your strategy.
You can change colors, opacity, and hide any columns that are not relevant to your workflow.
🔔 ALERT
The alert system in this screener works in a specific way.
Alerts are tied directly to the filters you set in the Filter Settings section:
Minimum Correlation
Minimum Score
Minimum Winrate
Minimum Profit Factor
You can configure alerts to trigger when a new pair appears that matches all your filter conditions. 💡 Example
You set:
Minimum Score = 3
Then you create an alert based on the screener.
When any pair reaches a Score greater than +3 or less than −3, you will receive a notification.
This is how alerts work in this screener.
The idea is to deliver the most relevant information about the current market situation without forcing you to watch the screener all the time.
Supported placeholders for alert messages: {{ticker_1}} – main ticker (the one on the chart).
{{ticker_2}} – the paired ticker listed in the table.
{{corr}} – correlation value.
{{score}} – Score value (Z-Score or S-Score).
{{time}} – bar open time (UTC).
{{timenow}} – alert trigger time (UTC). You can use these placeholders to build alert text or JSON payloads in any format required by your tools.
The screener is designed to significantly enhance your pair trading workflow: it helps you quickly identify working pairs and current market inefficiencies, and with the alert system you can react to opportunities without constantly sitting in front of the screen.
Always remember that past performance does not guarantee future results.
Use the screener data within a risk-controlled trading system and adjust position sizing according to your own risk management rules.
RunRox - Pairs Strategy🧬 Pairs Strategy is a new indicator by RunRox included in our premium subscription.
It is a specialized tool for trading pairs, built around working with two correlated instruments at the same time.
The indicator is designed specifically for pair trading logic: it helps track the relationship between two assets, identify statistical deviations, and generate signals for opening and managing long/short combinations on both legs of the pair.
Below in this description I will go through the core functions of the indicator and the main concepts behind the strategy so you can clearly understand how to apply it in your trading.
📌 CONCEPT
The core idea of pair trading is to find and trade correlated instruments that usually move in a similar way.
When these two assets temporarily diverge from each other, a trading opportunity appears.
In such moments, the relatively overvalued asset is sold (short leg), and the relatively undervalued asset is bought (long leg).
When the spread between them narrows and both instruments revert back toward their typical relationship (mean), the position is closed and the trader captures the profit from this convergence.
In practice, one leg of the pair can end up in a loss while the other generates a larger profit.
Due to the difference in performance between the two assets, the combined result of the pair trade can still be positive.
✅ KEY FEATURES:
2 deviation types (Z-Score and S-Score)
Invert signals mode
Hedge Coefficient (position size balancing between both legs)
6 hedge modes
Entries based on Score or RSI
Extra entries based on Score or Spread
Stop Loss
Take Profit
RSI Filter
RSI Pivot Mode
Built-in Backtester Strategy
Lower Timeframe Backtester Strategy
Live trade panel for current position
Equity curve chart
21 performance metrics in the backtester
2 alert types
*And many more fine-tuning options for pair trading
🔗 SCORE
Score is the core deviation metric between the two assets in the pair.
For example, if you are trading ETHUSDT/BTCUSDT, the indicator analyzes the relationship ETH/BTC, and when one leg temporarily diverges from the other, this difference is reflected in the Score value.
In other words, Score shows how much the current spread between the two instruments deviates from its typical state and is used as the main signal source for pair entries and exits.
In the screenshot above you can see how Score looks in our indicator.
Depending on how large the difference is between the two assets, the Score value can move in a range from −N to +N
When Score is in the −N zone, this is a 🟢 long zone for the first asset and a short zone for the second.
Using the ETH/BTC example: when Score is deeply negative, you open a long on ETH and a short on BTC at the same time, then close both legs when Score returns back to the 0 zone (balance between the two assets).
When Score is in the +N zone, this is a 🔴 short zone for the first asset and a long zone for the second.
In the same ETH/BTC example: when Score is strongly positive, you short ETH and long BTC, and again close both positions when Score comes back to the neutral 0 zone.
☯️ Z/S SCORE
Inside the indicator we added two different formulas for calculating the spread between the two legs of the pair: Z-Score and S-Score.
These approaches measure deviation in different ways and can produce slightly different signals depending on the chosen pair and its behavior.
This allows you to switch between Z-Score and S-Score and choose the method that gives more stable and cleaner signals for your specific instruments.
As you can see in the screenshot above, we used the same pair but applied different Score types to measure the spread and deviation from the norm.
🟣 Z-Score – generated 9 entry signals .
It reacts to price fluctuations more smoothly and usually stays within a range of approximately −8 to +8 .
🟠 S-Score – generated 5 entry signals .
It reacts to price changes more aggressively and produces wider deviations, often reaching −15 to +15 .
This gives traders the choice between a more sensitive but smoother model (Z-Score) and a more selective, stronger-deviation model (S-Score)
⁉️ HOW DOES THE STRATEGY WORK
Here is a basic example of how you can trade this pair trading strategy using our indicator and its signals.
In the classic approach the trade consists of one initial entry and several scale-ins (averaging) if the spread continues to move against the position.
The first entry is opened when Score reaches a standard deviation of −2 or +2.
If price does not revert to the mean and moves further against the position so that Score expands to −3 or +3, the strategy performs the first scale-in.
If Score extends to −4 or +4, a second scale-in is added.
If the spread grows even more and Score reaches −5 or +5, a third scale-in is executed.
In our indicator the number of averaging steps can be up to 4 scale-ins .
After that the position waits until Score returns back to the 0 level , where the whole pair position is closed.
This is the standard model of classical pair trading.
However there are many variations:
using Stop Loss and Take Profit,
exiting earlier or later than the 0 zone,
scaling in not by Score but by Spread, since Score is not linear while Spread is linear,
entering when RSI on both tickers shows opposite extremes, for example RSI 20 on one asset and RSI 80 on the other, and so on.
The number of possible trading styles for this strategy is very large.
We designed the indicator to cover as many of these variations as possible and added flexible tools so you can build your own pair trading logic on top of it.
Below is an example of a classic pair trade with two entries: one main entry and one extra entry (scale-in) .
The pair SUIUSDT / PENGUUSDT shows a high correlation, and on one of the trades the sequence looked like this:
A −2 Score deviation occurred into the long zone and triggered the Main Entry .
🔹 Main Entry
Long SUIUSDT – Margin: 5,000 USD, Entry price: 1.5708
Short PENGUUSDT – Margin: 5,000 USD, Entry price: 0.011793
Price then moved further against the position, Score went deeper into deviation, and the strategy added one extra entry.
🔸 Extra Entry
Long SUIUSDT – Margin: 5,000 USD, Entry price: 1.5938
Short PENGUUSDT – Margin: 5,000 USD, Entry price: 0.012173
The trade was closed when Score reverted back toward the 0 zone (mean reversion of the spread):
❎ Exit
SUIUSDT P&L: −403.34 USD, Exit price: 1.5184
PENGUUSDT P&L: +743.73 USD, Exit price: 0.011089
✅ Total P&L: +340.39 USD
With a total margin of 10,000 USD used per side (20,000 USD combined), this trade yielded around +1.7% on the deployed margin.
On different assets the size and speed of the spread movement will vary, but the principle remains the same.
This is just one example to illustrate how the strategy works in practice using simplified theoretical balances.
⚙️ MAIN SETTINGS
After explaining how the strategy works, we can move to the indicator settings and their logic.
The first block is Main Settings, which controls how the pair is built, how the spread is calculated, and how the backtest is performed.
The core idea of the indicator is to backtest historical data, generate entry signals, show open-position parameters, and provide all necessary metrics for both discretionary and algorithmic trading.
This is a complete framework for analyzing a pair of assets and building a trading system around them. Below I will go through the main parameters one by one.
🔹 Exclude Dates
Allows you to exclude abnormal periods in the pair’s history to remove outlier trades from the backtest.
This is useful when the market experienced extreme news events, listing spikes, or other non-typical situations that distort statistics.
🔹 Pair
Here you select the second asset for your pair.
For example, if your main chart is BTCUSDT, in this field you choose a correlated asset such as ETHUSDT, and the working pair becomes BTCUSDT / ETHUSDT.
The indicator then calculates spread, Score, and all related metrics based on this asset combination.
🔹 Lower Timeframe
This is a special mode for backtesting on a lower timeframe while using a higher timeframe chart to extend the history limit.
For example, if your TradingView plan provides only 5,000 bars of history on the current timeframe, you can switch your chart to a higher timeframe and select a lower timeframe in this setting.
The indicator will then reconstruct the pair logic using up to 99,000 bars of lower timeframe data for backtesting.
This allows you to test the pair on a much longer historical period and find more stable combinations of assets.
🔹 Method
Here you choose which deviation model you want to use: Z-Score or S-Score.
Both methods calculate spread deviation but use different formulas, which can give different signal behavior depending on the pair.
Examples of these two methods are shown earlier in this description.
🔹 Period
This parameter defines how many bars are used to calculate the average deviation for the pair.
If you set Period = 300, the indicator looks back 300 bars and calculates the typical spread deviation over that window.
For example, if the average deviation over 300 bars is around 1%, then a move to 2% or more will push Z/S Score closer to its boundary levels, since such a deviation is considered abnormal for that lookback period.
A larger Period means that only bigger deviations will be treated as anomalies.
A smaller Period makes the model more sensitive and treats smaller deviations as anomalies.
This allows you to tune how aggressive or conservative your pair trading signals should be.
🔹 Invert
This setting is used for negatively correlated pairs.
Some instruments have a positive correlation in the range from +0.8 to +1.0 (strong positive correlation), while others show a negative correlation from −0.8 to −1.0, meaning they usually move in opposite directions.
A classic example is the pair EURUSD and DXY.
As shown in the screenshot above, these instruments often have strong negative correlation due to macro factors and typically move in opposite directions: when EURUSD is rising, DXY is falling, and vice versa.
Such pairs can also be traded with our indicator.
To do this, we use the Invert option, which effectively flips one of the assets (as shown in the screenshot below). After inversion, both instruments are brought to a “same-direction” behavior from the model’s point of view.
From there, you trade the pair in the same way as a positively correlated one:
you open both legs in the same direction (both long or both short) depending on the spread and Score, and then wait for the spread between the inverted pair to converge back toward its mean.
🔀 HEDGE COEFFICIENT
The next block of settings is related to the hedge coefficient.
This defines how much margin is allocated to each leg of the pair.
The classic approach in pair trading is to split the position equally between both assets.
For example, if you allocate 100 USD to a trade , the standard model would open 50 USD long on one asset and 50 USD short on the other.
This works well for pairs with similar volatility , such as BTCUSDT / ETHUSDT
However, if you use a pair like BTCUSDT / DOGEUSDT , the volatility of these assets is very different.
They can still be correlated, but their amplitude is not the same. While Bitcoin might move 2% , Dogecoin can move 10% over the same period.
Because of that, for pairs with strongly different volatility, we can use a hedge coefficient and, for example, enter with 30 USD on one leg and 70 USD on the other, taking the volatility difference into account.
This is the main idea behind the Hedge Coefficient section and its primary use.
The indicator includes 6 methods of calculating the coefficient:
Cumulative RMA
Beta OLS
Beta TLS
Beta EMA
RMA Range
RMA Delta
Each method uses a different formula to compute the hedge coefficient and to size the position based on different metrics of the assets.
We leave it to the trader to decide which algorithm works best for their specific pair and style.
Below are the settings inside this section:
🔹 Method
When Auto Hedge is enabled, you can select which method to use from the list above.
The chosen method will automatically calculate the hedge coefficient between the two legs.
🔹 Hedge Coefficient
This is the manual hedge ratio per trade when Auto Hedge is disabled.
By default it is set to 1, which means the position is opened 50/50 between the two assets.
🔹 Min Allowed Hedge Coef.
This is the minimum allowed hedge coefficient.
By default it is 0.2, which means the model will not go below a 20% / 80% split between the legs.
🔹 MA Length
For methods that use moving averages (for example Beta EMA), this parameter sets the period used to calculate the hedge coefficient.
🛠️ STRATEGY SETTINGS
The next important block is Strategy Settings .
Here you define the core parameters used for backtesting: trading commission, position size, entry / exit logic, Stop Loss, Take Profit, and other rules that describe how you want the strategy to operate.
Below are all parameters with a detailed explanation.
🔸 Commission %
In this field you set your broker’s fee percentage per trade .
The indicator automatically calculates the correct commission for each leg of every trade. You only need to input the real commission rate that your broker charges for volume. No additional manual calculations are required.
🔸 Main Entry Mode
There are two options for the main entry:
Score - This is the primary entry method based on Z/S Score.
When Score reaches the deviation level defined in the settings below, the strategy opens the first position.
For example, if you set “Entry at 2 deviations”, the trade will be opened when Score hits ±2.
RSI Only - Alternative entry method based on RSI divergence between the two assets.
The exact RSI levels are defined in the RSI settings section below.
For example, if you set the entry threshold at 30, then when one asset has RSI below 30 and the second one has RSI above 70, the first entry will be triggered.
🔸 Extra Entries Mode
This defines how scale-ins (averaging) are executed. There are two modes:
Score - Works the same way as the main entry, but for additional entries.
For example, the main entry can be at 2 deviations, the first scale-in at 3, the second at 4, etc.
Spread - This mode uses the Spread (difference between the two assets) starting from the main entry moment.
As the spread continues to widen, the strategy can add extra entries based on spread growth rather than Score.
Since Score is a non-linear metric and Spread is linear, in some configurations averaging by Spread can produce better results than averaging by Score. This is pair- and strategy-dependent. 🔸 Entry parameters
Deviation / Spread threshold
Entry size
Main Entry – first field (deviation / spread), second field (position size)
Entry 2 – first field (deviation / spread), second field (position size)
Entry 3 – first field (deviation / spread), second field (position size)
Entry 4 – first field (deviation / spread), second field (position size)
This allows you to define up to four scaling steps with different triggers and different sizing.
🔸 Exit Level
This parameter defines at what Score level you want to exit the trade.
By default it is 0, which means the backtester closes the position when Score returns to the neutral (0) zone.
You can also use positive or negative values. Example:
Assume your main entry is configured at a 3 deviation.
You can exit at the 0 level, or you can set Exit Level = 2.
If your initial entry was at −3, the position will be closed when Score reaches +2.
If your initial entry was at +3, the position will be closed when Score reaches −2.
This approach can increase the profit per trade due to a larger captured spread, but it may also increase the holding time of the position.
🔸 Stop Loss
Here you define the maximum loss per trade in PnL units.
If a trade reaches the negative PnL value specified in this field and the Stop Loss option is enabled, the indicator will close the trade at a loss.
The Cooldown parameter sets a pause after a losing trade:
the strategy will wait a specified number of bars before opening the next trade.
🔸 Take Profit
Works similar to Stop Loss but for profit targets.
You set the desired PnL value you want to reach.
The trade will be closed when either the Take Profit target is hit or when Score reaches the exit level defined in the settings, whichever occurs first (depending on your configuration).
🔸 Show Qty in currency
When enabled, trade size is displayed in currency (USD) instead of token quantity.
This is useful for quickly understanding position size in monetary terms.
You will see this in the Current Trade panel, which is described later.
🔸 Size Rounding
Controls how many decimal places are used when rounding position size (from 0 to 10 digits after the decimal).
This is also used for the Current Trade panel so you can adjust how detailed or compact the size display should be.
📊 RSI FILTERS
This section is used for additional trade filtering.
RSI can be used in two ways:
as a primary entry signal,
or as an extra filter for entries based on Z/S Score.
If in the Strategy Settings the Main Entry Mode is set to RSI, then RSI becomes the main trigger for opening a position.
In this case a trade is opened when the RSI of the two assets reaches opposite zones.
Example:
If the threshold is set to 30, then:
when one asset has RSI below 30, and
the second asset has RSI above 70 (100 − 30),
the strategy opens the first entry.
All extra entries after that will be executed either by Spread or by Z/S Score, depending on your Extra Entries Mode.
Below are the parameters in this block:
RSI Length – standard RSI period setting.
RSI Pivot Mode – when enabled, RSI is used as an additional filter together with Z/S Score. The indicator looks for a reversal pattern on RSI (pivot behavior). If RSI forms a reversal structure, the trade is allowed to open. If not, the signal is skipped until a proper RSI pivot is formed.
Entry RSI Filter – here you define the RSI thresholds used for RSI-based entries. These are the same boundary levels described in the example above.
Overall, this section helps filter out lower-quality trades using additional RSI conditions or lets you build RSI-only entry logic based on extreme levels.
🎨 MAIN CHART STYLING
This section controls the visual appearance of trades on the main chart.
You can customize how the second asset line is drawn, as well as the icons for entries, scale-ins, and exits, including their size and style.
▫️ Price Line
This is the line that shows the price of the second asset and the relative difference between the two instruments.
You can adjust the line thickness and color to make it more readable on your chart.
▫️ Adjust Price Line by Hedge Coefficient
When this option is enabled, the second asset’s line is normalized by the hedge coefficient.
If you turn it off, the hedge coefficient will not be applied to the second asset’s line, and it will be displayed in raw form.
▫️ Entry Label
Here you can customize how the entry markers look:
choose the color, icon style, and size of the label that marks each trade entry and scale-in on the chart.
▫️ Exit Label
Similarly, you can define the color, icon style, and size of the label used for exits.
This helps visually separate entries and exits and makes it easier to read the trade history directly from the chart.
🎯 INDICATOR PANEL
This section controls the settings of the indicator panel, which works like an oscillator and allows you to visualize multiple metrics in one place.
You can flexibly enable, style, and scale each parameter.
🔹 Score
Displays the main deviation metric between the two assets.
You can customize the color and line thickness of the Score plot.
🔹 Spread
Shows the spread between the two assets.
It starts calculating from the moment the trade is opened.
You can adjust its color and thickness for better visibility.
🔹 Total Profit
Displays the cumulative profit for this pair and strategy as a line that grows (or falls) over time.
Color, opacity, and line thickness can be customized.
🔹 Unrealized PNL
Once a trade is opened, this line shows the current PnL of the active position.
It also lets you see historical drawdowns on the pair.
Color and thickness can be adjusted.
🔹 Released PNL
Shows the realized PnL of each closed trade as bars.
Useful for quickly evaluating the result of every individual trade in the backtest.
🔹 Correlation
Plots the correlation coefficient between the two assets as a graph, so you can visually track how stable or unstable the relationship between them is over time.
🔹 Hedge Coefficient
Shows the hedge coefficient as a line, which helps understand how the model is rebalancing exposure between the two legs depending on their behavior.
For each metric there is also a 📎 Stretch option.
Stretch allows you to compress or expand the scale of a specific line to visually align metrics with different ranges on the same panel and make the chart easier to read.
📈 PROFIT CHART
Since TradingView does not natively support proper backtesting for pair trading, this indicator includes its own profit curve for the pair.
You can visually see how the strategy performed over historical data: whether there were deep drawdowns, abnormal profit spikes, or stable equity growth over time. This makes it much easier to evaluate the quality of the pair and the strategy on history.
In the settings of this section you can flexibly customize how the profit chart is displayed:
labels, position of the panel, padding, and other visual details.
Everything depends on your personal preferences, so we give full control over styling:
you can adjust the look of the profit chart to match your layout or completely hide it from the chart if you do not need it.
📌 CURRENT TRADE
This section controls the current trade table.
When there is an active trade on the chart, the panel displays all key information for the open position:
direction for each ticker (long or short),
required position size for each leg,
entry price for both assets,
and real-time PnL for each leg separately,
so you always have a clear view of the current situation.
The main thing you can do with this table is customize its appearance:
you can change the size, position on the chart, background and text colors, as well as separate coloring for positive / negative PnL and different colors for long and short positions.
📅 BACKTEST RESULTS
The next key block is Backtest Results.
This results table with detailed metrics gives you an extended view of how the pair and strategy perform: win rate, profit factor, long/short breakdown, and more than 20 additional stats that help you evaluate the potential of your setup.
⚠️ First of all, it is important to note ⚠️
past performance does not guarantee future results.
Every trader must keep this in mind and factor these risks into their strategy.
The table shows metrics in three cuts:
All Entries
Main Entries
Extra Entries (scale-ins)
Core metrics:
Profit – total profit for each entry type.
Winrate – win rate for this pair.
Profit Factor – ratio of gross profit to gross loss for the strategy.
Trades – number of trades in the backtest.
Wins – number of winning trades.
Losses – number of losing trades.
Long Profit – profit generated by long positions.
Short Profit – profit generated by short positions.
Longs – total number of long trades.
Shorts – total number of short trades.
Avg. Time – average time spent in a trade.
Additional metrics for a deeper evaluation of the pair:
Correlation – current correlation between the two assets in the pair.
Bars Processed – number of bars used in the analysis.
Max Drawdown – maximum historical drawdown of the strategy.
Biggest Loss – the largest single losing trade in the backtest.
Recommended Hedge – recommended hedge coefficient based on historical behavior.
Max Spread – maximum positive spread observed in history.
Min Spread – maximum negative spread observed in history.
Avg. Max Spread – average of positive extreme spread values (above 0).
Avg. Min Spread – average of negative extreme spread values (below 0).
Avg Positive Spread – average positive spread across all trades (only values above 0).
Avg Negative Spread – average negative spread across all trades (only values below 0).
Current Spread – current spread between the assets when a trade is open.
These metrics together allow you to quickly assess how stable the pair is, how the risk/return profile looks, and whether the strategy parameters are suitable for live trading. You can fully customize this results table to fit your workflow:
hide metrics you don’t need, change colors, opacity, and other visual styles, and reorder the focus of the stats according to your trading style.
This way the backtest block can show only the metrics that matter to you most and remain clean and readable during analysis.
📣 ALERTS
The next section is dedicated to alerts.
Here you can configure all signals you need, both for manual trading and for full automation of this pair trading strategy. This block is designed to cover most practical use cases. The indicator supports two alert modes:
Single Alert – one universal custom alert for all events.
Two Alerts – separate alerts for each ticker so you can receive different messages per asset.
Available alert events:
Main Entry – when the main entry is triggered.
Entry 2 – when the first scale-in is executed.
Entry 3 – when the second scale-in is executed.
Entry 4 – when the third scale-in is executed.
Exit Alert – when the position is closed.
StopLoss Alert – when Stop Loss is hit.
TakeProfit Alert – when Take Profit is hit.
All alerts are fully customizable and support a set of placeholders for building structured messages or JSON payloads.
🔹1 Alert Type
List of supported placeholders: {{event}} – trigger name ('Entry 1', 'Exit').
{{dir_1}} – 'Long' or 'Short' for the main ticker.
{{dir_2}} – 'Long' or 'Short' for the other ticker.
{{action_1}} – 'Buy', 'Sell' or 'Close' for the main ticker.
{{action_2}} – 'Buy', 'Sell' or 'Close' for the other ticker.
{{price_1}} – price for the main ticker.
{{price_2}} – price for the other ticker.
{{qty_1}} – order size for the main ticker.
{{qty_2}} – order size for the other ticker.
{{ticker_1}} – main ticker (e.g. 'BTCUSD').
{{ticker_2}} – other ticker (e.g. 'ETHUSD').
{{time}} – candle open time in UTC.
{{timenow}} – signal time in UTC.
🔹2 Alert Type
List of supported placeholders: {{event}} – trigger name ('Entry 1', 'Exit', 'SL', 'TP').
{{action}} – 'Buy', 'Sell' or 'Close'.
{{price}} – order price.
{{qty}} – order size.
{{ticker}} – ticker (e.g. 'BTCUSD').
{{time}} – candle open time in UTC.
{{timenow}} – signal time in UTC. You can use these placeholders to build any JSON structure or custom alert text required by your trading bot, exchange API, or automation service.
In this post I’ve explained how the indicator works, the core concept behind this pair trading strategy, and shown practical examples of trades together with a detailed breakdown of each unique feature inside the tool.
We have invested a lot of work into building this indicator and we truly hope it will help you trade pair strategies more efficiently and more profitably by giving you structured, strategy-specific information that is difficult to obtain in any other way.
⚠️ Please also remember that past performance does not guarantee future results.
Always evaluate the risks, the robustness of your setup, and your own risk tolerance before entering any position, and make independent, well-considered decisions when using this or any other strategy.
MACD + Divergence Indicator [Dynamic Filter]Title: MACD + Divergence
Description: This is an enhanced momentum analysis suite based on the classic Moving Average Convergence Divergence (MACD). It addresses the common weakness of the standard MACD—false signals during low-volatility consolidation—by integrating a Dynamic Volatility Filter and a Multi-Timeframe (MTF) Dashboard.
The Problem It Solves: Standard MACD indicators often generate "whipsaw" crossovers when the market is ranging (moving sideways). Traders often struggle to identify these consolidation zones until it is too late. This script solves this by calculating a dynamic "Consolidation Zone" based on Standard Deviation, visually warning traders when momentum is too weak to be reliable.
Key Features:
1. Dynamic Consolidation Filter (The Grey Zone)
The script calculates Upper and Lower bands around the MACD line using Standard Deviation (Volatility).
Grey Fill: When the MACD line is inside the grey bands, the market is in a "Squeeze" or low-volatility consolidation. Crossovers in this zone are often lower probability.
Breakout: When the MACD line exits the bands, it indicates a volatility expansion and a potentially stronger trend.
2. Automated Divergence Detection
Automatically scans for both Regular (Reversal) and Hidden (Continuation) divergences between Price and Momentum.
Bullish: Marked with Green lines/labels.
Bearish: Marked with Red lines/labels.
Customization: You can choose to calculate divergence based on the MACD Line or the Histogram via settings.
3. Multi-Timeframe (MTF) Dashboard
A customizable information table (optional) displays the MACD state across 4 different timeframes (e.g., 15m, 1H, 4H, Daily).
It checks for Trend Alignment (e.g., are all timeframes Bullish?) to help you trade in the direction of the higher timeframes.
4. Enhanced Visuals
4-Color Histogram: Visualizes momentum growing (bright) vs. momentum fading (pale) for both bullish and bearish phases.
Line Highlights: The MACD and Signal lines are clearly distinct, with configurable smoothing options (EMA/SMA).
Settings Guide:
Consolidation Filter: Increase the Dynamic Filter Multiplier (Default: 0.5) to widen the grey zone if you want to filter out more noise.
Oscillator Source: Switch between "MACD Line" or "Histogram" for divergence detection depending on your strategy.
Table: You can toggle the dashboard on/off or change its position to fit your chart layout.
Credits: Base MACD logic derived from standard technical analysis concepts. Dynamic filtering logic adapted from volatility band theories.
EURUSD Pre-London Open Range MarkerEURUSD Pre-London Open Range Marker
This script marks the high and low formed in the pre-London open period on EURUSD, and extends those levels forward once London opens.
It is intended as a neutral reference tool for traders who pay attention to time-based structure around the London session.
What it does
Automatically tracks London time, including daylight-saving changes
Identifies the pre-London open range
Plots the high and low of that range
Extends those levels forward from the London open
Displays the range size (pips)
What it does not do
No trade signals
No alerts
No entries, stops, or targets
No performance claims
This script provides structure only. Interpretation and execution are left to the user.
Intended use
This tool is for traders who:
Trade EURUSD
Care about London session behaviour
Prefer simple, time-based reference levels over indicators
Scope and design
Hard-coded for EURUSD
Pre-London open window is fixed and not user-configurable
Built to prioritise consistency and repeatability over flexibility
Additional context
I use this pre-London range as part of a fully documented, rules-based EURUSD trading system focused on risk management and repeatable execution which I have traded for two years.
The strategy itself is not included here.
Disclaimer
This script is provided for educational and reference purposes only.
All trading involves risk. You are responsible for your own decisions.
One-line link
For those interested in how this range is used within a complete, rules-based EURUSD trading system, further documentation is available here:
SUPER SPX T.SHere is the professional English description for your indicator. You can use this if you want to save the script in your TradingView library or share it with others.
### **Indicator Name:** `SPX Pro: EMA Crossover with RSI Filter`
### **Description:**
This indicator is specifically optimized for **SPX (S&P 500)** trading, particularly for options traders (CALL/PUT). It combines trend-following moving averages with a momentum filter to identify high-probability entry points.
---
### **Key Features:**
* **Dual EMA Engine:** Uses a **9-period Exponential Moving Average (Fast)** and a **21-period Exponential Moving Average (Slow)**. These are the standard benchmarks for identifying short-term momentum on the SPX.
* **RSI Momentum Filter:** Unlike standard crossover indicators, this script includes a built-in **Relative Strength Index (RSI)** filter.
* **CALL signals** are only generated if the RSI is below 65 (preventing buying at the absolute peak).
* **PUT signals** are only generated if the RSI is above 35 (preventing selling at the absolute bottom).
* **Visual Signals:** * **Green Triangle + "CALL":** Triggered when the 9 EMA crosses above the 21 EMA while the RSI allows for more upside.
* **Red Triangle + "PUT":** Triggered when the 9 EMA crosses below the 21 EMA while the RSI allows for more downside.
* **Clean Interface:** Displays the EMAs clearly on the chart to help identify dynamic support and resistance levels.
---
### **How to Use:**
1. **Timeframe:** Recommended for **5-minute** and **15-minute** charts for day trading.
2. **Confirmation:** Look for the signal to appear after the candle closes to ensure the crossover is confirmed.
3. **Strategy:** This indicator works best when the SPX is trending. During a "sideways" or "choppy" market, the RSI filter will help eliminate many false signals that standard crossovers usually fail to catch.
---
**Next Step:**
Would you like me to add a **"Table"** on the corner of the screen that shows the current RSI value and the trend status (Bullish/Bearish) so you don't have to keep looking at the bottom of the chart?
StructureX - Market Participation FlowThis indicator evaluates how effectively the market is participating in the current price movement. Rather than focusing solely on direction, it measures the quality, efficiency, and tradability of market conditions.
█ PURPOSE
The indicator helps identify conditions where:
• Price movement occurs with insufficient volume support
• Effort is being expended without proportional price progress
• Breakouts lack genuine market acceptance
• Volatility expands without meaningful participation
Its role is to filter low-quality market conditions and highlight environments where execution quality is strong or weak.
█ HOW IT WORKS
The engine computes multiple participation metrics and synthesizes them into a unified execution framework.
Effort Score
Measures energy expended using volume and volatility expansion relative to baseline.
Result Score
Measures price efficiency by comparing net movement versus total path traveled.
Acceptance Score
Determines whether effort is converting into meaningful price progress.
Absorption Score
Detects wasted effort — high activity with limited price advancement.
Participation Score
A master composite score combining all participation factors.
Fakeout Risk
Estimates false-move probability based on effort and result imbalance.
█ HUD DISPLAY
Three display modes are available:
Minimal
Trade Permission only. Fast glance for quick decisions.
Clean
Adds Participation Strength, Efficiency Balance, and Volume Quality. Recommended default.
Detailed
Full diagnostics with all scores and contextual notes. For deep analysis.
HUD Fields:
• Trade Permission — YES / CAUTION / NO
• Participation Strength — High / Medium / Low with numeric score
• Efficiency Balance — Efficient / Neutral / Wasteful
• Volume Quality — Clean / Mixed / Thin
• Effort vs Result — Good / Neutral / Bad
• Flow Consistency — Stable / Unstable
• Acceptance — Accepted / Rejected / Unclear
• Volatility Risk — Supports move / Neutral / Chop risk
• Notes — Contextual guidance for execution
█ METHODOLOGY
Effort Calculation
Volume Relative = Current Volume ÷ EMA(Volume, Length)
ATR Relative = Current ATR ÷ EMA(ATR, Length)
Effort Score = Weighted combination mapped to 0–100
Result Calculation
Net Move = |Close − Close |
Path Length = Sum of bar-to-bar movement over n bars
Efficiency Ratio = Net Move ÷ Path Length
Result Score = Efficiency × 100 (clamped 0–100)
State Machine
• Uses hysteresis thresholds with debounce logic
• Applies minimum hold periods to prevent whipsaw
• Requires confirmation before state transitions
█ INPUTS
Scoring Parameters
• Volume EMA Length (default: 20)
• ATR Length (default: 14)
• ROC / Path Length (default: 14)
Threshold Settings
• Accept enter / exit thresholds
• Reject enter / exit thresholds
• Permission thresholds for YES / CAUTION / NO
Stability Controls
• Confirm Bars — debounce period before state change
• Minimum Hold Bars — prevents rapid state flipping
█ INTERPRETATION
Trade Permission YES
Participation supports current market conditions. Execution environment is favorable.
Trade Permission CAUTION
Mixed participation signals. Additional confirmation recommended before execution.
Trade Permission NO
Weak or degraded participation. Consider standing aside or reducing size.
Practical Reading:
• High Participation + Efficient → Clean conditions, favorable for execution
• Low Participation + Wasteful → Poor quality, elevated false-move risk
• Thin Volume → Reduced confidence, validate with additional context
█ STRUCTUREX SUITE
This indicator is part of the StructureX modular trading toolkit:
1. StructureX Sessions — Market session context and timing
2. StructureX Regime Engine — Trend vs Range classification
3. StructureX Options Context — Directional bias framework
4. StructureX Participation Flow — Execution quality filter ← This indicator
5. StructureX Core — Smart Money structure and zones
Suggested Stacking Order:
SESSIONS → REGIME ENGINE → PARTICIPATION FLOW → CORE
Each module is standalone but designed to work together. Participation Flow sits between environment detection (Regime) and structure mapping (Core), acting as an execution-quality gate.
█ SUITABLE MARKETS
Works on any market with meaningful volume data:
• Futures (ES, NQ, CL, GC)
• Forex (tick volume proxy)
• Stocks and ETFs
• Crypto assets
Note: On instruments with limited volume feeds (some forex, indices), the ATR component will dominate effort calculations. The indicator remains functional.
█ TECHNICAL NOTES
• Pine Script® v6
• No repainting
• No future-data references
• Optimized for performance and object limits
• Data Window exports available for external analysis
• Compliant with SHAHZAD PINE RULEBOOK v6.8
█ DISCLAIMER
This indicator is a technical analysis and decision-support tool. It does not provide financial advice, trade recommendations, or investment guidance.
All trading decisions remain the responsibility of the user. Market conditions can change rapidly, and no indicator guarantees outcomes. Always apply proper risk management.
█ VERSION HISTORY
v1.0.1 — Advanced HUD redesign with full-word labels, mode-specific rows, and actionable notes
v1.0.0 — Initial release with core participation engine
VWAP STDev Bands (HTF on LTF) • Plots a VWAP line and four pairs of VWAP standard-deviation bands around it using multipliers 1.28, 1.28, 2.22, 2.51.
• Computes VWAP and the stdev on a higher timeframe you choose (vwapTf, default 3 minutes) and displays those values on whatever chart you are on (e.g., 30s candles).
• VWAP/stdev are volume-weighted and are computed from src (default HLC3).
• VWAP/bands can reset either:
• By an intraday session window (0930-1600 NY) when useSessionReset=true, or
• Daily (NY midnight boundary) when useSessionReset=false.
• Optional: Hide all plots outside the session when using session reset (hideOutsideSession=true).
• Lets you show/hide VWAP and each band pair, and optionally fill the area between each band pair.
• Lets you control colors and line widths for VWAP and each band pair, plus fill transparency.
• Provides two alert conditions:
• Fires when price touches the upper Band 3 (multiplier m3, default 2.22) using high >= u3.
• Fires when price touches the lower Band 3 using low <= l3.
Alerts only evaluate when Band 3 is visible and plots are enabled.
Reasonable inferences (how it behaves on your 30s chart with 3m HTF)
• The lines will look “stepped” or hold constant within each 3-minute block, because the VWAP/bands are calculated on 3-minute candles and then mapped onto 30-second candles.
• If you enable “Hide Outside Session,” the plotted lines disappear outside 0930–1600 NY.
WTI Scalp Signals @RADUVEGAWTI Scalp Signals Pro V1.3
Description:
Overview This indicator is a specialized mean-reversion tool designed specifically for the high volatility of the Crude Oil (WTI) market. It combines momentum exhaustion (using a fast RSI) with classic Price Action patterns to identify high-probability scalping opportunities.
Unlike standard indicators that use generic settings, this script has been tuned to react to the "whipsaw" nature of modern energy markets.
Key Features & Logic
Optimized RSI Settings: Uses a 9-period RSI (instead of the standard 14) to catch rapid momentum shifts.
Asymmetric Levels: Tuned with a Sell Threshold at 65 and a Buy Threshold at 25. This asymmetry reflects the market's tendency to drop sharper than it rises (panic selling vs. accumulation).
Pattern Recognition: The script validates RSI signals only when confirmed by specific candlestick patterns:
Bullish/Bearish Engulfing
Hammer / Shooting Star
2-Bar Reversals
Smart Stacking Technology (v1.2): Includes a custom logic to prevent label overlapping. If multiple signals occur on the same bar (e.g., a "Sell" signal + a "Shooting Star"), the labels automatically stack vertically so the chart remains clean and readable.
How to Use
Timeframe: Best used on lower timeframes (1m, 5m, 15m) for scalping sessions.
Sell Signals (Red/Maroon): Look for these during rapid price pumps. The script identifies when price is overextended (RSI > 65) and prints a bearish candle pattern.
Buy Signals (Green): Look for these during sharp sell-offs. The script waits for the RSI to dip below 25 and confirms with a bullish reversal pattern.
Secondary Patterns: Small labels like "SS" (Shooting Star) or "2Bear" serve as additional confirmation of trend weakness.
Settings
RSI Length: Default 9 (Adjustable).
Overbought/Oversold: Default 65/25 (Adjustable).
Pattern Toggles: You can turn on/off specific patterns (Engulfing, Hammers, etc.) to suit your visual preference.
Disclaimer This tool is designed to assist in technical analysis and does not constitute financial advice. Always use proper risk management.
Author: @RADUVEGA
Sessions_X📊 Session_x Indicator - Master Documentation
Overview
Session_x is a comprehensive ICT/SMC trading toolkit designed for precision intraday trading. It visualizes key session timings, liquidity levels (Highs/Lows), and institutional opening prices. The indicator features a "Smart History" system that keeps the current trading day clean with actionable lines, while converting previous days into visual boxes for back testing and review.
________________________________________
🌟 Key Features
1. 🕒 Session Logic (Current Day vs. History)
The indicator handles the Asian and London sessions dynamically to keep your chart clutter-free.
• Current Day (Live):
o Draws Lines representing the Session High and Low.
o Wick Precision: The lines start exactly from the candle wick that created the High or Low (not the session start time).
o Extensions: Lines extend to the right to act as live support/resistance.
o Labels: Clearly labelled (e.g., "Asia H", "London L") on the right side.
• Previous Days (History):
o Once the trading day closes (midnight), the lines are automatically deleted.
o They are replaced by a Shaded Box covering the session's range (High to Low, Start Time to End Time).
o Customizable: You can set separate styles (colors, borders) for the live lines and the history boxes.
2. 📦 Custom Time Box
A completely independent tool to track a specific time window (e.g., a "Silver Bullet" hour or a specific news window).
• Always a Box: Unlike Asia/London, this feature draws a box immediately when the time starts, both for the current day and history.
• Precision: Snaps exactly to the High and Low wicks within that time range.
3. 🔑 Institutional Levels
• TDO (True Day Open): Marks the opening price at 00:00 (NY Time). This line extends indefinitely throughout the current day to act as a bias filter.
• NYO (New York Open): Marks the opening price at 09:30 (NY Time). This line extends only for the current trading day and stops at the end of the day to prevent overlap.
4. 📈 High Timeframe Liquidity
• PDH / PDL (Previous Day High/Low): Dashed lines marking yesterday's range.
• PWH / PWL (Previous Week High/Low): Dotted lines marking the previous week's range.
• Note: These lines extend automatically and update at the start of a new day or week.
5. 🌊 EMA Ribbon
A trend-following tool consisting of 4 customizable Exponential Moving Averages.
• Defaults: 9, 20, 50, 200 lengths.
• Editable: You can toggle the ribbon on/off and change the Length, Colour, and Thickness of every individual EMA.
6. 🔔 Built-in Alerts
Automated alerts to notify you of key session breakouts:
• London Breakout: Triggers when price crosses the Asian Session High or Low during the London session.
• NY Breakout: Triggers when price crosses the London Session High or Low during the New York session.
________________________________________
⚙️ Settings Guide
You can access these settings by double-clicking the indicator on your chart.
1. Time zone & History
• Indicator Time zone: Default is America/New York. All session times below refer to this time zone.
• Days to Keep History: Controls how far back the boxes and lines appear (default is 3 days). Increase this to see more history, decrease it to improve chart performance.
2. Labels & Separators
• Show Names: Toggle text labels on/off.
• Text Colour/Size: Customize the look of the labels ("Asia H", "PDH", etc.).
• Day Separator: A vertical line drawn at 00:00 to visually separate trading days.
3. Session Settings (Asia / London)
• Time: Define the start and end time (e.g., 0200-0500).
• Current Day Lines: Controls the look of the active dashed lines.
• History Boxes: Controls the look of the shaded boxes that appear after the day finishes.
4. Custom Box
• Time: Set your custom time range (e.g., 1000-1100).
• Style: Controls the Border Colour, Width, and Background transparency.
5. Key Levels & HTF
• TDO / NYO: Enable/Disable and style the True Day Open and NY Open lines.
• PDH/PDL & PWH/PWL: Enable/Disable and style Previous Day/Week levels.
________________________________________
🚀 How to Trade with It
1. Bias Determination: Use the TDO line. If price is above TDO, look for longs. If below, look for shorts.
2. Liquidity Targets: Use PDH/PDL and PWH/PWL as major targets for take-profits.
3. Session Sweeps (Judas Swing):
o Watch for the London Session to sweep the Asian High/Low (Alert provided).
o Watch for the NY Session to sweep the London High/Low (Alert provided).
4. Trend: Use the EMA Ribbon. If the fast EMAs (9, 20) are above the slow EMAs (50, 200), the trend is bullish.
MNQ Optimal Entry Detector - Timeframe StableOptimized for timeframes and has better trade stability, overall better option however use with discretion, dont trade until 3 hours after market opens and dont use 4 hours before close due to lack of volume.
PFA RSI.DAcademic Note on Momentum–Structure Asymmetry
This study operationalizes a second-order momentum–price decoupling framework in which localized extrema of a bounded oscillator are conditionally sampled at structurally validated inflection points of the underlying price series. By enforcing temporal symmetry in extrema confirmation and subsequently evaluating the directionality of inter-extrema displacement across heterogeneous state spaces (price vs. momentum), the model isolates regimes where apparent oscillator weakness or strength is statistically incongruent with higher-order directional persistence in price. Such configurations are interpreted not as terminal disequilibria but as transient redistributions of informational load within an ongoing trend, thereby capturing continuation-biased dynamics rather than mean-reverting behavior. Noise suppression is further enhanced through amplitude-based filtering in both absolute and relative domains, ensuring that only materially significant divergence manifolds are admitted into the signal set.
Note about indicator:
Employs a second-order price–momentum asymmetry framework rather than direct signal-based oscillation triggers
Samples oscillator extrema only at structurally confirmed price inflection points, enforcing temporal symmetry
Evaluates directional inconsistency across heterogeneous state spaces (price vs. bounded momentum)
Interprets divergence as transient informational redistribution, not exhaustion or reversal
Biased toward continuation regimes, explicitly excluding mean-reversion logic
Integrates amplitude-based filtering in both absolute (oscillator) and relative (price) domains
Admits only materially significant divergence manifolds, suppressing stochastic micro-noise
Designed as a non-repainting, structure-conditioned momentum model rather than a heuristic indicator
PFA_RSID Momentum–Structure Asymmetry
This study operationalizes a second-order momentum–price decoupling framework in which localized extrema of a bounded oscillator are conditionally sampled at structurally validated inflection points of the underlying price series. By enforcing temporal symmetry in extrema confirmation and subsequently evaluating the directionality of inter-extrema displacement across heterogeneous state spaces (price vs. momentum), the model isolates regimes where apparent oscillator weakness or strength is statistically incongruent with higher-order directional persistence in price. Such configurations are interpreted not as terminal disequilibria but as transient redistributions of informational load within an ongoing trend, thereby capturing continuation-biased dynamics rather than mean-reverting behavior. Noise suppression is further enhanced through amplitude-based filtering in both absolute and relative domains, ensuring that only materially significant divergence manifolds are admitted into the signal set.
Employs a second-order price–momentum asymmetry framework rather than direct signal-based oscillation triggers
Samples oscillator extrema only at structurally confirmed price inflection points, enforcing temporal symmetry
Evaluates directional inconsistency across heterogeneous state spaces (price vs. bounded momentum)
Interprets divergence as transient informational redistribution, not exhaustion or reversal
Biased toward continuation regimes, explicitly excluding mean-reversion logic
Integrates amplitude-based filtering in both absolute (oscillator) and relative (price) domains
Admits only materially significant divergence manifolds, suppressing stochastic micro-noise
Designed as a non-repainting, structure-conditioned momentum model rather than a heuristic indicator
Midnight Opening RangeScript to find the Midnight Opening Range.
This script is to find the Fibonacci levels authored by ICT himself in the 2025 Mentorship. If the Fib levels and prices are inside the line you will need to increase the offset to your liking.
Make sure you check on that before saying is not working
ADX Coloreado por AO + DI DifferenceKey ComponentsADX line: Measures overall trend strength (non-directional).
+DI line: Strength of upward movement.
-DI line: Strength of downward movement.
Trend direction is determined by which DI line is dominant:+DI > -DI: Bullish trend (upward pressure).
-DI > +DI: Bearish trend (downward pressure).
Crossovers between +DI and -DI can signal potential trend changes, but they are most reliable when ADX confirms sufficient strength.ADX Trend Strength Levels (Common Interpretations)ADX Value
Trend Strength
Recommendation
0–20
Weak or no trend (ranging/sideways market)
Avoid trend-following strategies; consider range-bound or oscillator-based trades.
20–25
Emerging or moderate trend (gray zone)
Monitor for confirmation; potential start of trend.
25–50
Strong trend
Ideal for trend-following strategies (e.g., moving averages, breakouts).
50–75
Very strong trend
High momentum; good for riding trends, but watch for exhaustion.
75–100
Extremely strong trend (rare)
Often overextended; risk of reversal or correction.
Rising ADX: Trend is strengthening.
Falling ADX: Trend is weakening (even if still high).
Volume DI Diff + ADX Coloreado por AOInterpretationIf +DI > -DI (positive DI+ - DI- difference) → Upward trend pressure (bullish signal).
If -DI > +DI (negative DI+ - DI- difference) → Downward trend pressure (bearish signal).
Crossovers between +DI and -DI generate buy/sell signals, often filtered by ADX for reliability.
This setup is widely used in technical analysis to identify trending markets and avoid whipsaws in ranging conditions. It's part of the broader Average Directional Movement System (ADX/DMI).
Key ComponentsADX line: Measures overall trend strength (non-directional).
+DI line: Strength of upward movement.
-DI line: Strength of downward movement.
Trend direction is determined by which DI line is dominant:+DI > -DI: Bullish trend (upward pressure).
-DI > +DI: Bearish trend (downward pressure).
Crossovers between +DI and -DI can signal potential trend changes, but they are most reliable when ADX confirms sufficient strength.ADX Trend Strength Levels (Common Interpretations)ADX Value
Trend Strength
Recommendation
0–20
Weak or no trend (ranging/sideways market)
Avoid trend-following strategies; consider range-bound or oscillator-based trades.
20–25
Emerging or moderate trend (gray zone)
Monitor for confirmation; potential start of trend.
25–50
Strong trend
Ideal for trend-following strategies (e.g., moving averages, breakouts).
50–75
Very strong trend
High momentum; good for riding trends, but watch for exhaustion.
75–100
Extremely strong trend (rare)
Often overextended; risk of reversal or correction.
Rising ADX: Trend is strengthening.
Falling ADX: Trend is weakening (even if still high).
NY & Sydney Open firts candle 10m (v6)We will analyze the initial intention of the opening. The first Japanese candlestick after the opening in New York or Sydney will show us the initial intention of the price movement.

















