Filtered Swing Pivot S&R )Pivot support and resis🔍 Filtered Swing Pivot S&R - Overview
This indicator identifies and plots tested support and resistance levels using a filtered swing pivot strategy. It focuses on high-probability zones where price has reacted before, helping traders better anticipate future price behavior.
It filters out noise using:
Customizable pivot detection logic
Minimum price level difference
ATR (Average True Range) volatility filter
Confirmation by price retesting the level before plotting
⚙️ Core Logic Explained
✅ 1. Pivot Detection
The script uses Pine Script's built-in ta.pivothigh() and ta.pivotlow() functions to find local highs (potential resistance) and lows (potential support).
Pivot Lookback/Lookahead (pivotLen):
A pivot is confirmed if it's the highest (or lowest) point within a lookback and lookahead range of pivotLen bars.
Higher values = fewer, stronger pivots.
Lower values = more, but potentially noisier levels.
✅ 2. Pending Pivot Confirmation
Once a pivot is detected:
It is not drawn immediately.
The script waits until price re-tests that pivot level. This retest confirms the market "respects" the level.
For example: if price hits a previous high again, it's treated as a valid resistance.
✅ 3. Dual-Level Filtering System
To reduce chart clutter and ignore insignificant levels, two filters are applied:
Fixed Threshold (Minimum Level Difference):
Ensures a new pivot level is not too close to the last one.
ATR-Based Filter:
Dynamically adjusts sensitivity based on current volatility using the formula:
java
Copy
Edit
Minimum distance = ATR × ATR Multiplier
Only pivots that pass both filters are plotted.
✅ 4. Line Drawing
Once a pivot is:
Detected
Retested
Filtered
…a horizontal dashed line is drawn at that level to highlight support or resistance.
Resistance: Red (default)
Support: Green (default)
These lines are:
Dashed for clarity
Extended for X bars into the future (user-defined) for forward visibility
🎛️ Customizable Inputs
Parameter Description
Pivot Lookback/Lookahead Bars to the left and right of a pivot to confirm it
Minimum Level Difference Minimum price difference required between plotted levels
ATR Length Number of bars used in ATR volatility calculation
ATR Multiplier for Pivot Multiplies ATR to determine volatility-based pivot separation
Line Extension (bars) How many future bars the level line will extend for better visibility
Resistance Line Color Color for resistance lines (default: red)
Support Line Color Color for support lines (default: green)
📈 How to Use It
This indicator is ideal for:
Identifying dynamic support & resistance zones that adapt to volatility.
Avoiding false levels by waiting for pivot confirmation.
Visual guidance for entries, exits, stop placements, or take-profits.
🔑 Trade Ideas:
Use support/resistance retests for entry confirmations.
Combine with candlestick patterns or volume spikes near drawn levels.
Use in confluence with trendlines or moving averages.
🚫 What It Does Not Do (By Design)
Does not repaint or remove past levels once confirmed.
Does not include labels or alerts (but can be added).
Does not auto-scale based on timeframes (manual tuning recommended).
🛠️ Possible Enhancements (Optional)
If desired, you could extend the functionality to include:
Labels with “S” / “R”
Alert when a new level is tested or broken
Toggle for support/resistance visibility
Adjustable line width or style
tance indicator
Corak carta
Previous Day H/L with Pivot & S/R LevelsThis script checks Previous Day High & Low and accordingly identifies Pivot, Support & Resistance
Long Short Momentum with Signals
Long and Short momentum
WHEN SHORT MOMENTUM CHANGES 2.0 POINTS and long term changes 5 points on day basis write A for Bullish and B for Bearish on Main Price chart
WHEN SHORT MOMENTUM CHANGES .30 per hour POINTS and long term changes 1 points on 1 hour basis. Put a green dot for Bull and red for bear in short term and for long termRespectively on price chart
TBB-barcountTrades By Bren-barcount: The Ultimate Bar Counter for Both RTH and ETH Traders
After countless hours of development and testing, I'm proud to present the Trades By Bren-barcount - the first truly reliable bar counter that seamlessly works in both Regular Trading Hours (RTH) and Extended Trading Hours (ETH) environments!
The Problem This Solves:
Ever been confused when switching between RTH and ETH? Regular bar counters create total chaos - either counting from 1 at midnight (useless for day traders) or failing to adjust when you switch chart types. This leads to completely different bar numbers for the same price action, making it impossible to keep consistent notes or communicate precise entries/exits with trading partners.
Why This Was Shockingly Difficult to Create:
What seemed like a simple feature turned into a programming odyssey! The challenge was creating a universal counter that works across different timezones, exchanges, and chart types. Pinescript doesn't natively support this functionality, requiring creative session detection techniques and complex logic to ensure the counter always starts at 1 precisely when regular market hours begin - regardless of how many pre-market bars are displayed.
Features That Make This Special:
Simple toggle for RTH-only counting - no complex configuration needed
Visually perfect numbering that starts exactly where the blue/white chart boundary exists
Works in any timezone (perfect for traveling traders!)
Customizable label size, color, and frequency
Maintains perfect count synchronization when sharing charts with trading partners
Why You Need This:
If you've ever been frustrated trying to reference "bar 37" only to realize your trading partner is seeing it as "bar 85" because of different chart settings, this indicator will change your trading communication forever. It creates a universal numbering system that everyone in your trading room can rely on.
Save yourself hours of confusion and missed opportunities. This tiny addition to your chart will become an indispensable part of your daily trading routine!
Created By:
This indicator was developed by Trades By Bren. For more amazing trading tools, strategies and insights, check out the Trades By Bren YouTube channel: youtube.com
TCloud Tilson FutureT-Wave Future – Indicator Description & How to Use
T-Wave Future is a forward-looking trend analysis tool that projects a dynamic cloud based on two customized Tilson Moving Averages:
A Short Tilson MA (default: 4-period, factor 0.38)
A Long Tilson MA (default: 15-period, factor 0.55)
Inspired by the Ichimoku Cloud, this indicator projects the cloud forward in time to provide a smoother, adaptive view of potential market trends and shifts.
🔍 What Makes T-Wave Future Unique?
✅ Uses Tilson Moving Averages, known for their smoothness and responsiveness.
✅ Projects the cloud into the future for advanced trend visualization.
✅ Customizable periods and factors for both lines.
✅ Color-coded cloud to instantly spot trend direction:
Bullish (blue) when Short Tilson > Long Tilson
Bearish (red) when Short Tilson < Long Tilson
🎯 How to Use T-Wave Future
✅ Trend Direction
The cloud color shows the dominant momentum:
Blue cloud: Bullish bias
Red cloud: Bearish bias
The forward projection gives you a visual cue of where the market is likely heading.
🔁 Trend Reversals
A change in cloud color (from red to blue or vice versa) can indicate a possible trend reversal.
Use this as a signal to prepare entries, adjust stop-losses, or scale in/out.
🟩 Entry Strategy
Long entries when price is above the blue cloud and the cloud is rising.
Short entries when price is below the red cloud and the cloud is falling.
🛡️ Dynamic Support/Resistance
The cloud acts as a future support or resistance zone.
Ideal for anticipating price pullbacks or rejections.
⚡ Pro Tips:
Combine with volume, RSI or MACD for confirmation.
Adjust projection length based on your timeframe (e.g. 26 for intraday, 52+ for swing).
Works best in trending markets – avoid relying on it in sideways conditions.
TCloud Future📘 Tcloud Future – Indicator Description & How to Use
Tcloud Future is a trend-based indicator that creates a forward-projected cloud between:
A customizable Exponential Moving Average (EMA)
A dynamic McGinley Moving Average
The cloud is shifted into the future (like the Ichimoku Cloud), giving traders a visual projection of potential trend direction.
🔧 Components:
EMA (default: 19-period) – fast-reacting average to short-term price action
McGinley Dynamic (default: 26-period) – smoother, adaptive average that reacts to volatility
Forward Projection (default: 26 candles) – pushes the cloud into the future to help anticipate trend continuation or reversal
Cloud Color
Green when EMA is above McGinley (bullish bias)
Red when EMA is below McGinley (bearish bias)
🟢 How to Trade with Tcloud Future
✅ Trend Confirmation
Use the cloud color and slope to confirm the current trend.
Green cloud sloping up → bullish momentum
Red cloud sloping down → bearish momentum
🟩 Entry Strategy (Trend-Following)
Go long when price is above the green cloud and the cloud is rising.
Go short when price is below the red cloud and the cloud is falling.
🔁 Cloud Crossovers (Trend Shift)
A color change in the projected cloud can signal a potential trend reversal.
Use this as a heads-up to prepare for position changes or tighten stops.
🛡️ Support/Resistance Zones
The cloud often acts as a dynamic support/resistance zone.
During an uptrend, pullbacks to the top or middle of the green cloud can be good entries.
During a downtrend, rallies into the red cloud can offer shorting opportunities.
🧠 Tips
Combine with RSI, MACD, or Volume for confirmation.
Avoid using it alone in sideways markets — it performs best in trending conditions.
Adjust projection and smoothing settings to fit the asset/timeframe you're trading.
Psychological Levels 25 Gold [UkutaLabs]This indicator is specifically designed to display key psychological levels for Gold (XAUUSD) trading, focusing on increments of $25. It automatically plots major and minor levels, providing traders with clear visual cues for potential support and resistance areas.
Key Features:
25 Dollar Increments: Draws lines at every $25 increment, highlighting significant price levels for Gold.
Major & Minor Levels: Distinguishes between major ($25 increments) and minor (mid-point) levels with customizable colors and styles.
Nearest Century Line: Displays the nearest 25 dollar increment to the current price with a distinct color.
Customizable Appearance: Allows users to adjust line colors, styles (dashed, dotted, solid), and widths to suit their preferences.
Number of Lines: Allows users to set the number of psychological lines to be displayed above and below the current price.
Clear Visuals: Provides clean and easily interpretable lines on the chart.
How to Use:
Add the indicator to your Gold (XAUUSD) chart.
Observe the plotted lines for potential support and resistance areas.
Customize the line colors and styles in the indicator's settings to match your chart theme.
Use these levels in conjunction with other technical analysis tools for informed trading decisions.
Disclaimer:
This indicator is for informational purposes only and should not be considered financial advice. Trading involves risks, and past performance is not indicative of future results. 1 2 Always conduct thorough research and consult with a qualified financial 3 advisor before making any trading decisions.
EMA+EMA+ (Golden & Death Cross Visualizer)
Enhance your chart with intelligent EMA cross detection. This script highlights 50/200 EMA Golden and Death Crosses, with optional filters using RSI and MACD for stronger signal confluence. Smart labels include RSI/MACD values for extra context, and background zones help visualize the significance of each cross. Customize duration, visibility, and filter sensitivity to suit your strategy.
Institutional Entry ZonesThis script is designed to detect buying and selling zones based on liquidity grabs, pivot structures, and VWAP confirmation. It focuses on identifying high-probability reversal points near the extremes of the trading day, where large players are most likely to enter or exit positions.
Breakout Trading Rules📄 Breakout Trading Rules – Confirmed Entry Logic
This open-source indicator helps identify confirmed bullish breakouts using a combination of price action and technical filters. It is designed for traders who prefer rule-based entries and want to visually track confirmation signals on the chart.
🧠 Core Logic
A BUY signal is confirmed only when all of the following conditions are met:
Price breaks above a key breakout level, which can be:
The most recent pivot high (automatically detected), or
A manually set level (if override is enabled).
The breakout is confirmed by two consecutive closes above the level.
Volume is above a reference average (user-defined period).
MACD is bullish (MACD line > signal line).
RSI is above a custom threshold (default is 50).
📊 What the Script Displays
A dynamic horizontal breakout line on the chart (green if price is above, red if below).
A "BUY" label plotted on the candle when all entry conditions are satisfied.
A compact checklist table in the top-right corner showing the real-time status of all entry conditions.
An alert that triggers when the breakout and all confirmations are active.
Option to manually set the breakout level for more control.
⚙️ Inputs You Can Customize
Pivot lookback period
Volume comparison lengths
RSI threshold
Manual override for breakout level
✅ Intended Use
This tool supports users in identifying confirmed breakout entries by combining simple price action with confirmation from volume and momentum indicators. It is most suitable for daily timeframe (1D) setups, but it works on other timeframes as well.
⚠️ Important Notes
This script does not repaint, and all signals are calculated using historical bar closes.
It is not a strategy, but a visual aid for discretionary entries based on clearly defined rules.
No indicator should be used in isolation. Always combine with broader market context and proper risk management.
MA ShiftMultiple Moving Averages combined which works on all time frames, Buy sell signal as per the change in the color of indicator, can be combined with RSI & MACD Leader
Dkoderweb repainting issue fix indicator# Harmonic Pattern Trading Indicator for TradingView
This indicator, called "Dkoderweb repainting issue fix indicator," is designed to identify and trade harmonic chart patterns in financial markets. It uses Fibonacci relationships between price points to detect various patterns like Bat, Butterfly, Gartley, Crab, Shark, and others.
## Key Features:
- **Pattern Recognition**: Automatically identifies over a dozen harmonic patterns including standard and anti-patterns
- **Customizable Settings**: Options to use Heikin Ashi candles and alternate timeframes
- **Fibonacci Levels**: Configurable display of key Fibonacci retracement levels
- **Entry and Exit Signals**: Clear buy/sell signals with visual triangles above/below bars
- **Trade Management**: Automatic take-profit and stop-loss levels based on Fibonacci relationships
- **Visual Aids**: Color-coded backgrounds to highlight active trade zones
- **Alert System**: Customizable alert messages for trade entries and exits
## How It Works:
The indicator uses a zigzag function to identify significant price pivots, then analyzes the relationships between these pivots to detect specific harmonic patterns. When a valid pattern forms and price reaches the entry zone (defined by a Fibonacci level), the indicator generates a trade signal.
Each pattern has specific Fibonacci ratio requirements between its points, and the indicator continuously scans for these relationships. Trade management is handled automatically with predefined take-profit and stop-loss levels.
This version specifically addresses repainting issues that are common in pattern-detection indicators, making it more reliable for both backtesting and live trading.
furs Inside Bar FailureAs it says. If an inside bar breakout fails and closes back inside, target the other side of the Inside Bar.
SMC + ICT Strategy | 5-Min | No Repaint | TP/SL LinesSmc+ Ict clear signal with no repaint also in 5 min perfect for intraday
5ADR @nothingveryrealThis script calculates the average daily range for the last 5 complete days (excluding today) and displays it as on‑chart text. It lets you switch between showing the value as a raw price difference or as pips/points, with an editable pip conversion factor (for example, 10000 for most pairs or 100 for JPY pairs).
Trigger Candle Sweep Strategy - Bearish & BullishIdentifying Trigger Candle sweeps. Sweeps of liquidity with momentum
SMC+The "SMC+" indicator is a comprehensive tool designed to overlay key Smart Money Concepts (SMC) levels, support/resistance zones, order blocks (OB), fair value gaps (FVG), and trap detection on your TradingView chart. It aims to assist traders in identifying potential areas of interest based on price action, swing structures, and volume dynamics across multiple timeframes. This indicator is fully customizable, allowing users to adjust lookback periods, colors, opacity, and sensitivity to suit their trading style.
Key Components and Functionality
1. Key Levels (Support and Resistance)
This section plots horizontal lines representing support and resistance levels based on highs and lows over three distinct lookback periods, plus daily nearest levels.
Short-Term Lookback Period (Default: 20 bars)
Plots the highest high (short_high) and lowest low (short_low) over the specified period.
Visualized as dotted lines with customizable colors (Short-Term Resistance Color, Short-Term Support Color) and opacity (Short-Term Resistance Opacity, Short-Term Support Opacity).
Adjustment Tip: Increase the lookback (e.g., to 30-50) for less frequent but stronger levels on higher timeframes, or decrease (e.g., to 10-15) for scalping on lower timeframes.
Long-Term Lookback Period (Default: 50 bars)
Plots broader support (long_low) and resistance (long_high) levels using a solid line style.
Customizable via Long-Term Resistance Color, Long-Term Support Color, and their respective opacity settings.
Adjustment Tip: Extend to 100-200 bars for swing trading or major trend analysis on daily/weekly charts.
Extra-Long Lookback Period (Default: 100 bars)
Identifies significant historical highs (extra_long_high) and lows (extra_long_low) with dashed lines.
Configurable with Extra-Long Resistance Color, Extra-Long Support Color, and opacity settings.
Adjustment Tip: Use 200-500 bars for monthly charts to capture macro-level key zones.
Daily Nearest Resistance and Support Levels
Dynamically calculates the nearest resistance (daily_res_level) and support (daily_sup_level) based on the current day’s price action relative to historical highs and lows.
Displayed with Daily Resistance Color and Daily Support Color (with opacity options).
Adjustment Tip: Works best on intraday charts (e.g., 15m, 1h) to track daily pivots; combine with volume profile for confirmation.
How It Works: These levels update dynamically as new highs/lows form, providing a visual guide to potential reversal or breakout zones.
2. SMC Inputs (Smart Money Concepts)
This section identifies swing structures, order blocks, fair value gaps, and entry signals based on SMC principles.
SMC Swing Lookback Period (Default: 12 bars)
Defines the period for detecting swing highs (smc_swing_high) and lows (smc_swing_low).
Adjustment Tip: Increase to 20-30 for smoother swings on higher timeframes; reduce to 5-10 for faster signals on lower timeframes.
Minimum Swing Size (%) (Default: 0.5%)
Filters out minor price movements to focus on significant swings.
Adjustment Tip: Raise to 1-2% for volatile markets (e.g., crypto) to avoid noise; lower to 0.2-0.3% for forex pairs with tight ranges.
Order Block Sensitivity (Default: 1.0)
Scales the size of detected order blocks (OBs) for bullish reversal (smc_ob_bull), bearish reversal (smc_ob_bear), and continuation (smc_cont_ob).
Visuals include customizable colors, opacity, border thickness, and blinking effects (e.g., SMC Bullish Reversal OB Color, SMC Bearish Reversal OB Blink Thickness).
Adjustment Tip: Increase to 1.5-2.0 for wider OBs in choppy markets; keep at 1.0 for precision in trending conditions.
Minimum FVG Size (%) (Default: 0.3%)
Sets the minimum gap size for Fair Value Gaps (fvg_high, fvg_low), displayed as boxes with Fair Value Gap Color and FVG Opacity.
Adjustment Tip: Increase to 0.5-1% for larger, more reliable gaps; decrease to 0.1-0.2% for scalping smaller inefficiencies.
How It Works:
Bullish Reversal OB: Detects a bearish candle followed by a bullish break, marking a potential demand zone.
Bearish Reversal OB: Identifies a bullish candle followed by a bearish break, marking a supply zone.
Continuation OB: Spots strong bullish momentum after a prior high, indicating a continuation zone.
FVG: Highlights bullish gaps where price may retrace to fill.
Entry Signals: Plots triangles (SMC Long Entry) when price retests an OB with a liquidity sweep or break of structure (BOS).
3. Trap Inputs
This section detects potential bull and bear traps based on price action, volume, and key level rejections.
Min Down Move for Bear Trap (%) (Default: 1.0%)
Sets the minimum drop required after a bearish OB to qualify as a trap.
Visualized with Bear Trap Color, Bear Trap Opacity, and blinking borders.
Adjustment Tip: Increase to 2-3% for stronger traps in trending markets; lower to 0.5% for ranging conditions.
Min Up Move for Bull Trap (%) (Default: 1.0%)
Sets the minimum rise required after a bullish OB to flag a trap.
Customizable with Bull Trap Color, Bull Trap Border Thickness, etc.
Adjustment Tip: Adjust similarly to bear traps based on market volatility.
Volume Lookback for Traps (Default: 5 bars)
Compares current volume to a moving average (avg_volume) to filter low-volume traps.
Adjustment Tip: Increase to 10-20 for confirmation on higher timeframes; reduce to 3 for intraday sensitivity.
How It Works:
Bear Trap: Triggers when price drops significantly after a bearish OB but reverses up with low volume or support rejection.
Bull Trap: Activates when price rises after a bullish OB but fails with low volume or resistance rejection.
Boxes highlight trap zones, resetting when price breaks out.
4. Visual Customization
Line Width (Default: 2)
Adjusts thickness of support/resistance lines.
Tip: Increase to 3-4 for visibility on cluttered charts.
Blink On (Default: Close)
Sets whether OB/FVG borders blink based on Open or Close price interaction.
Tip: Use "Open" for intraday precision; "Close" for confirmed reactions.
Colors and Opacity: Each element (OBs, FVGs, traps, key levels) has customizable colors, opacity (0-100), border thickness (1-5 or 1-7), and blink effects for dynamic visualization.
How to Use SMC+
Setup: Apply the indicator to any chart and adjust inputs based on your timeframe and market.
Key Levels: Watch for price reactions at short, long, extra-long, or daily levels for potential reversals or breakouts.
SMC Signals: Look for entry signals (triangles) near OBs or FVGs, confirmed by liquidity sweeps or BOS.
Traps: Avoid false breakouts by monitoring trap boxes, especially near key levels with low volume.
Notes:
This indicator is a visual aid and does not guarantee trading success. Combine it with other analysis tools and risk management strategies.
Performance may vary across markets and timeframes; test settings thoroughly before use.
For optimal results, experiment with lookback periods and sensitivity settings to match your trading style.
The default settings are optimal for 1 minute and 10 second time frames for small cap low float stocks.
Continuation OB are Blue.
Bullish Reversal OB color is Green
Bearish Reversal OB color is Red
FVG color is purple
Bear Trap OB is red with a green border and often appears with a Bearish Reversal OB signaling caution to a short position.
Bull trap OB is green with a Red border signaling caution to a long position.
All active OB area are highlighted and solid in color while other non active OB area are dimmed.
My personal favorite setups are when we have an active bullish reversal with an active FVG along with an active Continuation OB.
Another personal favorite is the Bearish reversal OB signaling an end to a recent uptrend.
The Trap OB detection are also a unique and Original helpful source of information.
The OB have a white boarder by default that are colored black giving a simulated blinking effect when price is acting in that zone.
The Trap OB border are colored with respect to direction of intended trap, all of which can be customized to personal style.
All vaild OB zones are shown compact in size ,a unique and original view until its no longer valid.
Dhaval's art candles - 5minbest time frame 5M,
Find the liquidity zone and then show my iconic candle, then buy and sell side