Keltner | Bollinger | Squeeze | Tuned RSII don't even know what I'm publishing, it an old version of my script says the banner
apparently my random chart goes with it... sigh
I just wanted to share the chart and commentary, but TradingView stopped me because I had non-public indicators attached....
Cerca negli script per "chart"
SessionScopeSessionScope highlights the major FX sessions (Asia, London, New York) on any chart timeframe by shading their local trading hours. It overlays the previous day’s high/low and the previous week’s high/low as dynamic horizontal lines. Each line is continuously updated on every bar, including during historical replay, and is annotated with a fixed “pin” label that points at the current bar while the text sits to its right. An optional UTC-shift input lets you align session windows to your local timezone, and you can adjust how far right the labels sit from the latest bar.
ETH Bullish BANGER on MA200Scans every 30-minute candle
If the MA200 is crossed from low to high by a bullish candle, it tags it as “BANGER”
Also plots MA20 and MA200 lines on the chart for reference
MA20 & MA200 EOD MonitorHere’s your updated TradingView Pine Script (v5) that:
Works on the 15-minute chart
Focuses only on Regular Trading Hours (RTH): 9:30 AM to 4:00 PM (Eastern Time)
Identifies the last 15-minute bar of the session (3:45 PM)
Checks if both MA20 and MA200 are within that candle’s high-low range
Plots an ORANGE “MONITOR” label below the candle
End-of-Day MA Monitor with AlertHere's a TradingView Pine Script (v5) that does exactly what you described:
Works on the 15-minute chart
Uses Regular Trading Hours (RTH) (default 9:30 AM – 4:00 PM ET)
Detects if the last 15-minute bar of the trading day includes MA20 or MA200
If MA20 or MA200 is within the bar's high/low range, it plots a yellow “MONITOR” label under the candle
Swing Highs and Lows Detector🔍 Swing Highs and Lows Detector
The Swing Highs and Lows Detector is a powerful tool for traders looking to identify meaningful structural shifts in price action, based on swing point logic and internal trend shifts.
📈 What It Does
This indicator automatically identifies and labels:
HH (Higher High) – Price broke above the previous swing high
LH (Lower High) – Price failed to break the previous high, signaling potential weakness
LL (Lower Low) – Price broke below the previous swing low
HL (Higher Low) – Price maintained a higher support level, indicating strength
The script distinguishes between bullish and bearish internal shifts and tracks the highest/lowest points between those shifts to determine the swing structure.
⚙️ How It Works
You can choose between two shift detection modes:
"Open": Compares closing price to the first open of the opposite streak
"High/Low": Uses the high of bearish or low of bullish candles
Once a shift is confirmed, the indicator scans the bars between shifts to find the most significant swing high or low
When a valid swing is detected, it’s labeled directly on the chart with color-coded markers
🛎️ Built-in Alerts
Set alerts for:
Higher High
Lower High
Lower Low
Higher Low
These alerts help you catch key structural shifts in real time — great for breakout traders, structure-based analysts, and smart money concepts (SMC) strategies.
✅ How to Use
Confirm Trend Strength or Reversals – Use HH/HL to confirm an uptrend, LL/LH to confirm a downtrend
Combine with Liquidity Sweeps or Zones – Ideal for SMC or Wyckoff-style setups
Entry/Exit Triggers – Use swing breaks to time entries or exits near key structural points
MestreDoFOMO Future Projection BoxMestreDoFOMO Future Projection Box - Description & How to Use
Description
The "MestreDoFOMO Future Projection Box" is a TradingView indicator tailored for crypto traders (e.g., BTC/USDT on 1H, 4H, or 1D timeframes). It visualizes current price ranges, projects future levels, and confirms trends using semi-transparent boxes. With labeled price levels and built-in alerts, it’s a simple yet powerful tool for identifying support, resistance, and potential price targets.
How It Works
Blue Box (Current Channel): Shows the recent price range over the last 10 bars (adjustable). The top is the highest high plus an ATR buffer, and the bottom is the lowest low minus the buffer. Labels display exact levels (e.g., "Top: 114000", "Bottom: 102600").
Green Box (Future Projection): Projects the price range 10 bars ahead (adjustable) based on the trend slope of the moving average. Labels show "Proj Top" and "Proj Bottom" for future targets.
Orange Box (Moving Average): Traces a 50-period EMA (adjustable) to confirm the trend. An upward slope signals a bullish trend; a downward slope signals a bearish trend. A label shows the current MA value (e.g., "MA: 105000").
Alerts: Triggers when the price nears the projected top or bottom, helping you catch breakouts or retracements.
How to Use
Add the Indicator: Apply "MestreDoFOMO Future Projection Box" to your chart in TradingView.
Interpret the Trend: Check the orange box’s slope—upward for bullish, downward for bearish.
Identify Key Levels: Use the blue box’s top as resistance and bottom as support. On a 4H chart, if the top is 114,000, expect resistance; if the bottom is 102,600, expect support.
Plan Targets: Use the green box for future targets—top for profit-taking (e.g., 114,000), bottom for stop-loss or buying (e.g., 102,600).
Set Alerts: Enable alerts for "Near Upper Projection" or "Near Lower Projection" to get notified when the price hits key levels.
Trade Examples:
Bullish: If the price breaks above the blue box top (e.g., 114,000), buy with a target at the green box top. Set a stop-loss below the green box bottom.
Bearish: If the price rejects at the blue box top and drops below the orange MA, short with a target at the blue box bottom.
Customize: Adjust the lookback period, projection bars, ATR multiplier, and MA length in the settings to fit your trading style.
Tips
Use on 1H for short-term trades, 4H for swing trades, or 1D for long-term trends.
Combine with volume or RSI to confirm signals.
Validate levels with market structure (e.g., candlestick patterns).
10 Monday's 1H Avg Range + 30-Day Daily RangeWhat This Script Does
This indicator is designed for traders who want to monitor volatility and range behavior at the start of the trading week . It focuses specifically on the first four 15-minute candles of each Monday and tracks their combined high-low range over time.
How It Works
Monday 1H Range Detection:
Each week, it automatically detects and highlights the first 4 candles of Monday on a 15-minute chart (1 hour total). It calculates the range between the highest high and lowest low of these candles.
10-Week Average of Monday 1H Ranges:
It stores and averages the last 10 such ranges, displaying this average in a table for weekly comparison.
30-Day Daily Range Average:
Separately, it calculates the average daily range (high – low) of the last 30 daily candles. This value helps put the Monday 1H range into broader context and can guide Stop Loss or TP planning.
Dynamic Labeling & Visual Highlights:
The script visually highlights the first 4 candles of Monday and places a label showing the pip range once the 4 candles have completed. It also updates a small table with the two averages described above.
How to Use It
Use it on the 15-minute timeframe to activate the Monday 1H logic.
Compare the current week’s Monday range to the 10-week average to see if volatility is increasing or decreasing.
Use the 30-day daily range to determine if the Monday opening movement is unusually large or small.
Consider adjusting trade entries, stops, or targets if the Monday range is disproportionately large compared to recent historical behavior.
What Makes It Original?
This is not a typical volatility indicator like ATR or standard deviation. Instead, it’s a purpose-built tool combining:
Time-specific behavior (first hour of the week),
Historical contextualization (10-week average tracking),
A dual-timeframe analysis (15-min + daily),
A user-friendly table and visual interface.
This script helps intraday or swing traders spot abnormal volatility early in the week and adjust their strategies accordingly—especially in fast-moving Forex or Index markets.
Open-Based Adjustable LevelsThis indicator gives signals for levels where the buy or sell volume is above adjustable levels (ex, volume at 100,000). And these levels will only signal after the price has gone above/below a certain 'adjustable' percentage of the stocks opening price.
Example: Signal sell when the price action is 0.7% above market opening price and when sell volume is above 120,000
or
Signal buy when buy volume is above 80,000 and the price is 0.5% below market opening price.
Great for day trading and detecting potential swings in the market. Above image is on a 3min chart.
Doesn't work as well on daily time frames or above.
Should be combined with other indicators like buy/sell channels, for the best confirmations
Asia Session Reversal Strategy GOLD (Full Version)📈 Asia Session Reversal Strategy (Gold/XAUUSD)
This indicator identifies high-probability reversal trades during the second hour of the Asia session (01:00–02:00 UTC) based on 30-minute candle bias. It:
Detects initial directional push and signals reversal trades on the 1-minute chart
Plots entry, stop-loss, and take-profit levels using a 3:1 reward-to-risk ratio
Includes real-time PnL tracking, daily auto-reset, and alert notifications for BUY/SELL setups
Ideal for scalpers and intraday traders focusing on Gold during consistent, high-liquidity session windows.
DXY Monthly Return (+3M Lead)This indicator calculates the rolling monthly return (based on 21 trading days) for the U.S. Dollar Index (DXY), applying a +3-month forward shift (lead) to the series.
It is designed to help visualize the leading effect of USD strength or weakness on other macro-sensitive assets — particularly Bitcoin and crypto markets, which often react to changes in global dollar liquidity with a lag of approximately 10 weeks.
Note: This script does not invert the values directly. To match the inverted Y-axis visual used by Steno Research — where negative USD returns are displayed at the top — simply right-click the Y-axis in the chart panel and select “Invert Scale.”
💡 Use this tool for macro trend analysis, early crypto signal generation, or studying inverse correlations between USD and risk assets.
Source logic: Steno Research, Bloomberg, Macrobond.
FeraTrading Sessions High/LowThe FeraTradiang Sessions High/Low Indicator plots precise high and low levels for the New York, London, and Asian trading sessions — without any clutter.
We designed this tool for simplicity, clarity and accuracy, automatically adjusting to any timeframe and time zone — no manual setup required.
🔍 Key Features:
Clean horizontal lines marking session highs and lows
Lines start at the actual high/low
Session times:
New York: 09:30 – 17:00
London: 03:00 – 08:00
Asian: 18:00 – 03:00
Real-time updates that trail live candles
Only shows the most relevant sessions:
Yesterday’s NY
Last night’s Asia + morning continuation
Today’s London
Fully customizable:
Session colors
Session toggles
Label toggles
Line extension settings
Enable extended trading hours on your chart for best results.
Whether you're trading futures, forex, or crypto, this indicator provides clean session context without the mess. Open-source for extra customization and designed for real-time usability.
FeraTrading Auto ORBThe FeraTrading Auto ORB Indicator automatically plots the high, low, and midline from your selected opening range timeframe—then resets them daily to keep your chart clean and readable.
Customizable Features:
You can choose from multiple ORB timeframes: 1min, 2min, 3min, 5min, 10min, 15min, 30min, 45min, and 60min. These levels display on any chart timeframe, so you can watch a 2-minute chart while tracking 15-minute ORB levels for broader structure.
Toggle each line individually (high, low, midline) on or off
Set custom colors to the lines to match your style
Built for flexibility, simplicity, and clarity.
Also, open source!
CANX Gold (XAUUSD) $5 Psychological Levels© CanxStixTrader
FOR GOLD ONLY
--------------------------------
This is a vary simple yet powerful indicator based on the psychological levels that retail traders use to trade gold and institutions in turn target these levels.
--------------------------------
HOW TO USE
Once the trend has been determined then this simple indicator can be used to target the pull backs for the sniper entries you want.
-TIP, pair with other indicators for optimal entries and trend identification. We recommend the 1 minute time frame for entries and a momentum indicator for extra confirmation.
--------------------------------
The indicator draws lines every 50 pips or $5 on the chart and is customizable to your preference.
Like always, Keep it simple!
© CanxStixTrader
Cointegration Heatmap & Spread Table [EdgeTerminal]The Cointegration Heatmap is a powerful visual and quantitative tool designed to uncover deep, statistically meaningful relationships between assets.
Unlike traditional indicators that react to price movement, this tool analyzes the underlying statistical relationship between two time series and tracks when they diverge from their long-term equilibrium — offering actionable signals for mean-reversion trades .
What Is Cointegration?
Most traders are familiar with correlation, which measures how two assets move together in the short term. But correlation is shallow — it doesn’t imply a stable or predictable relationship over time.
Cointegration, however, is a deeper statistical concept: Two assets are cointegrated if a linear combination of their prices or returns is stationary , even if the individual series themselves are non-stationary.
Cointegration is a foundational concept in time series analysis, widely used by hedge funds, proprietary trading firms, and quantitative researchers. This indicator brings that institutional-grade concept into an easy-to-use and fully visual TradingView indicator.
This tool helps answer key questions like:
“Which stocks tend to move in sync over the long term?”
“When are two assets diverging beyond statistical norms?”
“Is now the right time to short one and long the other?”
Using a combination of regression analysis, residual modeling, and Z-score evaluation, this indicator surfaces opportunities where price relationships are stretched and likely to snap back — making it ideal for building low-risk, high-probability trade setups.
In simple terms:
Cointegrated assets drift apart temporarily, but always come back together over time. This behavior is the foundation of successful pairs trading.
How the Indicator Works
Cointegration Heatmap indicator works across any market supported on TradingView — from stocks and ETFs to cryptocurrencies and forex pairs.
You enter your list of symbols, choose a timeframe, and the indicator updates every bar with live cointegration scores, spread signals, and trade-ready insights.
Indicator Settings:
Symbol list: a customizable list of symbols separated by commas
Returns timeframe: time frame selection for return sampling (Weekly or Monthly)
Max periods: max periods to limit the data to a certain time and to control indicator performance
This indicator accomplishes three major goals in one streamlined package:
Identifies stable long-term relationships (cointegration) between assets, using a heatmap visualization.
Tracks the spread — the difference between actual prices and the predicted linear relationship — between each pair.
Generates trade signals based on Z-score deviations from the mean spread, helping traders know when a pair is statistically overextended and likely to mean revert.
The math:
Returns are calculated using spread tickers to ensure alignment in time and adjust for dividends, splits, and other inconsistencies.
For each unique pair of symbols, we perform a linear regression
Yt=α+βXt+ε
Then we compute the residuals (errors from the regression):
Spreadt=Yt−(α+βXt)
Calculate the standard deviation of the spread over a moving window (default: 100 samples) and finally, define the Cointegration Score:
S=1/Standard Deviation of Residuals
This means, the lower the deviation, the tighter the relationship, so higher scores indicate stronger cointegration.
Always remember that cointegration can break down so monitor the asset over time and over multiple different timeframes before making a decision.
How to use the indicator
The heatmap table:
The indicator displays 2 very important tables, one in the middle and one on the right side. After entering your symbols, the first table to pay attention to is the middle heatmap table.
Any assets with a cointegration value of 25% is something to pay attention to and have a strong and stable relationship. Anything below is weak and not tradable.
Additionally, the 40% level is another important line to cross. Assets that have a cointegration score of over 40% will most likely have an extremely strong relationship.
Think about it this way, the higher the percentage, the tighter and more statistically reliable the relationship is.
The spread table:
After finding a good asset pair using heatmap, locate the same pair in the spread table (right side).
Here’s what you’ll see on the table:
Spread: Current difference between the two symbols based on the regression fit
Mean: Historical average of that spread
Z-score: How far current spread is from the mean in standard deviations
Signal: Trade suggestion: Short, Long, or Neutral
Since you’re expecting mean reversion, the idea is that the spread will return to the average. You want to take a trade when the z-score is either over +2 or below -2 and exit when z-score returns to near 0.
You will usually see the trade suggestion on the spread chart but you can make your own decision based on your risk level.
Keep in mind that the Z-score for each pair refers to how off the first asset is from the mean compared to the second one, so for example if you see STOCKA vs STOCKB with a Z-score of -1.55, we are regressing STOCKB (Y) on STOCKA (X).
In this case, STOCKB is the quoted asset and STOCKA is the base asset.
In this case, this means that STOCKB is much lower than expected relative to STOCKA, so the trade would be a long position on stock B and short position on stock A.
%MAThis indicator is designed to plot a Simple Moving Average (SMA) along with customizable upper and lower bands (% up/down) on a TradingView chart. Here's a brief but thorough explanation of its functionality:
TL;DR: This script shows percentages above and below customizable moving average timeframes & legnths. It's unique in the sense that it isn't on a separate pane & gives visual clarity against the price in real time HLOC.
1. Main SMA Plot
The script calculates a Simple Moving Average (SMA) based on user-defined inputs:
Timeframe: E.g., daily ("Daily") by default.
Length: E.g., 50 periods by default.
Color: Customizable by the user.
This SMA acts as the central reference line and can be toggled on or off using a "Show" option.
2. Upper and Lower Bands
The script generates two upper bands and two lower bands around the main SMA.
Each band is derived from an SMA (calculated similarly to the main SMA) and offset by a percentage:
Upper Bands: SMA × (1 + distance percentage / 100), e.g., SMA × 1.05 for a 5% offset.
Lower Bands: SMA × (1 - distance percentage / 100), e.g., SMA × 0.95 for a 5% offset.
These bands can indicate potential support, resistance, or volatility ranges.
3. Customization
Users can independently configure:
Visibility: Toggle each band and the main SMA on or off.
Timeframe: Set the timeframe for each SMA calculation.
Length: Define the SMA period.
Distance Percentage: Adjust the offset for each band.
Color: Choose colors for all plotted lines.
This flexibility allows tailored analysis for different trading strategies or timeframes.
4. Plotting
The main SMA and each band are plotted using TradingView’s plot function, but only if their respective "Show" options are enabled.
Lines are displayed with user-specified colors and styles (e.g., the main SMA has a linewidth of 2).
Purpose
This script provides a versatile tool for technical analysis, enabling traders to visualize an SMA with percentage-based bands to identify key price levels or ranges, such as support/resistance, volatility zones, and trends, with extensive customization options.
Gartley 222 Strategy (Final Full Version)Gartley 222 Strategy (Bullish Pattern) — Repaint-Free, Backtestable
This strategy is based on the classic Gartley 222 harmonic pattern, originally introduced by H.M. Gartley in Profits in the Stock Market (1935). It identifies potential bullish reversal zones by detecting a five-point retracement structure (X-A-B-C-D) using pivot points and Fibonacci confluence.
🧠 Strategy Logic:
Detects valid pivot-based X, A, B, C points
Validates Gartley ratios:
AB = 61.8%–78.6% of XA
CD = 78.6%–88.6% of AB
Enters long at point D only after pivot confirmation (non-repainting)
Exits at 127% Fibonacci extension of XA or on stop loss
🔍 Features:
✅ Repaint-free and fully backtestable
✅ Visual X–A–B–C–D pattern lines on chart
✅ Customizable pivot length, risk, and reward ratios
✅ Alerts for real-time Gartley Buy pattern completion
Ideal for swing traders using 4H or Daily timeframes on trending instruments like NIFTY, BANKNIFTY, or major stocks.
Aroon Buy & Sell (Custom TFs)Here's a detailed explanation of your Pine Script titled "Aroon Buy & Sell (Custom TFs)":
🧠 Strategy Overview:
This script generates buy and sell signals using the Aroon indicator across two different timeframes:
* One for detecting the primary trend (Trend Timeframe)
* One for confirming precise entry signals (Signal Confirmation Timeframe)
📊 Key Components:
1. User Inputs
* trendTF: The timeframe used to determine overall trend direction (e.g., 5-minute).
* signalTF: The faster timeframe for confirming trade signals (e.g., 1-minute).
* aroonLength: Lookback period for the Aroon calculation (default 14).
* cooldownPeriod: Number of bars to wait before allowing a new signal.
2. Aroon Calculation Function
Calculates Aroon Up and Aroon Down values using the number of bars since the highest high and lowest low.
3. Multi-Timeframe Aroon Values
Uses request.security to compute Aroon values on both trendTF and signalTF.
4. Trend Detection
* A bullish trend is defined when Aroon Up crosses above Aroon Down on the trend timeframe.
* A bearish trend is defined when Aroon Down crosses above Aroon Up.
5. Signal Logic
* Buy Signal: When the overall trend is bullish and Aroon Down = 100 on the signal timeframe.
* Sell Signal: When the trend is bearish and Aroon Up = 100 on the signal timeframe.
6. Cooldown Mechanism
Prevents back-to-back signals by enforcing a cooldown (e.g., 20 bars) after each buy/sell.
7. Signal Plotting & Alerts
Plots buy/sell signals directly on the chart and supports alerts for automation.
📈 Visual Output:
* BUY label below the bar when buy conditions are met.
* SELL label above the bar when sell conditions are met.
🔔 Alerts:
Two alertconditions are defined to trigger alerts whenever a buy or sell signal occurs.
ICT iFVG Detector and Alert [by ote618]Description
This script detects ICT - fair value gaps (FVG) formed by price gaps between Candle 1 and Candle 3, then monitors the next 5 candles for an inverse fair value gap (iFVG).
What It Detects
Bullish FVG: When Candle 1 high is below Candle 3 low (BISI)
Bearish FVG: When Candle 1 low is above Candle 3 high (SIBI)
Once an FVG is detected, the script checks the next 5 candles:
A Bullish FVG becomes a Bearish IFVG if price closes below Candle 1 high
A Bearish FVG becomes a Bullish IFVG if price closes above Candle 1 low
Only the first bar that validates the FVG triggers the transition to an IFVG.
Visual Output
A shaded rectangle is plotted to mark the original FVG zone (from Candle 1 to Candle 3)
Color-coded:
Red for Bearish IFVG (validated Bullish IG)
Green for Bullish IFVG (validated Bearish IG)
The rectangle extends from Candle 1 to the validating bar
Alerts
You can receive alerts when an FVG becomes an IFVG:
Configurable to fire only on selected timeframes (1m, 5m, 15m, 60m)
Alerts include the direction and the chart timeframe
Settings
Enable Alerts For Timeframe: Choose which timeframe(s) trigger alerts
This tool helps traders identify inverse FVGs (iFVG), a useful ICT concept.
Pivot ATR Zones [v6]🟩 Pivot ATR Zones
Overview:
The Pivot ATR Zones indicator plots dynamic support and resistance zones based on pivot highs and lows, combined with ATR (Average True Range) volatility levels. It helps traders visually identify potential long and short trade areas, along with realistic target and stop loss zones based on market conditions.
Features:
Automatically detects pivot highs and lows
Draws ATR-based entry zones on the chart
Plots dynamic take-profit and stop-loss levels using ATR multipliers
Color-coded long (green) and short (red) zones
Entry arrow markers for clearer trade visualization
Real-time alerts when new zones form
Best For:
Scalpers, intraday traders, and swing traders who want a visual, volatility-aware way to mark potential trade areas based on key pivot structures.
How to Use:
Look for newly formed green zones for long opportunities and red zones for short setups.
Use the dashed lines as dynamic take-profit and stop levels, tuned to the current ATR value.
Combine with other confirmation tools or indicators for optimal results.
Market Structure: BoS & CHoCH (Math by Thomas)📌 Description:
Market Structure: BoS & CHoCH (Math by Thomas) is a clean and reliable market structure tool designed to visually mark Swing Highs, Swing Lows, and classify each one as HH (Higher High), LH (Lower High), LL (Lower Low), or HL (Higher Low) based on price action. It also detects and labels Break of Structure (BoS) and Change of Character (CHoCH) to help identify potential continuation or reversal in trend.
🛠️ How to Use:
Add the indicator to your chart (works on any timeframe and asset).
Adjust the "Swing Sensitivity" input to fine-tune how many bars the script uses to detect a swing high/low. A higher number smooths out noise.
The script will automatically:
Mark every confirmed swing high or low with a solid line.
Label the swing as HH, LH, HL, or LL depending on its relative position.
Show BoS (trend continuation) or CHoCH (trend reversal) labels with the current trend direction.
Toggle labels or lines on or off with the corresponding checkboxes in settings.
🔍 Tip:
Use this indicator alongside other tools like volume or RSI for more confident entries. A CHoCH followed by two BoS in the same direction often signals a strong trend reversal.
Timeframe StrategyThis is a multi-timeframe trading strategy inspired by Ross Cameron's style, optimized for scalping and trend-following across various timeframes (1m, 5m, 15m, 1h, and 1D). The strategy integrates a comprehensive set of technical indicators, dynamic risk management, and visual tools.
Core Features
Dynamic Take Profit, Stop Loss & Trailing Stop
> Separate settings per timeframe for:
-TP% (Take Profit)
-SL% (Stop Loss)
-Trailing Stop %
-Cooldown bars
> Configurable via UI inputs.
>Smart Entry Conditions
Bullish entry: EMA9 crossover EMA20 and EMA50 > EMA200
Bearish entry: EMA9 crossunder EMA20 and EMA50 < EMA200
>Additional confirmation filters:
-Volume Filter (enabled/disabled via UI)
-Time Filter (e.g., only between 15:00–20:00 UTC)
-Spike Filter: rejects high-volatility candles
-RSI Filter: above/below 50 for trend confirmation
-ADX Filter (only applied on 1m, e.g., ADX > 15)
-Micro-Volatility Filter: minimum range percentage (1m only)
-Trend Filter (1m only): price must be above/below EMA200
>Trailing Stop Logic
-Configurable for each timeframe.
- Optional via toggle (use_trailing).
>Trade Cooldown Logic
-Prevents consecutive trades within X bars, configurable per timeframe.
>Technical Indicators Used
-EMA 9 / 20 / 50 / 200
-VWAP
-RSI (14)
-ATR (14) for volatility-based spike filtering
-Custom-calculated ADX (14) (manually implemented)
>Visual Elements
🔼/🔽 Entry signals (long/short) plotted on the chart.
📉 Table in bottom-left:
Displays current values of EMA/VWAP/volume/ATR/ADX.
> Optional "Tab info" panel in top-right (toggleable):
-Timeframe & strategy settings
-Live status of filters (volume, time, cooldown, spike, RSI, ADX, range, trend)
-Uses emoji (✅ / ❌) for quick diagnostics.
>User Customization
-Inputs per timeframe for all key parameters.
-Toggle switches for:
-Trailing stop
-Volume filter
-Info table visibility
This strategy is designed for active traders seeking a balance between momentum entry, risk control, and adaptability across timeframes. It's ideal for backtesting quick reversals or breakout setups in fast markets, especially at lower timeframes like 1m or 5m.
Compression Patterns (w/ Trend + Proximity Filter)🧠 Description:
This indicator identifies high-probability price compression patterns within trending environments — a setup prized by experienced swing and day traders alike. It combines the classic NR4, NR7, 2-Bar NR, 3-Bar NR, and Inside Day formations with a powerful trend filter and proximity logic to deliver clear, focused signals.
🔍 What's Inside:
▪️ Compression Patterns
The core of this tool lies in the logic of price compression. These patterns signal the market taking a breath — volatility contracts, volume dries up, and price coils like a spring.
When this happens in the right context, the next move is often explosive.
NR4 / NR7: Narrowest range in 4 or 7 bars — excellent for spotting the quiet before the storm.
2-Bar NR / 3-Bar NR: These identify the tightest consecutive 2 or 3-day ranges over the past 20 days — contextually rare and powerful.
Inside Day: A simple but highly effective consolidation pattern, especially when it clusters around key moving averages.
▪️ Trend Filter (EMA Stack)
You could say this is where most indicators fall apart — no context.
This one doesn’t make that mistake.
Signals only fire when the 10 EMA > 20 EMA > 50 EMA, and price is above the 20 EMA. That’s a strong, established uptrend — the only environment where breakouts are statistically favourable.
Why?
Because trend following works.
It may not give you fixed daily returns, but it’s the only strategy with theoretically infinite profit potential. You risk little, trade less, and position yourself for rare but massive moves. That’s the edge.
▪️ Proximity Filter (1 ATR to EMA)
We’ve added another layer of discipline. Signals only fire when price is:
Within 1 ATR of the 10 EMA (if price is above it), or
Within 1 ATR of the 20 EMA (if price is below the 10 EMA)
This ensures you’re not chasing. You’re waiting for tight, controlled pullbacks into dynamic support — exactly where institutions add size, not exit.
⚙️ Fully Customisable:
Toggle visibility of each pattern
Custom colours and transparency for label & background
Adjustable ATR length and multiplier
Change label text if needed (useful for translations or tweaks)
🎯 Ideal Use Case:
Swing trading off the daily chart
Day trading with VWAP/MACD filters (in alternate versions)
Supplementing price action strategies
🔚 Final Word:
This isn’t an “everything scanner.”
It’s a discerning sniper scope for traders who wait patiently for clean trends, tight consolidations, and perfect proximity — then strike.