Pro: Big Candle Pip Range (Upper Label)Highlights unusually large candles by calculating pip ranges dynamically based on recent volatility. Shows exact pip count above the candle, color-coded by direction (green bullish, red bearish). Features adaptive thresholds, optional histogram, and works on any instrument or timeframe. Ideal for scalpers and intraday traders spotting high-volatility candles quickly.
المؤشرات والاستراتيجيات
Fractional + Heikin-Ashi Candlestick – CF / ABNew model of Candlestick, Tis model constructed on Fractional Calculus mathematical, use two kernel - Caputo-Fabrizio and Atangana-Baleanu.
Fisher MPzFisher MPz - Multi-Period Z-Score Fisher Transform
Overview
An enhanced Fisher Transform that uses multi-period analysis and improved statistical methods to provide more reliable trading signals with the goal of fewer false positives.
Evolution Beyond Traditional Fisher Transform
While the classic Fisher Transform uses simple price normalization and basic smoothing, Fisher MPz introduces several key enhancements:
- Multi-period composite instead of single timeframe analysis
- Robust z-score normalization using median/MAD rather than mean/standard deviation
- Winsorization to handle outliers and price spikes
- Dynamic clipping that adapts to market volatility
- Kalman filtering for superior noise reduction vs. traditional EMA smoothing
These improvements result in cleaner signals, better adaptability to different market conditions, handles trending markets without over-saturation at extreme values, and reduced false signals compared to the standard Fisher Transform.
Key Features
Multi-Period Analysis
- Three Timeframe Approach: Simultaneously analyzes short (default 8), medium (default 13), and long (default 26) periods
- Weighted Composite: Combines all three periods using customizable weights for optimal signal generation
- Individual Period Display: Optional visualization of each period's Fisher Transform for deeper analysis
Advanced Statistical Methods
Robust Z-Score Calculation
- Uses median and MAD (Median Absolute Deviation) instead of mean and standard deviation
- More resistant to outliers and extreme price movements
- Provides stable normalization across varying market conditions
Winsorization
- Caps extreme price values at specified percentiles (default 5th and 95th)
- Reduces the impact of price spikes and anomalies
- Configurable lookback period for threshold calculation
Dynamic Z-Score Clipping
- Automatically adjusts clipping levels based on recent volatility
- Tighter bounds in calm markets (0.05) for precision
- Wider bounds in volatile markets (0.2) to capture significant moves
- Uses ATR-based volatility measurement
Kalman Filter Smoothing
- Optional advanced noise reduction using Kalman filtering
- Superior to traditional EMA smoothing for optimal signal extraction
- Configurable process noise (Q) and measurement noise (R) parameters
- Fallback to traditional smoothing factor available
How to Use
Basic Interpretation
- Above Zero: Bullish momentum
- Below Zero: Bearish momentum
- Extreme Values: Potential overbought/oversold conditions
- Crossovers: Entry/exit signals when composite crosses trigger line
Customizable Settings
Periods: Adjust based on your trading timeframe
- Lower values (3-10): More sensitive, suitable for scalping
- Medium values (10-20): Balanced for swing trading
- Higher values (20-50): Smoother for position trading
Weights: Customize responsiveness
- Increase short weight: More reactive to recent price changes
- Increase long weight: More stability and trend confirmation
Kalman Settings
- Lower Q (0.001-0.02): Smoother, more filtered signals
- Higher Q (0.02-0.1): More responsive to price changes
- Lower R (0.01-0.05): Trust data more, less filtering
- Higher R (0.1-1.0): More skeptical of data, more smoothing
ATR Daniel# ATR Daniel - Indicator Description
## 🇬🇧 ENGLISH VERSION
### ATR Daniel - Smart Trailing Stop Manager
**ATR Daniel** is an intelligent trailing stop indicator that automatically adapts to your trading style and the asset you're trading.
#### Key Features:
**🎯 3 Trading Modes:**
- **Swing Trading** - For position trading with wider stops
- **Intraday** - For day trading with balanced parameters
- **Scalping** - For quick trades with tight stops
**📊 Automatic Asset Detection:**
The indicator automatically recognizes 3 major assets and applies optimized parameters:
- **XAUUSD (Gold)** - Lower volatility settings
- **BTCUSDT (Bitcoin)** - Medium volatility settings
- **NAS100USD (Nasdaq 100)** - Higher volatility settings
**🔧 Flexible Configuration:**
- **Auto Mode**: Applies optimal parameters based on detected asset and selected trading mode
- **Manual Mode**: Customize ATR length and multiplier to your preferences
- **Customizable Colors**: Choose your own line color
- **ON/OFF Display**: Toggle line visibility as needed
**📈 Visual Display:**
- Dynamic trailing stop line that follows price action
- Color changes based on trend direction (bullish/bearish)
- Real-time info table showing:
- Current asset
- Trading mode
- ATR value
- Stop loss distance
- Recommended SL price
- Current trend direction
- Signal arrows at trend reversals (optional)
**💡 How It Works:**
The indicator uses ATR (Average True Range) to calculate dynamic stop loss levels that adapt to market volatility. The trailing stop follows the price in trending markets while protecting your position.
**Perfect for:**
- Traders who want automated stop loss management
- Multi-asset traders (Gold, Bitcoin, Nasdaq)
- All trading styles (Swing, Intraday, Scalping)
---
Target Trend + Filter Toggles [ChadAnt] V3Minor Update that allows the user to adjust the size of the stop loss.
Indicator Overview and Core Logic CREDIT TO BIGBELUGA FOR THE MAIN INDICATOR
The indicator, named "Target Trend + Filter Toggles", is an overlay that draws directly on the price chart.
1. Core Trend Detection (Modified SMA Channel)
The indicator uses a primary trend-following mechanism based on a custom channel built with Simple Moving Averages (SMAs) and Average True Range (ATR):
SMA High: ta.sma(high, length) + atr_value
SMA Low: ta.sma(low, length) - atr_value
The length is set by the user (default 20).
The atr_value is a smoothed ATR (SMA of ATR(200), multiplied by 0.8), acting as an offset to create a channel around the price action.
Trend Logic:
Uptrend (trend=true): When the close price crosses over the sma_high line.
Downtrend (trend=false): When the close price crosses under the sma_low line.
Visual Trend: The candles are colored based on this determined trend, and the SMA High/Low lines are plotted.
2. Signal Generation (Raw vs. Filtered)
Raw Signal: A raw signal (signal_up_raw or signal_down_raw) is triggered simply when the core trend logic changes (e.g., trend changes from down to up).
Filtered Signal: The final buy/sell signal (signal_up or signal_down) is triggered only when the raw signal is true AND all currently active filter toggles are confirmed within a specified filter_lookback period (default 3 bars).
⚙️ Filter Toggles and Calculations
The script includes an extensive system of boolean (on/off) toggles for various popular technical indicators, allowing the user to customize which filters must be confirmed for a signal to be valid.
FILTER CATEGORIES:
MACD,
VOLUME,
STOCHRSI,
AWESOME OSCILLATOR,
MOVING AVERAGE,
VWAP,
COUNTERTREND MA
COUNTERTREND VWAP
The script uses a for loop to check if the required confirmation happened within the last filter_lookback number of bars.
🎯 Target and Stop-Loss Levels
Upon a valid filtered signal (signal_up or signal_down), the indicator uses an extensive user-defined type (TrendTargets) and a custom draw_targets method to draw potential trade management lines:
Entry Price: The close price of the bar where the filtered signal occurred.
Stop Loss (SL):
For a Long signal: The sma_low line (the lower band of the trend channel).
For a Short signal: The sma_high line (the upper band of the trend channel).
Profit Targets (T1, T2, T3): These are calculated based on the ATR multiplier (atr_value) and an adjustable user input called target (default 1).
Targets are a multiple of atr_value added to (for longs) or subtracted from (for shorts) the Entry Price.
T1: Entry +/- (5 + target) * atr_value
T2: Entry +/- (10 + target * 2) * atr_value
T3: Entry +/- (15 + target * 3) * atr_value
These levels are plotted as extended lines with corresponding labels (e.g., "SL," "Entry," "T1"). The script also includes logic to mark targets with a "✔" and the stop-loss with an "✖" if the price hits those levels.
🎨 Visualization
The script provides clear visual cues:
Candle Coloring: Candles are colored with up_color (Green/Teal) for an uptrend and dn_color (Brown/Orange) for a downtrend.
Trend Lines: The sma_high and sma_low lines are plotted and subtly shaded between the price action.
Signal Shapes: A filtered signal triggers a set of two colored triangles (one small solid, one large transparent) plotted below the low for a long signal and above the high for a short signal.
Trade Zones: The area between the Stop Loss and the Entry line is shaded in the counter-trend color, and the area between the Entry line and the T3 line is shaded in the trend color.
This indicator is essentially a complete trading system that uses a combination of an ATR-based trend channel for entries, a multitude of technical indicators for confirmation, and an ATR-based system for trade management (SL/TPs).
Would you like me to focus on a specific filter's logic, or perhaps help you configure the indicator's inputs for a certain trading style?
Aroon with RSI Confirmation (92.86%)This script is an analytical tool designed to identify moments in market behavior when price momentum is shifting. It does this by combining two concepts: **Aroon Levels** (to measure trend maturity) and **RSI Slope Behavior** (to measure short-term momentum pressure).
**Functional Concept (Professional Description)**
The indicator examines when either the *Aroon Up* or *Aroon Down* value reaches approximately **92.86%**, which statistically represents a phase where price has recently made an extreme high or low relative to the selected period. This level suggests the trend is nearing a point of *decision*—either continuation or exhaustion.
At the same time, the script analyzes the **relationship between the RSI and its smoothed average**. The difference between the two reflects whether momentum is accelerating in the current direction or slowing. A small difference indicates **market stability**, while whether RSI is positioned above or below the smoothed line indicates **who has control**—buyers or sellers.
By requiring both conditions to align, the script filters out random noise and highlights moments where **trend structure and momentum sentiment converge**.
* **Buy Signal:** Occurs when the market has recently formed a significant low (Aroon Down ≈ 92.86) and buyers begin to regain control (RSI crosses above its smoothed value with low volatility).
* **Sell Signal:** Occurs when the market has recently reached a significant high (Aroon Up ≈ 92.86) and sellers begin to dominate (RSI slips below its smoothed value with low volatility).
---
**Psychological Interpretation**
Markets are driven by cycles of **attention**, **emotion**, and **participation**.
This script targets moments when:
1. **Price has made a meaningful extreme** (a recent new high or low).
This is where crowd sentiment is often strongest—either euphoria near highs or pessimism near lows.
2. **Traders are reassessing direction**, shown by momentum flattening (small RSI difference).
This reveals that participants are hesitating, watching, and waiting.
The market is effectively *thinking*.
3. **Control shifts subtly**, when RSI moves relative to its smoothed trend.
This indicates that early, informed participation is beginning to form—before the broader crowd reacts.
In psychological terms, the script highlights the **transitional turning points** where:
* Fear begins to weaken and confidence returns (buy setup), or
* Confidence begins to crumble and caution emerges (sell setup).
These are the earliest moments when market sentiment **changes hands**, often preceding visible trend reversals. The indicator is not reacting to outcomes—it is observing the underlying shift in **decision-making pressure** among market participants.
---
In essence, this tool identifies **behavioral inflection points**—where the market transitions from one emotional state to the next—providing traders with signals grounded in both structural trend positioning and real-time crowd momentum behavior.
CME Close PriceThis script adds the closing price of another asset on your chart, such as the BTC1! Futures Price on your BTC Spot Chart for example.
RSI BandsPlots adaptive ATR bands around the 27-EMA to approximate RSI overbought and oversold zones directly on price. Provides a clean visual reference for RSI-like extremes without displaying the RSI itself.
9:30 AM MarkerThe 9:30 AM Market Open Marker (NYC) indicator automatically plots a vertical line at 9:30 AM New York time, marking the official U.S. stock market open for each trading day.
This visual reference helps traders quickly identify the start of the regular trading session, align intraday strategies, and analyze pre-market and post-market behavior relative to the official open.
Perfect for:
Day traders and scalpers tracking session openings.
Futures traders (e.g., ES, NQ) analyzing volatility around 9:30 AM.
Anyone studying liquidity shifts and structure transitions between pre-market and RTH (Regular Trading Hours).
Features:
Draws a clean vertical line at 9:30 AM NY time for every day.
Optional customizable color and style for clear visual separation.
Works on any timeframe and automatically adjusts for daylight-saving time.
Day of Week (NYC)The Day of Week (NYC) indicator displays the weekday name (Monday, Tuesday, Wednesday, etc.) at the bottom of a separate panel, synchronized with midnight New York time (00:00) for each trading day.
It’s designed to help traders visually distinguish between sessions while keeping the main price chart clean and uncluttered.
The labels remain fixed in their own panel, so they never move in front of candles or interfere with price action.
Perfect for:
Intraday and futures traders who use New York session timing as reference.
Journalers and analysts who review daily session performance.
Anyone who wants clear visual day separators without overlapping chart elements.
Features:
Automatically adapts to NY time (EST/EDT).
Displays weekday names for every new trading day.
Minimalist gray text for a clean, non-distracting look.
Target Trend + Filter Toggles [ChadAnt] V2Minor Update that allows the user to add/remove profit targets!
Indicator Overview and Core Logic CREDIT TO BIGBELUGA FOR THE MAIN INDICATOR
The indicator, named "Target Trend + Filter Toggles", is an overlay that draws directly on the price chart.
1. Core Trend Detection (Modified SMA Channel)
The indicator uses a primary trend-following mechanism based on a custom channel built with Simple Moving Averages (SMAs) and Average True Range (ATR):
SMA High: ta.sma(high, length) + atr_value
SMA Low: ta.sma(low, length) - atr_value
The length is set by the user (default 20).
The atr_value is a smoothed ATR (SMA of ATR(200), multiplied by 0.8), acting as an offset to create a channel around the price action.
Trend Logic:
Uptrend (trend=true): When the close price crosses over the sma_high line.
Downtrend (trend=false): When the close price crosses under the sma_low line.
Visual Trend: The candles are colored based on this determined trend, and the SMA High/Low lines are plotted.
2. Signal Generation (Raw vs. Filtered)
Raw Signal: A raw signal (signal_up_raw or signal_down_raw) is triggered simply when the core trend logic changes (e.g., trend changes from down to up).
Filtered Signal: The final buy/sell signal (signal_up or signal_down) is triggered only when the raw signal is true AND all currently active filter toggles are confirmed within a specified filter_lookback period (default 3 bars).
⚙️ Filter Toggles and Calculations
The script includes an extensive system of boolean (on/off) toggles for various popular technical indicators, allowing the user to customize which filters must be confirmed for a signal to be valid.
FILTER CATEGORIES:
MACD,
VOLUME,
STOCHRSI,
AWESOME OSCILLATOR,
MOVING AVERAGE,
VWAP,
COUNTERTREND MA
COUNTERTREND VWAP
The script uses a for loop to check if the required confirmation happened within the last filter_lookback number of bars.
🎯 Target and Stop-Loss Levels
Upon a valid filtered signal (signal_up or signal_down), the indicator uses an extensive user-defined type (TrendTargets) and a custom draw_targets method to draw potential trade management lines:
Entry Price: The close price of the bar where the filtered signal occurred.
Stop Loss (SL):
For a Long signal: The sma_low line (the lower band of the trend channel).
For a Short signal: The sma_high line (the upper band of the trend channel).
Profit Targets (T1, T2, T3): These are calculated based on the ATR multiplier (atr_value) and an adjustable user input called target (default 1).
Targets are a multiple of atr_value added to (for longs) or subtracted from (for shorts) the Entry Price.
T1: Entry +/- (5 + target) * atr_value
T2: Entry +/- (10 + target * 2) * atr_value
T3: Entry +/- (15 + target * 3) * atr_value
These levels are plotted as extended lines with corresponding labels (e.g., "SL," "Entry," "T1"). The script also includes logic to mark targets with a "✔" and the stop-loss with an "✖" if the price hits those levels.
🎨 Visualization
The script provides clear visual cues:
Candle Coloring: Candles are colored with up_color (Green/Teal) for an uptrend and dn_color (Brown/Orange) for a downtrend.
Trend Lines: The sma_high and sma_low lines are plotted and subtly shaded between the price action.
Signal Shapes: A filtered signal triggers a set of two colored triangles (one small solid, one large transparent) plotted below the low for a long signal and above the high for a short signal.
Trade Zones: The area between the Stop Loss and the Entry line is shaded in the counter-trend color, and the area between the Entry line and the T3 line is shaded in the trend color.
This indicator is essentially a complete trading system that uses a combination of an ATR-based trend channel for entries, a multitude of technical indicators for confirmation, and an ATR-based system for trade management (SL/TPs).
Would you like me to focus on a specific filter's logic, or perhaps help you configure the indicator's inputs for a certain trading style?
Precision NasdaqPrecision NASDAQ Levels — Open-Source Support & Resistance Indicator
This open-source Support and Resistance Indicator helps traders plot key price levels where the market may reverse or consolidate. By plotting support and resistance zones based on historical price action, it provides clear visual cues for potential entry and exit points across various timeframes.
Features:
Customizable Settings: Adjust visual styles, label positions, and toggle level labels to suit your trading strategy.
Multi-Timeframe Support: Plot Monthly, Weekly, Daily, and Daily Range levels for broader market context.
Streamlined String Input: Input structure follows this order:
Code
Red, Red, Pink, Pink, Red, Red, Daily Range, Daily Range, Weekly, Weekly, Monthly, Monthly
Semi-Automatic NQ/QQQ Conversion: Manually input daily NQ spread or QQQ calculation to adjust NASDAQ levels. Note: Levels cannot be dragged when NQ/QQQ conversion is active. Uncheck conversion boxes to enable dragging.
How It Works
Apply the indicator to your chart.
Enter values for each support and resistance level.
Drag and adjust levels directly on the chart.
Use plotted zones to identify potential reversals, breakouts, or stop-loss placements.
Combine with other tools (e.g., trendlines or oscillators) for confirmation.
Relative Strength vs Benchmark SPYRelative Strength vs Benchmark (SPY)
This indicator compares the performance of the charted symbol (stock or ETF) against a benchmark index — by default, SPY (S&P 500). It plots a Relative Strength (RS) ratio line (Symbol / SPY) and its EMA(50) to visualize when the asset is outperforming or underperforming the market.
Key Features
📈 RS Line (blue): Shows how the asset performs relative to SPY.
🟠 EMA(50): Smooths the RS trend to highlight sustained leadership.
🟩 Green background: Symbol is outperforming SPY (RS > EMA).
🟥 Red background: Symbol is underperforming SPY (RS < EMA).
🔔 Alerts: Automatic notifications when RS crosses above/below its EMA — signaling new leadership or weakness.
How to Use
Apply to any stock or ETF chart.
Keep benchmark = SPY, or switch to another index (e.g., QQQ, IWM, XLK).
Watch for RS crossovers and trends:
Rising RS → money flowing into the asset.
Falling RS → rotation away from the asset.
Perfect for sector rotation, ETF comparison, and momentum analysis workflows.
Average Volume Corner BoxAn indicator that anchors a single info box to the chart’s top right corner. It compares the current volume to a selectable moving average (SMA, EMA, WMA) and displays a status (VOL > AVG or VOL < AVG), the current volume, the average volume, and percent difference. The color switches between red and green backgrounds so you can read volume at a glance without cluttering the chart with those stinky volume rectangles.
Features
• Fixed corner box anchored to the chart top right
• Choose MA type: SMA, EMA, WMA
• Selectable MA length
• Optional percent difference display
• Threshold multiplier to only flag meaningful spikes (e.g., vol > avg * 1.5)
• Configurable colors and font size
Daily Midnight Marker (NYC)This indicator automatically plots a vertical line at midnight (00:00) New York time on every trading day.
Each line is drawn in light gray to mark the start of a new day, helping traders visually separate daily sessions.
A weekday label (e.g., Monday, Tuesday, Wednesday...) is displayed to the right of each line, making it easy to identify daily transitions when analyzing intraday price action or reviewing trading sessions.
Perfect for traders who:
Trade based on daily session structure or pre-market setups
Use NY time as a market reference
Prefer a clean and minimal visual day separator
Daily Midnight Marker (NYC)Daily Midnight Marker (NYC) automatically plots a vertical light-gray line on your chart at midnight New York time (00:00) to visually mark the start of each trading day.
A small label is displayed at the bottom of the line that reads “Day Start”, helping traders quickly identify daily session boundaries.
This indicator is especially useful for:
Futures or forex traders referencing New York session time
Intraday analysts who want to distinguish daily ranges
Backtesting or reviewing overnight/pre-market activity
Features:
Plots at 00:00 NYC time daily
Light gray, clean design to avoid clutter
Optional label under each day start
6 AM Marker6 AM Marker – Daily Premarket Reference Line
This indicator automatically plots a vertical dotted line at 6:00 AM (local chart time) on every trading day.
It’s designed for traders who track premarket activity and want a clear visual reference of when the early market hours begin.
Features:
Marks 6:00 AM on all trading days automatically
Works on any timeframe
Adjustable timezone (e.g., America/New_York, America/Los_Angeles)
Clean, minimal visual style — perfect for day traders using NQ, ES, or other futures
This simple visual tool helps identify premarket ranges, overnight sessions, and morning setups with precision.
6 AM Marker6 AM Marker – Daily Premarket Reference Line
This indicator automatically plots a vertical dotted line at 6:00 AM (local chart time) on every trading day.
It’s designed for traders who track premarket activity and want a clear visual reference of when the early market hours begin.
Features:
Marks 6:00 AM on all trading days automatically
Works on any timeframe
Adjustable timezone (e.g., America/New_York, America/Los_Angeles)
Clean, minimal visual style — perfect for day traders using NQ, ES, or other futures
This simple visual tool helps identify premarket ranges, overnight sessions, and morning setups with precision.
Target Trend + Filter Toggles ChadAntIndicator Overview and Core Logic CREDIT TO BIGBELUGA FOR THE MAIN INDICATOR
The indicator, named "Target Trend + Filter Toggles", is an overlay that draws directly on the price chart.
1. Core Trend Detection (Modified SMA Channel)
The indicator uses a primary trend-following mechanism based on a custom channel built with Simple Moving Averages (SMAs) and Average True Range (ATR):
SMA High: ta.sma(high, length) + atr_value
SMA Low: ta.sma(low, length) - atr_value
The length is set by the user (default 20).
The atr_value is a smoothed ATR (SMA of ATR(200), multiplied by 0.8), acting as an offset to create a channel around the price action.
Trend Logic:
Uptrend (trend=true): When the close price crosses over the sma_high line.
Downtrend (trend=false): When the close price crosses under the sma_low line.
Visual Trend: The candles are colored based on this determined trend, and the SMA High/Low lines are plotted.
2. Signal Generation (Raw vs. Filtered)
Raw Signal: A raw signal (signal_up_raw or signal_down_raw) is triggered simply when the core trend logic changes (e.g., trend changes from down to up).
Filtered Signal: The final buy/sell signal (signal_up or signal_down) is triggered only when the raw signal is true AND all currently active filter toggles are confirmed within a specified filter_lookback period (default 3 bars).
⚙️ Filter Toggles and Calculations
The script includes an extensive system of boolean (on/off) toggles for various popular technical indicators, allowing the user to customize which filters must be confirmed for a signal to be valid.
FILTER CATEGORIES:
MACD,
VOLUME,
STOCHRSI,
AWESOME OSCILLATOR,
MOVING AVERAGE,
VWAP,
COUNTERTREND MA
COUNTERTREND VWAP
The script uses a for loop to check if the required confirmation happened within the last filter_lookback number of bars.
🎯 Target and Stop-Loss Levels
Upon a valid filtered signal (signal_up or signal_down), the indicator uses an extensive user-defined type (TrendTargets) and a custom draw_targets method to draw potential trade management lines:
Entry Price: The close price of the bar where the filtered signal occurred.
Stop Loss (SL):
For a Long signal: The sma_low line (the lower band of the trend channel).
For a Short signal: The sma_high line (the upper band of the trend channel).
Profit Targets (T1, T2, T3): These are calculated based on the ATR multiplier (atr_value) and an adjustable user input called target (default 1).
Targets are a multiple of atr_value added to (for longs) or subtracted from (for shorts) the Entry Price.
T1: Entry +/- (5 + target) * atr_value
T2: Entry +/- (10 + target * 2) * atr_value
T3: Entry +/- (15 + target * 3) * atr_value
These levels are plotted as extended lines with corresponding labels (e.g., "SL," "Entry," "T1"). The script also includes logic to mark targets with a "✔" and the stop-loss with an "✖" if the price hits those levels.
🎨 Visualization
The script provides clear visual cues:
Candle Coloring: Candles are colored with up_color (Green/Teal) for an uptrend and dn_color (Brown/Orange) for a downtrend.
Trend Lines: The sma_high and sma_low lines are plotted and subtly shaded between the price action.
Signal Shapes: A filtered signal triggers a set of two colored triangles (one small solid, one large transparent) plotted below the low for a long signal and above the high for a short signal.
Trade Zones: The area between the Stop Loss and the Entry line is shaded in the counter-trend color, and the area between the Entry line and the T3 line is shaded in the trend color.
This indicator is essentially a complete trading system that uses a combination of an ATR-based trend channel for entries, a multitude of technical indicators for confirmation, and an ATR-based system for trade management (SL/TPs).
Would you like me to focus on a specific filter's logic, or perhaps help you configure the indicator's inputs for a certain trading style?
Session SFPThis script is a powerful, multi-timeframe tool designed to identify high-probability Swing Failure Patterns (SFPs) at key historical levels.
Instead of looking for traditional "pivots" (like a 3-bar swing), this indicator finds the actual high and low of a previous higher-timeframe (HTF) bar (e.g., the previous weekly high/low) and waits for a lower-timeframe (LTF) candle to sweep that level and fail.
This allows you to spot liquidity sweeps and potential reversals at significant, structural price points.
How It Works
The indicator's logic is based on a simple, two-timeframe process:
Level Detection: First, it finds the high and low of the previous bar on your chosen "Level Timeframe" (e.g., W for Weekly, D for Daily). It plots these as small 'x' markers on your chart.
SFP Identification: Second, it watches price action on a lower "SFP Timeframe" (e.g., 240 for 4H). A potential SFP is identified when a candle's wick sweeps above a key high or below a key low.
Confirmation: The SFP is only confirmed after the SFP candle closes back below the high (for a bearish SFP) or above the low (for a bullish SFP). It then waits for a set number of "Confirmation Bars" to pass. If price does not close back over the level during this window, the signal is locked in, and a label is printed.
How to Use (Key Settings)
Level Timeframe (Most Important): This is the timeframe for the levels you want to trade. Set this to W to find SFPs of the previous weekly high/low. Set it to D to find SFPs of the previous daily high/low.
SFP Timeframe: This is the timeframe you want to use to find the SFP candle itself. This should be lower than your Level Timeframe (e.g., 240 or 60).
Level Lookback: This controls how many old levels the script will track. A value of 10 on a W Level Timeframe will track the highs and lows of the last 10 weeks.
Confirmation Bars: This is your "patience" filter. It's the number of SFP Timeframe bars that must close without reclaiming the level after the SFP. A value of 0 will confirm the SFP immediately on the candle's close.
Enable Wick % Filter: A quality filter. If checked, this ensures the SFP candle's rejection wick is a significant percentage of the candle's total range.
Chart Visuals
'x' Markers: These are the historical highs and lows from your "Level Timeframe". You can turn these on or off in the settings.
SFP Label: When an SFP is fully confirmed, a label (Bearish SFP or Bullish SFP) will appear, detailing the level that was swept and the timeframes used.
SFP Line: A solid horizontal line is drawn from the 'x' marker to the SFP candle to highlight the sweep.
Colored Boxes (Optional): If you are viewing a chart timeframe lower than your "SFP Timeframe", you can enable background boxes to highlight the exact SFP candle and its confirmation bars.






















