Xauusd DaudenIndicator for XAUUSD that values OB and FVG giving entry points for both purchases and sales in the NY and London sessions
Indicador para XAUUSD que valora los OB y FVG dando puntos de entrada tanto en compras como en ventas en las sesiones de NY y Londres
Candlestick analysis
Swing Failure Pattern (SFP) with AlertsSwing Failure Pattern (SFP) — Indicator Overview
Detects classic Swing Failure Patterns and their confirmations, with optional volume validation and EMA-based trend/reversal filters. Includes convenient alert categories.
1) What are SFPs?
Price briefly breaks a prior swing high/low (liquidity grab), fails to continue, and snaps back inside the range — often a potential reversal from trapped breakout participants.
2) What the indicator plots
SFP candle: wick extending beyond the previous swing (bearish above a swing high, bullish below a swing low).
Opposite/confirmation level: dotted level derived from the opposite side of the swing structure.
Confirmation: a later close beyond the opposite level; optional ▲/▼ triangles can appear with the “SFP” labels.
Two moving averages: fast/slow MAs for context (plot type selectable); style (color/width) set in the Style tab.
3) Volume validation (optional)
Uses a lower timeframe to compare the share of volume outside the swing level (wick area) against a threshold.
None: Use when volume data is questionable (CFDs/FX) or when you want maximum SFP visibility and rely on price confirmation only.
Volume outside swing < Threshold: Default for ranges/quiet phases. Idea: thin volume outside the level suggests a liquidity sweep rather than a true breakout. Start with 20–30%. Fewer but cleaner setups; works well near HTF zones (Daily/4H).
Volume outside swing > Threshold: For news/volatility/capitulation spikes. Idea: heavy pressure beyond the level was absorbed (long wick) — strong reversals possible but more false signals. Start with 50–60%. Always wait for price confirmation.
You can auto-select a lower timeframe or set one manually for the volume check.
4) EMA filter: Trend vs. Reversal
Filtering uses EMAs of the chosen fast/slow lengths (independent of the plotted MA type).
NO MA-Filter: no EMA condition; all SFPs allowed.
Reversal Signal: bullish SFP only if fast EMA < slow EMA ; bearish SFP only if fast EMA > slow EMA .
Trend Follow: bullish SFP only if fast EMA > slow EMA ; bearish SFP only if fast EMA < slow EMA .
Tip: MA colors/widths are controlled in the Style tab; the EMA filter logic isn’t affected by the plotted MA type.
5) Alerts
Multiple alert categories let you react to events like any bullish/bearish signal, SFP detected, and confirmation occurred — without listing each individual condition. Create an alert on the indicator and pick what fits your workflow.
Always trade without risk management.
Reminder: Backtest, align with HTF context and sessions, and use solid risk management.
SatoshiFrame Pivot DetectorThis script detects pivot highs and lows on the chart and plots the last three pivots as fixed horizontal rays that do not shift when the chart moves. It also optionally displays labels for each pivot and can color the levels based on strength thresholds.
RSI Custom Crossermarks custom RSI cross upwards. Just to help identify wherever there is crossover. It can be used for analysis of psi. Not a strategy
NY Session Candle (09:30-16:00 ET, Mon-Fri)This indicator plots one synthetic candle per day that represents the official New York trading session (09:30–16:00 ET).
It aggregates the open, high, low, and close across the entire session and draws a single candle on your chart, making it easier to compare session ranges, direction, make studies and volatility.
Features:
-Aggregates intraday OHLC into one candle per session.
-Colors the candle green/red depending on close vs. open.
-Excludes weekends (Sat/Sun) automatically.
-Adjustable timezone and session window in settings.
Use case:
Helps traders visually analyze how each New York session behaved without changing chart timeframes. It is a visualization tool only and does not generate trading signals or predictions.
Notes:
The script does not repaint and does not use lookahead.
The candle of the session only shows once the FULL session is closed, it is not a dynamic candle.
It is for analysis purposes only, not a trading strategy.
Original code and idea; no third-party scripts reused
Advanced Trading System - [WOLONG X DBG]Advanced Multi-Timeframe Trading System
Overview
This technical analysis indicator combines multiple established methodologies to provide traders with market insights across various timeframes. The system integrates SuperTrend analysis, moving average clouds, MACD-based candle coloring, RSI analysis, and multi-timeframe trend detection to suggest potential entry and exit opportunities for both swing and day trading approaches.
Methodology
The indicator employs a multi-layered analytical approach based on established technical analysis principles:
Core Signal Generation
SuperTrend Engine: Utilizes adaptive SuperTrend calculations with customizable sensitivity (1-20) combined with SMA confirmation filters to identify potential trend changes and continuations
Braid Filter System: Implements moving average filtering using multiple MA types (McGinley Dynamic, EMA, DEMA, TEMA, Hull, Jurik, FRAMA) with percentage-based strength filtering to help reduce false signals
Multi-Timeframe Analysis: Analyzes trend conditions across 10 different timeframes (1-minute to Daily) using EMA-based trend detection for broader market context
Advanced Features
MACD Candle Coloring: Applies dynamic 4-level candle coloring system based on MACD histogram momentum and signal line relationships for visual trend strength assessment
RSI Analysis: Identifies potential reversal areas using RSI oversold/overbought conditions with SuperTrend confirmation
Take Profit Analysis: Features dual-mode TP detection using statistical slope analysis and Parabolic SAR integration for exit timing analysis
Key Components
Signal Types
Primary Signals: Green ▲ for potential long entries, Red ▼ for potential short entries with trend and SMA alignment
Reversal Signals: Small circular indicators for RSI-based counter-trend possibilities
Take Profit Markers: X-cross symbols indicating statistical TP analysis zones
Pullback Signals: Purple arrows for potential trend continuation entries using Parabolic SAR
Visual Elements
8-Layer MA Cloud: Customizable moving average cloud system with 3 color themes for trend visualization
Real-Time Dashboard: Multi-timeframe trend analysis table showing bullish/bearish status across all timeframes
Dynamic Candle Colors: 4-intensity MACD-based coloring system (ranging from light to strong trend colors)
Entry/SL/TP Labels: Automatic calculation and display of suggested entry points, stop losses, and multiple take profit levels
Usage Instructions
Basic Configuration
Sensitivity Setting: Start with default value 6
Increase (7-15) for more frequent signals in volatile markets
Decrease (3-5) for higher quality signals in trending markets
MA Filter Type: McGinley Dynamic recommended for smoother signals
Filter Strength: Set to 80% for balanced filtering, adjust based on market conditions
Signal Interpretation
Long Entry: Green ▲ suggests when price crosses above SuperTrend with bullish SMA alignment
Short Entry: Red ▼ suggests when price crosses below SuperTrend with bearish SMA alignment
Reversal Opportunities: Small circles indicate RSI-based counter-trend analysis
Take Profit Zones: X-crosses mark statistical TP areas based on slope analysis
Dashboard Analysis
Green Cells: Bullish trend detected on that timeframe
Red Cells: Bearish trend detected on that timeframe
Multi-Timeframe Confluence: Look for alignment across multiple timeframes for stronger signal confirmation
Risk Management Features
Automatic Calculations
ATR-Based Stop Loss: Dynamic stop loss calculation using ATR multiplier (default 1.9x)
Multiple Take Profit Levels: Three TP targets with 1:1, 1:2, and 1:3 risk-reward ratios
Position Sizing Guidance: Entry labels display suggested price levels for order placement
Confirmation Requirements
Trend Alignment: Requires SuperTrend and SMA confirmation before signal generation
Filter Validation: Braid filter must show sufficient strength before signals activate
Multi-Timeframe Context: Dashboard provides broader market context for decision making
Optimal Settings
Timeframe Recommendations
Scalping: 1M-5M charts with sensitivity 8-12
Day Trading: 15M-1H charts with sensitivity 6-8
Swing Trading: 4H-Daily charts with sensitivity 4-6
Market Conditions
Trending Markets: Reduce sensitivity, increase filter strength
Ranging Markets: Increase sensitivity, enable reversal signals
High Volatility: Adjust ATR risk factor to 2.0-2.5
Advanced Features
Customization Options
MA Cloud Periods: 8 customizable periods for cloud layers (default: 2,6,11,18,21,24,28,34)
Color Themes: Three professional color schemes plus transparent option
Dashboard Position: 9 positioning options with 4 size settings
Signal Filtering: Individual toggle controls for each signal type
Technical Specifications
Moving Average Types: 21 different MA calculations including advanced types (Jurik, FRAMA, VIDA, CMA)
Pullback Detection: Parabolic SAR with customizable start, increment, and maximum values
Statistical Analysis: Linear regression slope calculation for trend-based TP analysis
Important Limitations
Lagging Nature: Some signals may appear after potential entry points due to confirmation requirements
Ranging Markets: May produce false signals during extended sideways price action
High Volatility: Requires parameter adjustment during news events or unusual market conditions
Computational Load: Multiple timeframe analysis may impact performance on slower devices
No Guarantee: All signals are suggestions based on technical analysis and may be incorrect
Educational Disclaimers
This indicator is designed for educational and analytical purposes only. It represents a technical analysis tool based on mathematical calculations of historical price data and should not be considered as financial advice or trading recommendations.
Risk Warning: Trading involves substantial risk of loss and is not suitable for all investors. Past performance of any trading system or methodology is not necessarily indicative of future results. The high degree of leverage can work against you as well as for you.
Important Notes:
Always conduct your own analysis before making trading decisions
Use appropriate position sizing and risk management strategies
Never risk more than you can afford to lose
Consider your investment objectives, experience level, and risk tolerance
Seek advice from qualified financial professionals when needed
Performance Disclaimer: Backtesting results do not guarantee future performance. Market conditions change constantly, and what worked in the past may not work in the future. Always paper trade new strategies before risking real capital.
Round Levels (.000 endings)his indicator automatically detects and marks horizontal price levels that end with trailing zeros (psychological round numbers). Examples: 1.17000, 1.16900, 1.16800 etc. These levels often act as strong support or resistance zones because traders and institutions tend to place orders around round numbers.
Features:
Plots horizontal lines at configurable “round” intervals (e.g., .000, .050, .500).
Option to select how many levels above and below current price to display.
Labels each level with its exact price for easy identification.
Helps visualize psychological levels, institutional zones, and round-number trading strategies.
Use Cases:
Spotting potential reversal zones where many traders cluster orders.
Enhancing confluence with other tools (support/resistance, Fibonacci, supply/demand).
Works on all assets (Forex, Stocks, Crypto, Indices) and all timeframes.
Large Bar ATR HighlighterAn advanced volatility indicator that highlights bars based on their size relative to Daily ATR (Average True Range).
Features configurable lookback periods to detect cumulative volatility across multiple bars, with visual highlighting, background coloring, shape markers, and comprehensive status line data. Perfect for identifying significant price movements and volatility clusters in any timeframe. Includes real-time table with threshold monitoring and alert capabilities.
HLineThe HLine indicator is a versatile tool designed to help traders visualize potential take profit and stop loss levels directly on their price charts. This tool automatically draws horizontal lines at user-defined pip distances from the current price, making it easier to plan and execute trading strategies.
Key Features:
- Dual Line Groups : Includes two independent line groups (Main Ruler Line and Secondary Ruler Line) that can be enabled separately with their own settings
- Customizable Line Styles : Choose from solid, dotted, or dashed line styles to suit your charting preferences
- Color Customization : Define unique colors for take profit and stop loss lines for clear visual distinction
- Symbol-Specific Pip Settings : Pre-configured pip values for popular symbols including XAUUSD, GBPUSD, MNQ1!, BTCUSDT.P, ETHUSDT.P, and more
- Heikin-Ashi Compatible : Works correctly with Heikin-Ashi charts by using the actual closing price
- Dynamic Line Positioning : Lines automatically update with price changes to maintain accurate distance measurements
How to Use:
1. 1.
Enable either or both line groups (Main and Secondary Ruler Lines)
2. 2.
Adjust the pip values for take profit and stop loss levels (supports custom pip settings per symbol)
3. 3.
Choose your preferred line style and colors
4. 4.
The indicator will automatically draw horizontal lines at the specified distances from the current price
Ideal For:
- Traders who want to quickly visualize potential entry and exit points
- Risk management planning by clearly defining stop loss levels
- Setting profit targets based on specific pip distances
- Maintaining consistency in trade sizing and risk across different symbols
This indicator is particularly useful for scalpers, day traders, and swing traders who rely on technical analysis and predefined price levels to make trading decisions.
Unusual Moves Detector# Unusual Moves Detector
A TradingView indicator that detects and alerts users to unusual price movements based on ATR (Average True Range) and volume analysis. This indicator is designed to identify price action that deviates significantly from normal market behavior.
## Features
### Core Detection Mechanisms
- **ATR-Based Volatility Detection**: Identifies price movements that exceed normal volatility levels
- **Volume Analysis**: Optional volume spike detection to confirm unusual moves
- **Signal Persistence Tracking**: Monitors how many signals occur within a lookback period
### Visual Indicators
- **Up/Down Arrows**: Green triangles for unusual upward moves, red triangles for downward moves
- **Signal Strength Labels**: Numbers showing how many signals occurred in the lookback period
- **Real-time Metrics Table**: Displays current ATR and volume ratios
### Customizable Parameters
1. **ATR Period** (default: 14)
- Length for Average True Range calculation
- Affects volatility measurement sensitivity
2. **Volume MA Period** (default: 20)
- Period for volume moving average
- Used in volume spike detection
3. **ATR Multiplier** (default: 2.0)
- How many times the ATR to trigger a signal
- Higher values = less sensitive to price moves
4. **Volume Multiplier** (default: 2.0)
- How many times the average volume to consider "high volume"
- Higher values = less sensitive to volume spikes
5. **Include Volume Analysis** (default: true)
- Toggle volume confirmation requirement
- When disabled, only price volatility matters
6. **Signal Lookback Period** (default: 5)
- How many bars to look back for signal counting
- Affects signal strength calculation
### Alert System
- **Upward Movement Alerts**: Triggers when unusual upward price action is detected
- **Downward Movement Alerts**: Triggers when unusual downward price action is detected
- **Customizable Alert Messages**: Can be configured in TradingView's alert system
### Information Display
Real-time metrics table shows:
- Current ATR value
- Volume ratio (current volume / average volume)
- Net signal count (up signals - down signals)
## Installation
1. Open TradingView's Pine Script Editor
2. Create a new indicator
3. Copy and paste the indicator code
4. Click "Add to Chart" to apply the indicator
## Usage Guide
### Basic Setup
1. Add the indicator to your chart
2. Adjust parameters based on your trading timeframe and style
3. Configure alerts if desired
### Parameter Tuning Tips
- **For More Signals**: Lower the ATR and Volume multipliers
- **For Fewer Signals**: Increase the multipliers
- **For Trend Following**: Increase the lookback period
- **For Quick Signals**: Decrease the lookback period
### Alert Setup
1. Click the indicator settings
2. Go to "Create Alert"
3. Choose either up or down move condition
4. Configure alert settings (sound, notification, etc.)
## Backtesting Compatibility
- Fully compatible with TradingView's backtesting engine
- All calculations use historical data only
- No forward-looking data or repainting
## Technical Details
- Written in Pine Script v6
- Optimized for real-time calculation
- Uses native TradingView functions for performance
- Compatible with all timeframes
## Performance Considerations
- Lightweight computation using built-in functions
- Efficient memory usage with variable optimization
- Real-time calculation with minimal lag
## Support and Contribution
Feel free to modify and improve the indicator according to your needs. The code is well-commented for easy understanding and modification.
## License
Free to use and modify for personal and commercial purposes.
## Disclaimer
This indicator is for informational purposes only. Always conduct your own analysis and consider multiple factors when making trading decisions.
MTF POWER OF 3 TNF💻Types of Candlesticks in the Indicator
• Strong/Valid Candles: Identified by small asterisks below and above the candlestick body; Those with a body larger than 55% of the candle's total range.
• Tailed Candles: Are not marked by asterisks.
( onedrive.live.com)]! ( onedrive.live.com)
The General Idea of the Indicator's Signals
The indicator generates signals based on specific candlestick patterns. It identifies valid candlesticks (those with a body larger than 55% of the total candlestick range) and marks them with asterisks above and below the body. Candlesticks with significant tails (long wicks) that do not meet the criteria are not marked.
These signals help traders spot potential trend reversals or continuation patterns, depending on the context and location of the marked candles within the broader price action.
(onedrive.live.com)]! (onedrive.live.com)
Daily time frame conditions
( onedrive.live.com)]! ( onedrive.live.com)
Weekly and monthly time frame conditions
( onedrive.live.com)]! ( onedrive.live.com)
( onedrive.live.com)]! ( onedrive.live.com)
(onedrive.live.com)]! (onedrive.live.com)
(onedrive.live.com)]! (onedrive.live.com)
Best Trading Conditions
- Condition 1: (the best)
• Daily Timeframe: Buy
• Weekly Timeframe: Positive (Bullish)
• Monthly Timeframe: Positive (Bullish)
( onedrive.live.com)]- ! ( onedrive.live.com)
- Condition 2:
• Daily Timeframe: Buy
• Weekly Timeframe: Positive (Bullish)
• Monthly Timeframe: Negative (Bearish) (with the condition that monthly resistance is distant)
(onedrive.live.com)]- ! (onedrive.live.com)
- Confirmatory trend line
( onedrive.live.com)]- ! ( onedrive.live.com)
- Volume detection by candle colors;
- ! (onedrive.live.com)
Candlestick Themes NYSE Pro [GPXalgo]The Critical Role of Color in Trading Performance
Professional trading environments demand visual systems that support rapid decision-making while
minimizing cognitive load and visual fatigue. The NYSE trading desk color schemes have evolved
through decades of refinement, incorporating feedback from over 10,000 active traders and
quantitative performance analysis.
Key Design Principles
1. Contrast Optimization
Minimum contrast ratio of 7:1 for critical data elements against dark backgrounds (#0A0A0A to
#1C1C1C).
2. Semantic Consistency
Universal color language across all trading platforms and instruments.
3. Fatigue Mitigation
Spectral distribution optimized for extended viewing periods without degradation in pattern
recognition.
4. Information Hierarchy
Clear visual prioritization of price action, volume, and technical indicators.
Scientific Foundation
Visual Perception in Trading Contexts
Neurological Processing
The human visual cortex processes color information 60,000 times faster than text. In trading
contexts, this translates to:
• 0.13 seconds average recognition time for color-coded signals
• 0.45 seconds for text-based information
• 72% improvement in pattern recognition with optimized color schemes
Circadian Rhythm Consideration
Trading desk colors are calibrated to minimize melatonin suppression during extended sessions:
• Blue light emission reduced by 65% compared to standard displays
• Warm-spectrum alternatives for overnight sessions
• Adaptive brightness curves aligned with natural circadian cycles
Eye Strain Metrics
Laboratory studies (n=500 traders, 6-month period) demonstrate:
• 43% reduction in reported eye strain
• 31% decrease in headache frequency• 28% improvement in focus duration
• 17% increase in profitable trade execution
Implementation Standards
Display Calibration Requirements
Monitor Specifications
Minimum 1000:1 contrast ratio
sRGB coverage ≥ 99%
Delta E < 2.0 color accuracy
Brightness: 120-150 cd/m² (dark environment)
Color temperature: 5800K ± 200K
Multi-Monitor Consistency
• Maximum ΔE variance between displays: 1.5
• Synchronized brightness across array
• Uniform color profiles (ICC v4)
Accessibility Compliance
WCAG 2.1 Level AA Standards
Normal text: 4.5:1 contrast minimum
Large text: 3:1 contrast minimum
Interactive elements: 3:1 contrast minimum
Focus indicators: 3:1 contrast minimum
Colorblind Accommodation All critical information maintains distinguishability under:
• Protanopia (red-blind)
• Deuteranopia (green-blind)
• Tritanopia (blue-blind)
Siege Trend Tracker This indicator is designed to track market trends using pivot points and engulfing candles. The main pivot points highlight potential support and resistance levels for price movements, while the RSI provides additional insights into the trend's strength by identifying overbought and oversold conditions. The inclusion of engulfing candles helps to confirm potential trend reversals or continuations.
This tool assists you in better understanding the direction of the current trend and potential reversal points. It is especially useful for making more informed trading decisions when the price approaches pivot levels, and when engulfing patterns appear. It is an ideal tool for trend-following traders.
Like any other indicator, this one does not guarantee profits. It is only meant to assist you in your chart analysis.
FrameBox — Configurable Timeframe Candle GroupsVisualize candle clusters with configurable timeframe boxes and numeric counts. Perfect for high timeframe (HTF) analysis, spotting consolidation zones, and tracking bullish/bearish periods across any chart.
Highlight periods of any configurable timeframe with colored boxes
Numeric labels show candle positions within each period
Retains previous periods for context and trend analysis
Ideal for HTF analysis on lower timeframe charts
Clean, non-intrusive, and easy to read
How to Use:
Set your Reference Timeframe: Select the higher timeframe (HTF) you want to analyze. FrameBox will group lower timeframe (LTF) candles into periods that match the selected HTF, giving you higher timeframe context on your chart.
Read the Candle Numbers: Each candle shows its position in the period. For example, "1" is the first candle, "5" is the fifth candle in a 5-candle period.
Observe the Boxes: Colored boxes highlight each period. Green = bullish period (close ≥ open), Red = bearish period (close < open). Use these boxes to spot trend direction and consolidation zones.
HTF Analysis: FrameBox works even on lower timeframe charts. Compare the period boxes to higher timeframe trends to make better decisions.
Context & Strategy: Retained previous periods give visual context for support/resistance. Use this to identify breakouts, reversals, or consolidation areas.
Important Note: FrameBox works best when the chart timeframe is equal to or lower than the selected reference timeframe. If the chart timeframe is higher than the reference timeframe, each chart candle will represent an entire period, and candle counting may show "1" for each candle.
TradeMEP ChecklisteThe TradeMEP Checklist is a visual tool for structured trade analysis and preparation.
The indicator clearly displays the most important entry and exit conditions for trend reversals and trend continuations.
All points can be individually checked off, providing a clear overview of whether the requirements for a setup are met.
Features:
Separate checklists for trend reversal and trend continuation
Ability to show or hide each section
Color highlighting when all conditions are fulfilled
Flexible positioning and adjustable font sizes
This indicator is designed specifically for traders who follow clear rules and want to systematically review their setups.
It does not replace analysis but helps to avoid mistakes and work consistently according to defined criteria.
NASDAQ VWAP Distance Histogram (Multi-Symbol)📊 VWAP Distance Histogram (Multi-Symbol)
This custom indicator plots a histogram of price strength relative to the VWAP (Volume-Weighted Average Price).
The zero line is VWAP.
Histogram bars above zero = price trading above VWAP (strength).
Histogram bars below zero = price trading below VWAP (weakness).
Unlike a standard VWAP overlay, this tool lets you monitor multiple symbols at once and aggregates them into a single, easy-to-read histogram.
🔑 Features
Multi-Symbol Support → Track up to 10 different tickers plus the chart symbol.
Aggregation Options → Choose between average or median deviation across enabled symbols.
Percent or Raw Values → Display distance from VWAP as % of price or raw price points.
Smoothing → Apply EMA smoothing to calm intraday noise.
Color-Coded Histogram → Green above VWAP, red below.
Alerts → Trigger when the aggregate crosses above/below VWAP.
Heads-Up Table → Shows number of symbols tracked and current aggregate reading.
⚡ Use Cases
Market Breadth via VWAP → Monitor whether your basket of stocks is trading above or below VWAP.
Index Substitution → Create your own “mini index” by tracking a hand-picked set of tickers.
Intraday Confirmation → Use aggregate VWAP strength/weakness to confirm entries and exits.
Relative Strength Spotting → Switch on/off specific tickers to see who’s holding above VWAP vs. breaking down.
🛠️ Settings
Include Chart Symbol → Toggle to include the current chart’s ticker.
Smoothing → EMA length (set to 0 to disable).
Percent Mode → Show results as % of price vs. raw difference.
Aggregate Mode → Average or median across all active symbols.
Symbol Slots (S1–S10) → Enter tickers to track alongside the chart.
⚠️ Notes
Works best on intraday charts since VWAP is session-based.
Designed for confirmation, not as a standalone entry/exit signal.
Ensure correct symbol format (e.g., NASDAQ:AAPL if needed).
✅ Tip: Combine this with your regular price action strategy. For example, if your setup triggers long and the histogram is well above zero, that’s added confirmation. If it’s below zero, caution — the basket shows weakness.
Custom Linear Regression Candles with Real-Time PriceHii this is great indicator to build by chatgpt.
How to use------------
1. It is based on the linear regression formula which gives you accurate market conditions.
2. You can do this with a RSI indicator so you can know overbought and oversell label.
3.If you want to get good accuracy then you can use chart type Heikin Ashi.
Input--------------
1. You can take linear regression length on different timeframes, in my backtest it was
5 to 15 min----30 and 1hour to 4hour---20 and Day---10 you can keep it.
2. You can pinpoint the highs and lows of the linear regression line.
--Please use it and give your feedback.
Highest-Lowest & TrendTSL
This code is to find the highest and lowest since the beginning of a trend.
Once the trend is found respective TSL is plotted.
Screenshot explains more about the take outs from this indicator.
Timeframe option provided to run the indicator on user selected timeframe while the chart timeframe can be different.
This gives more insights from higher or lower timeframes.
hope this Indicator helps.
FU + SMI Validator (Proper FU, 30m)Overview
The FU + SMI Validator is a sophisticated technical analysis indicator designed to detect Proper FU (Fakeouts or Liquidity Sweeps) on the 30-minute timeframe. This tool aims to help traders identify high-probability reversal setups that occur when price briefly breaks key levels (sweeping liquidity), then reverses with momentum confirmation.
Fakeouts are common market events where price action “hunts stops” before reversing direction. Correctly identifying these events can offer excellent entry points with defined risk. This indicator combines price action logic with momentum and volatility filters to provide reliable signals.
Core Concepts
Proper FU (Fakeout) Detection
At its core, the script identifies proper fakeouts by checking if the current bar’s price:
For bullish fakeouts: dips below the previous bar’s low (sweeping stops) and then closes above the previous bar’s high
For bearish fakeouts: spikes above the previous bar’s high and then closes below the previous bar’s low
This ensures that the breakout is a true sweep rather than just a one-sided close.
Optionally, the script can require one additional confirmation bar after the FU, ensuring that the momentum is sustained and reducing false signals.
SMI-style Momentum Validation
To improve the quality of signals, the indicator uses a proxy for the Stochastic Momentum Index (SMI) by calculating the difference between current and past linear regression slopes of price. This momentum check helps ensure that fakeouts occur alongside actual directional strength.
Key points:
Momentum must be increasing in the direction of the FU signal.
Momentum filters can be enabled or disabled based on user preference.
Squeeze Condition to Avoid Low-Volatility Traps
The script includes a volatility filter based on a squeeze-like condition:
It compares Bollinger Bands (BB) and Keltner Channels (KC).
When BB bands contract inside KC bands, the market is in a squeeze state, signaling low volatility.
Fakeouts during squeeze conditions are often unreliable; the script can filter these out to reduce false alarms.
Killzone Session Timing Filter
Recognizing that liquidity and volatility vary by session, this tool supports optional filtering for:
London Killzone: 09:00 to 10:30 (UK time)
New York Killzone: 13:00 to 14:30 (UK time)
Signals only trigger during these high-activity windows if enabled, helping traders focus on periods with the best liquidity and market participation.
Note: For Killzone filtering to work accurately, your TradingView chart must be set to the UK timezone.
Features & Benefits
Robust FU detection ensures the breakout price action is meaningful, reducing noise.
Momentum filter via linear regression slope captures trend strength in a smooth, mathematically sound way.
Low-volatility squeeze avoidance helps reduce false signals in choppy or range-bound markets.
Killzone timing filter focuses your attention on the most liquid and active market hours.
Optional confirmation bar increases signal reliability.
Raw FU markers allow visualization of all detected fakeouts for pattern recognition and manual analysis.
Alerts built-in for both valid buy and sell FU setups, enabling real-time notification and quicker decision-making.
Customization Options
Killzone usage: Enable or disable the session timing filter.
Sessions: Configure London and New York killzone time ranges.
Momentum alignment: Enable or disable momentum filter based on SMI proxy.
Volatility filter: Avoid signals during squeeze or low-volatility conditions.
FU confirmation: Option to require one additional confirming candle after the initial FU.
Squeeze and momentum parameters: Adjust Bollinger Bands length and multiplier, Keltner Channel length and ATR multiplier.
Raw FU markers: Show or hide all detected fakeouts regardless of filters.
How to Use This Indicator
Apply to 30-minute charts for forex pairs, indices, cryptocurrencies, or other instruments.
Set your chart timezone to UK time if using Killzone filters.
Adjust input parameters based on your preferred sessions and risk tolerance.
Look for green “VALID BUY FU” labels below bars for bullish fakeout entries.
Look for red “VALID SELL FU” labels above bars for bearish fakeout entries.
Use the alert system to receive notifications on setups.
Combine with your existing analysis or risk management strategy for entries, stops, and profit targets.
Why Use FU + SMI Validator?
Fakeouts are some of the most lucrative but tricky setups for many traders. Without proper filters, they can lead to false entries and losses. This script integrates price action, momentum, volatility, and session timing into one package, providing a robust tool to spot high-quality fakeout opportunities and improve trading confidence.
Limitations
Requires chart to be set to UK timezone for session filters.
Designed specifically for 30-minute timeframe — performance on other timeframes may vary.
Momentum is a proxy, not a direct SMI calculation.
Like all indicators, best used in conjunction with sound risk management and other analysis tools.
Potential Enhancements
Conversion into a full strategy script for backtesting entries and exits.
Addition of other momentum indicators (RSI, MACD) or volume filters.
Customizable time zones or auto time zone detection.
Multi-timeframe analysis capabilities.
Visual dashboard for summary of signal stats.