Option Maxpain & WallsThis simple script plots three lines on your chart based on options data: Call Wall, Put Wall and Max Pain. These three numbers must be obtained elsewhere. While Tradingview has delayed options data, to my knowledge Pinescript does not allow looping through this data to calculate the numbers within the script. So the user must obtain or calculate them elsewhere then type them into the input dialog. Labels and alerts are included as user options.
Penunjuk dan strategi
Frankfurt Front DoorOh meine bruider, hoffe ich dass du jetzt diese sehen kannst und dass wir machen ganz viel hak
🔰 Smart Money RSI Liquidez v1 + EMA50 by Leo OntiverosThis indicator combines Smart Money concepts with RSI and liquidity sweeps to generate precise buy/sell signals—ideal for scalping and intraday trading (3M, 5M, 15M).
🔎 Key Features:
✅ RSI Divergences:
Detects bullish and bearish divergences using the 14-period RSI.
Signals are stronger in oversold (<30) or overbought (>70) zones.
💧 Liquidity Sweeps:
Highlights areas where price sweeps liquidity (new lows/highs) and then reverses.
Bullish sweep: price makes a new low and closes bullish.
Bearish sweep: price makes a new high and closes bearish.
📈 Smart Confirmed Signals:
BUY (🟢): Bullish divergence + RSI oversold + bullish liquidity sweep.
SELL (🔴): Bearish divergence + RSI overbought + bearish liquidity sweep.
🎯 Visuals:
Arrows and BUY/SELL labels directly on the candle.
Background highlights for signal clarity.
Includes the EMA50 (orange line) as a trend reference.
⚙️ Recommended Use:
Timeframes: 3min, 5min, 15min.
Best when combined with market structure (BOS, CHoCH), order blocks, and price action.
Extra filter: take signals only in the direction of the EMA50 trend.
📢 Perfect for traders following institutional order flow and looking for high-probability reversal zones confirmed by volume and structure.
Time-Specific Volume AverageA volume indicator based on historic volume.
Checks for the average volume in the past few days at the same time of day. This helps you determine when there is truly volume in the markets.
We will see often see sustained volume above the average during a clear trend. If you see spikes in volume without it being sustained above the average, it is very likely that the trend will die off quickly.
This is very helpful in determining whether to trade based on a trend following system, or a range based system.
Settings are below:
Days to average: Number of days to look back(tradingview has limits depending on your plan)
SMA Length: Number of "volume averages" to look at. Keep this at 1 if you want the average volume at the exact moment in the day. If you increase it, will also average in the past few candles of "volume averages".
SMA Multiplier: Multiplies the SMA by this amount(helps to get higher quality trends)
Dynamic Ray BandsAbout Dynamic Ray Bands
Dynamic Ray Bands is a volatility-adaptive envelope indicator that adjusts in real time to evolving market conditions. It uses a Double Exponential Moving Average (DEMA) as its central trend reference, with upper and lower bands scaled according to current volatility measured by the Average True Range (ATR).
This creates a dynamic structure that visually frames price action, helping traders identify areas of potential trend continuation, overextension, or mean reversion.
How It Works
🟡 Centerline (DEMA)
The central yellow line is a Double Exponential Moving Average, which offers a smoother, less laggy trend signal than traditional moving averages. It represents the market’s short- to medium-term “equilibrium.”
🔵 Outer Bands
Plotted at:
Upper Band = DEMA + (ATR × outerMultiplier)
Lower Band = DEMA - (ATR × outerMultiplier)
These bands define the extreme bounds of current volatility. When price breaks above or below them, it can signal strong directional momentum or overbought/oversold conditions, depending on context. They're often used as trend breakout zones or to time exits after extended runs.
🟣 Inner Bands
Plotted closer to the DEMA:
Inner Upper = DEMA + (ATR × innerMultiplier)
Inner Lower = DEMA - (ATR × innerMultiplier)
These are preliminary volatility thresholds, offering early cues for potential expansion or reversal. They may be used for scalping, tight stop zones, or pre-breakout positioning.
🔁 Dynamic Width (Bands are Dynamically Adjusted Per Tick)
The width of both inner and outer bands is based on ATR (Average True Range), which is recalculated in real time. This means:
During high volatility, the bands expand, allowing for wider price fluctuations.
During low volatility, the bands contract, tightening range expectations.
Unlike fixed-width channels or standard Bollinger Bands (which use standard deviation), this per-tick adjustment via ATR enables Dynamic Ray Bands to reduce false signals in choppy markets and remain more reactive during trending conditions.
⚙️ Inputs
DMA Length — Period for the central DEMA.
ATR Length — Lookback used for ATR volatility calculations.
Outer Band Multiplier — Controls sensitivity of extreme bands.
Inner Band Multiplier — Controls proximity of inner bands.
Show Inner Bands — Toggle for plotting the inner zone.
🔔 Alerts
Alert conditions are included for:
Price closing above/below the outer bands (trend momentum or overextension)
Price closing above/below the inner bands (early signs of strength/weakness)
🧭 Use Cases
Breakout detection — Catch price continuation beyond the outer bands.
Volatility filtering — Adjust trade logic based on band width.
Mean reversion — Monitor for snapbacks toward the DEMA after price stretches too far.
Trend guidance — Use band slope and price position to confirm direction.
⚠️ Disclaimer
This script is intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to trade any specific market or security. Always test indicators thoroughly before using them in live trading.
Fibonacci Optimal Entry ZoneFibonacci Optimal Entry Zone - Professional Market Structure Trading Tool
Overview
This indicator combines market structure analysis with dynamic Fibonacci retracement levels to identify optimal entry zones in trending markets. Unlike standard Fibonacci tools, this indicator automatically detects swing points, tracks market structure changes (CHoCH - Change of Character), and adapts Fibonacci levels in real-time as new market structure develops.
Key Innovation - Why This Combination Works
This tool merges two powerful concepts:
Smart Money Concepts (SMC) market structure detection
Automated Fibonacci retracement analysis
The synergy creates a systematic approach to finding high-probability reversal zones by waiting for structure breaks before drawing Fibonacci levels, ensuring you're always trading with the trend rather than against it.
How It Works
1. Market Structure Detection
Uses pivot high/low analysis to identify significant swing points
Detects "Change of Character" (CHoCH) when price breaks previous structure
Distinguishes between bullish (Higher Highs/Higher Lows) and bearish (Lower Highs/Lower Lows) market conditions
2. Dynamic Fibonacci Deployment
Automatically draws Fibonacci retracements between the most recent significant swings
Updates levels in real-time as new structure forms
Includes extended levels (-2.0 to 1.618) for both retracement and extension analysis
3. Optimal Entry Zone Identification
Highlights the "Golden Zone" (0.5-0.618 for bullish, 0.382-0.5 for bearish)
Provides visual fills between key levels to identify confluence zones
Shows exact price levels at each Fibonacci ratio
Trading Methodology
For Bullish Setups:
Wait for a bullish CHoCH (break above previous high)
Monitor price retracement to Fibonacci levels
Look for entries in the 0.5-0.618 zone (Golden Zone)
Use 0.786 as final support before trend invalidation
For Bearish Setups:
Wait for a bearish CHoCH (break below previous low)
Monitor price retracement to Fibonacci levels
Look for entries in the 0.382-0.5 zone
Use 0.236 as final resistance before trend invalidation
Unique Features
Swing Tracker Mode: Continuously updates Fibonacci levels with each new swing
Structure Period Optimization: Adjustable lookback period (default 10) to capture different market conditions
Visual Clarity: Customizable colors, line styles, and label positions
Fill Zones: Create visual zones between any two Fibonacci levels
Extended Levels: Includes negative Fibonacci levels for advanced harmonic patterns
Real-time Updates: Levels extend to current bar for immediate analysis
Best Practices
Timeframe Selection: Works best on H1 and above for swing trading, M15-H1 for intraday
Confluence: Combine with support/resistance, moving averages, or volume analysis
Risk Management: Use the 0.786 level (bullish) or 0.236 level (bearish) for stop-loss placement
Trend Confirmation: Only take trades in the direction of the CHoCH signal
Settings Guide
Structure Period: Higher values (15-20) for major swings, lower values (5-10) for minor swings
Swing Tracker: Enable for active markets, disable for cleaner historical analysis
Fibonacci Levels: Customize which levels to display based on your trading style
Golden Zone Fill: Highlights the optimal entry area for visual clarity
This indicator is designed for traders who understand market structure and want an automated, systematic approach to Fibonacci-based entries. It removes the subjectivity of manual Fibonacci placement while ensuring you're always aligned with the current market structure.
Chart Requirements:
Use a clean chart with only this indicator
Show at least one complete CHoCH signal with Fibonacci levels
Demonstrate how the levels update with new swings
Highlight the golden zone if enabled
True Breakout Pattern [TradingFinder] Breakout Signal Indicator🔵 Introduction
In many market conditions, what initially appears to be a decisive breakout often turns out to be nothing more than a false breakout or fake breakout. Price breaks through a key swing level or an important support and resistance zone, only to quickly return to its previous range.
These failed breakouts, which are often the result of liquidity traps or market manipulation, serve more as a warning sign of structural weakness than confirmation of a new trend.
This indicator is designed around the concept of the fake breakout.
The logic is simple but precise : when price breaks a swing level and returns to that level within a maximum of five candles, the move is considered a false breakout. At this point, a Fibonacci retracement is applied to the recent price swing to evaluate the pullback area.
If price, within ten candles after the return to the breakout level, enters the Fibonacci zone between 0.618 and 1.0, the setup becomes valid for a potential entry. This area is identified as a long entry zone, with the stop loss placed just beyond the 1.0 level and the take profit defined based on the desired risk-to-reward ratio.
By combining accurate detection of false breakouts, analysis of price reaction to swing levels, and alignment with Fibonacci retracement logic, this framework allows traders to identify opportunities often missed by others. In a market where failed breakouts are a common and recurring phenomenon, this indicator aims to transform these traps into measurable trading opportunities.
Long Setup :
Short Setup :
🔵 How to Use
This indicator operates based on the recognition of false breakouts from structural levels in the market, specifically swing levels, and combines that with Fibonacci retracement analysis.
In this strategy, trades are only considered when price returns to the broken level within a defined time window and reacts appropriately inside a predefined Fibonacci range. Depending on the direction of the initial breakout, the system outlines two scenarios for long and short setups.
🟣 Long Setup
In the long setup, price initially breaks below a support level or swing low. If the price returns to the broken level within a maximum of five candles, the move is identified as a fake breakout.
At this stage, a Fibonacci retracement is drawn from the recent high to the low. If price, within ten candles of returning to the level, moves into the 0.618 to 1.0 Fibonacci zone, the conditions for a long entry are met.
The stop loss is placed slightly below the 1.0 level, while the take profit is set based on the trader’s preferred risk-reward ratio. This setup aims to capture deeply discounted entries at low risk, aligned with smart money reversals.
🟣 Short Setup
In the short setup, the price breaks above a resistance level or swing high. If the price returns to that level within five candles, the move is again treated as a false breakout. Fibonacci is then drawn from the recent low to the high to observe the retracement area.
Should price enter the 0.618 to 1.0 Fibonacci range within ten candles of returning, a short entry is considered valid. In this case, the stop loss is placed just above the 1.0 level, and the take profit is adjusted based on the intended risk-reward target. This method allows traders to identify high-probability short setups by focusing on failed breakouts and deep pullbacks.
🔵 Settings
🟣 Logical settings
Swing period : You can set the swing detection period.
Valid After Trigger Bars : Limits how many candles after a fake breakout the entry zone remains valid.
Max Swing Back Method : It is in two modes "All" and "Custom". If it is in "All" mode, it will check all swings, and if it is in "Custom" mode, it will check the swings to the extent you determine.
Max Swing Back : You can set the number of swings that will go back for checking.
🟣 Display settings
Displaying or not displaying swings and setting the color of labels and lines.
🟣 Alert Settings
Alert False Breakout : Enables alerts for Breakout.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵 Conclusion
A sound understanding of the false breakout phenomenon and its relationship to structural price behavior is essential for technical traders aiming to improve precision and consistency. Many poor trading decisions stem from misinterpreting failed breakouts and entering too early into weak signals.
A structured approach, grounded in the analysis of swing levels and validated through specific price action and timing rules, can turn these misleading moves into valuable trade opportunities.
This indicator, by combining fake breakout detection with time filters and Fibonacci-based retracement zones, helps traders only engage with the market when multiple confirming factors are in alignment. The result is a strategy that emphasizes probability, risk control, and clarity in decision-making, offering a solid edge in navigating today’s volatile markets.
Volatility Zones (STDEV %)This indicator calculates and visualizes the relative price volatility of any asset, expressed as a percentage of standard deviation over a rolling window.
🧠 How it works:
- Calculates rolling standard deviation of price (close) as a percentage of the current price.
- Classifies market into three volatility regimes :
• Low Volatility (≤2%) → Blue zone
• Medium Volatility (2–4%) → Orange zone
• High Volatility (>4%) → Red zone
📊 Why it matters:
Volatility structure reflects the underlying regime of the market — ranging, expanding, or trending. This tool helps traders:
- Spot optimal low-risk entry conditions
- Avoid chop zones or highly erratic moves
- Time breakouts or trend initiations
🛠 Usage:
- Works on any timeframe and instrument
- Adjustable lookback period
- Best used alongside trend filters or entry signals (e.g., SuperTrend, EMAs, etc.)
Customizable EMA & SMA ComboThis script includes both EMA and SMA into a single customizable indicatior.
YAS V1This advanced "All-in-One" indicator combines the most powerful smart money concepts (SMC), order blocks (OB), fair value gaps (FVG), support & resistance (SR), and liquidity voids, along with entry signals based on EMA and RSI filters.
💡 Key Features:
✅ Order Blocks (OB):
Highlights potential bullish and bearish order blocks to identify strong institutional zones where price might reverse.
✅ Fair Value Gaps (FVG):
Marks price gaps that indicate imbalance and possible zones for retracement or continuation.
✅ Support & Resistance (SR):
Automatically plots dynamic support and resistance levels using pivots, helping you to spot key reaction areas.
✅ Liquidity Voids:
Visualizes potential liquidity gaps or low-volume areas that can act as price magnets.
✅ Buy & Sell Signals:
Generates dynamic BUY and SELL signals based on a combination of EMA trend filters and RSI overbought/oversold levels.
✅ Fully Configurable:
Choose which features to display (OB, FVG, SR, Liquidity Voids, signals).
Adjust EMA and RSI settings to match your strategy.
Control the number of signals (reduce or increase) using a signal sensitivity filter.
⚙️ How it Works:
Trend Filter (EMA):
Price above EMA confirms a bullish environment, below EMA confirms bearish.
RSI Filter:
Signals are validated with RSI to avoid overtrading in ranging markets.
Zones & Gaps:
Institutional concepts (order blocks, gaps) help traders understand supply/demand and price inefficiencies.
🎯 Usage:
Perfect for:
Scalpers looking for intraday turning points.
Swing traders spotting high-probability levels.
Anyone interested in smart money concepts.
🚨 Alerts:
Includes built-in alerts for both BUY and SELL signals so you can react instantly without watching the screen all the time.
💬 Note:
This is a beta version designed to be improved with community feedback. Use it as a guide, and always confirm signals with your own analysis and risk management.
🔥 Ready to take your trading to the next level? Add this indicator to your chart, customize the settings, and start seeing the market like smart money!
YAS V1This advanced "All-in-One" indicator combines the most powerful smart money concepts (SMC), order blocks (OB), fair value gaps (FVG), support & resistance (SR), and liquidity voids, along with entry signals based on EMA and RSI filters.
💡 Key Features:
✅ Order Blocks (OB):
Highlights potential bullish and bearish order blocks to identify strong institutional zones where price might reverse.
✅ Fair Value Gaps (FVG):
Marks price gaps that indicate imbalance and possible zones for retracement or continuation.
✅ Support & Resistance (SR):
Automatically plots dynamic support and resistance levels using pivots, helping you to spot key reaction areas.
✅ Liquidity Voids:
Visualizes potential liquidity gaps or low-volume areas that can act as price magnets.
✅ Buy & Sell Signals:
Generates dynamic BUY and SELL signals based on a combination of EMA trend filters and RSI overbought/oversold levels.
✅ Fully Configurable:
Choose which features to display (OB, FVG, SR, Liquidity Voids, signals).
Adjust EMA and RSI settings to match your strategy.
Control the number of signals (reduce or increase) using a signal sensitivity filter.
⚙️ How it Works:
Trend Filter (EMA):
Price above EMA confirms a bullish environment, below EMA confirms bearish.
RSI Filter:
Signals are validated with RSI to avoid overtrading in ranging markets.
Zones & Gaps:
Institutional concepts (order blocks, gaps) help traders understand supply/demand and price inefficiencies.
🎯 Usage:
Perfect for:
Scalpers looking for intraday turning points.
Swing traders spotting high-probability levels.
Anyone interested in smart money concepts.
🚨 Alerts:
Includes built-in alerts for both BUY and SELL signals so you can react instantly without watching the screen all the time.
💬 Note:
This is a beta version designed to be improved with community feedback. Use it as a guide, and always confirm signals with your own analysis and risk management.
🔥 Ready to take your trading to the next level? Add this indicator to your chart, customize the settings, and start seeing the market like smart money!
Momentum_EMABandThe Momentum EMA Band V1 is a precision tool designed for intraday traders & scalpers. This is the first version of the script, combining three powerful technical elements to help traders identify directional moves while filtering out weak, choppy market phases.
🔧 How the Indicator Works — Combined Logic
This indicator merges well-known but distinct concepts into a unified visual framework:
1️⃣ EMA Price Band — Dynamic Zone Visualization
Plots upper and lower EMA bands based on user input (default: 9-period EMA).
Price relative to the bands provides immediate visual cues:
Green Band: Price above the upper EMA — bullish strength.
Red Band: Price below the lower EMA — bearish pressure.
Yellow Band: Price within the band — neutral zone.
2️⃣ Supertrend Overlay — Reliable Trend Confirmation
ATR-based Supertrend logic (customizable ATR length & factor).
Green Supertrend Line: Uptrend confirmation.
Red Supertrend Line: Downtrend confirmation.
Helps traders ride trends with dynamic levels that adjust to volatility.
3️⃣ ADX-Based No Trade Zone — Choppy Market Filter
Manual ADX calculation measures trend strength (default ADX length: 14).
When ADX is below a user-defined threshold (default: 20) and price is within the EMA Band buffer, a gray background highlights sideways or indecisive market conditions — suggesting no new trade or low momentum zone
Optional gray triangle marker shows the start of each No-Trade Zone phase.
🎯 Key Features
✅ Combines EMA Bands, Supertrend & ADX filtering for comprehensive market context.
✅ Visual No-Trade Zone shading keeps traders out of low-probability setups.
✅ Supertrend Line tracks evolving trend bias.
✅ Fully customizable — adjust EMA, ATR, ADX settings to match different instruments or styles.
✅ Clean, focused chart presentation for easy interpretation.
💡 Practical Application
Momentum Breakouts: Enter trades when price breaks beyond the EMA Band, with Supertrend confirmation.
Avoid Sideways Traps: Refrain from trading during gray-shaded No-Trade Zones, minimizing exposure to whipsaws.
Scalping & Intraday Edge: Particularly effective on lower timeframes where choppy periods are common.
⚠️ Important Disclaimer
This is Version 1 — future versions may expand on features based on trader feedback.
This script is for educational purposes only. Always combine with risk management and thorough strategy validation.
No indicator guarantees profitability — use this tool as part of a broader trading system.
YAS V1This advanced "All-in-One" indicator combines the most powerful smart money concepts (SMC), order blocks (OB), fair value gaps (FVG), support & resistance (SR), and liquidity voids, along with entry signals based on EMA and RSI filters.
💡 Key Features:
✅ Order Blocks (OB):
Highlights potential bullish and bearish order blocks to identify strong institutional zones where price might reverse.
✅ Fair Value Gaps (FVG):
Marks price gaps that indicate imbalance and possible zones for retracement or continuation.
✅ Support & Resistance (SR):
Automatically plots dynamic support and resistance levels using pivots, helping you to spot key reaction areas.
✅ Liquidity Voids:
Visualizes potential liquidity gaps or low-volume areas that can act as price magnets.
✅ Buy & Sell Signals:
Generates dynamic BUY and SELL signals based on a combination of EMA trend filters and RSI overbought/oversold levels.
✅ Fully Configurable:
Choose which features to display (OB, FVG, SR, Liquidity Voids, signals).
Adjust EMA and RSI settings to match your strategy.
Control the number of signals (reduce or increase) using a signal sensitivity filter.
⚙️ How it Works:
Trend Filter (EMA):
Price above EMA confirms a bullish environment, below EMA confirms bearish.
RSI Filter:
Signals are validated with RSI to avoid overtrading in ranging markets.
Zones & Gaps:
Institutional concepts (order blocks, gaps) help traders understand supply/demand and price inefficiencies.
🎯 Usage:
Perfect for:
Scalpers looking for intraday turning points.
Swing traders spotting high-probability levels.
Anyone interested in smart money concepts.
🚨 Alerts:
Includes built-in alerts for both BUY and SELL signals so you can react instantly without watching the screen all the time.
💬 Note:
This is a beta version designed to be improved with community feedback. Use it as a guide, and always confirm signals with your own analysis and risk management.
🔥 Ready to take your trading to the next level? Add this indicator to your chart, customize the settings, and start seeing the market like smart money!
Buy/Sell Volume + Avg LinesBuy/Sell volume + avg line = avg line * n
set n value
you can set alert by using avg line * n to find pumping coins
Min Forrige Daily CandleBruges til at se forrige daily candle. Daily high, low og close. Kan bruges til teknisk analyse.
Auto-AVWAP from Recent High/Low + MidlineAutomatically takes AVWAP from recent high/lows and helps in trading
Sniper TP & SLStrong indicators combine that show Tp ans SL
An indicator that build from greece with many tries and attempts and this is the final results
The indicator plan was to adapt it in an AI (ML) brain who can make autotrades and also sending signals
This is the indicator our AI model is based on the only difrence is our AI adjust TP and SL with market needs
DONT TRUST this indicator 100% we havent add Support and Resistance yet so use them in combine to see good entries and kill the market
Support Resistance with Order BlocksIndicator Description
Professional Price Level Detection for Smart Trading. Master the Markets with Precision Support/Resistance and Order Block Analysis . It provides traders with clear visual cues for potential reversal and breakout areas, combining both retail and institutional trading concepts into one powerful tool.
The Support & Resistance with Order Blocks indicator is a versatile Pine Script tool designed to empower traders with clear, actionable insights into key market levels. By combining advanced pivot-based support and resistance (S/R) detection with order block (OB) filtering, this indicator delivers clean, high-probability zones for entries, exits, and reversals. With customizable display options (boxes or lines) and intuitive settings, it’s perfect for traders of all styles—whether you’re scalping, swing trading, or investing long-term. Overlay it on your TradingView chart and elevate your trading strategy today!
________________________________________
Key Features
✅ Dynamic Support/Resistance - Auto-adjusting levels based on price action
✅ Smart Order Block Detection - Identifies institutional buying/selling zones
✅ Dual Display Modes - Choose between Boxes or Clean Lines for different chart styles
✅ Customizable Sensitivity - Adjust detection parameters for different markets
✅ Broken Level Markers - Clearly shows when key levels are breached
✅ Timeframe-Adaptive - Automatically adjusts for daily/weekly charts
1. Dynamic Support & Resistance Detection
Identifies critical S/R zones using pivot high/low calculations with adjustable look back periods.
Visualizes active S/R zones with distinct colors and labels ("Support" or "Resistance" for boxes, lines for cleaner charts).
Marks broken S/R levels as "Br S" (broken support) or "Br R" (broken resistance) when historical display is enabled, aiding in breakout and reversal analysis.
2. Smart Order Block Identification
Detects bullish and bearish order blocks based on significant price movements (default: ±0.3% over 5 candles).
Highlights institutional buying/selling zones with customizable colors, displayed as boxes or lines.
Filters out overlapping OB zones to keep your chart clutter-free.
3. Dual Display Options
Boxes or Lines: Choose to display S/R and OB as boxes for detailed zones or lines for a minimalist view.
Line Width Customization: Adjust line widths for S/R and OB (1–5 pixels) for optimal visibility.
Color Customization: Tailor colors for active/broken S/R and bullish/bearish OB zones.
4. Advanced Overlap Filtering
Ensures S/R zones don’t overlap with OB zones or other S/R levels, providing only the most relevant levels.
Limits the number of active zones (default: 10) to maintain chart clarity.
5. Historical S/R Visualization
Optionally display broken S/R levels with distinct colors and labels ("Br S" or "Br R") to track historical price reactions.
Broken levels are dynamically updated and removed (or retained) based on user settings.
6. Timeframe Adaptability
Automatically adjusts pivot detection for daily/weekly timeframes (40-candle look back) versus shorter timeframes (20-candle look back).
Works seamlessly across all asset classes (stocks, forex, crypto, etc.) and timeframes.
________________________________________
How It Works
• Support & Resistance:
Uses ta.pivothigh and ta.pivotlow to detect significant price pivots, with a user-defined look back (default: 5 candles post-pivot).
Plots S/R as boxes (with labels "Support" or "Resistance") or lines, extending to the current bar for real-time relevance.
Broken S/R levels are marked with adjusted colors and labels ("S" or "R" for boxes, "Br S" or "Br R" for lines when historical display is enabled).
• Order Blocks:
Identifies OB based on strong price movements over 4 candles, plotted as boxes or lines at the candle’s midpoint.
Validates OB to prevent overlap, ensuring only significant zones are displayed.
Removes OB zones when price breaks through, keeping the chart focused on active levels.
• Customization:
Toggle S/R and OB visibility, adjust detection sensitivity, and set maximum active zones (4–50).
Fine-tune line widths and colors for a personalized chart experience.
________________________________________
Why Use This Indicator?
• Precision Trading: Pinpoint high-probability entry/exit zones with filtered S/R and OB levels.
• Clean Charts: Overlap filtering and zone limits reduce clutter, focusing on key levels.
• Versatile Display: Switch between boxes for detailed zones or lines for simplicity, with adjustable line widths.
• Institutional Edge: Leverage OB detection to align with institutional activity for smarter trades.
• User-Friendly: Intuitive settings and clear visuals make it accessible for beginners and pros alike.
________________________________________
Settings Overview________________________________________
⚙ Input Parameters
Settings Overview
Display Options:
Display Type: Choose "Boxes" or "Lines" for S/R and OB visualization.
S/R Line Width: Set line thickness for S/R lines (1–5 pixels, default: 2).
OB Line Width: Set line thickness for OB lines (1–5 pixels, default: 2).
Order Block Options:
Show Order Block: Enable/disable OB display.
Bull/Bear OB Colors: Customise border and fill colors for bullish and bearish OB zones.
Support/Resistance Options:
Show S/R: Toggle active S/R zones.
Show Historical S/R: Display broken S/R levels, marked as "Br S" or "Br R" for lines.
Detection Period: Set candle lookback for pivot detection (4–50, default: 5).
Max Active Zones: Limit active S/R and OB zones (4–50, default: 10).
Colors: Customise active and broken S/R colors for clear differentiation.
________________________________________
How to Use
1. Add to Chart: Apply the indicator to your TradingView chart.
2. Customize Settings:
o Select "Boxes" or "Lines" for your preferred display style.
o Adjust line widths, colors, and detection parameters to suit your trading style.
o Enable "Show Historical S/R" to track broken levels with "Br S" and "Br R" labels.
3. Analyze Levels:
o Use support zones (green) for buy entries and resistance zones (red) for sell entries.
o Monitor OB zones for institutional activity, signaling potential reversals or continuations.
o Watch for "Br S" or "Br R" labels to identify breakout opportunities.
4. Combine with Other Tools: Pair with trend indicators, volume analysis, or price action for a robust strategy.
5. Monitor Breakouts: Trade breakouts when price breaches S/R or OB zones, with historical labels providing context.
________________________________________
Example Use Cases
• Swing Trading: Use S/R and OB zones to identify entry/exit points, with historical broken levels for context.
• Breakout Trading: Trade price breaks through S/R or OB, using "Br S" and "Br R" labels to confirm reversals.
• Scalping: Adjust detection period for faster S/R and OB identification on lower timeframes.
________________________________________
• Performance: Optimized for all timeframes, with best results on 5M, 15M, 30M, 1H, 4H, or daily charts for swing trading.
• Compatibility: Works with any asset class and TradingView chart.
________________________________________
Get Started
Transform your trading with Support & Resistance with Order Blocks! Add it to your chart, customize it to your style, and trade with confidence. For questions or feedback, drop a comment on TradingView or message the author. Happy trading! 🚀
________________________________________
Disclaimer: This indicator is for educational and informational purposes only. Always conduct your own analysis and practice proper risk management before trading.
Candle Color Based on 12 month SMAThis indicator is designed to be used on a 1M (monthly) chart. It:
• Calculates the 12-month Simple Moving Average (SMA).
• Colors candles green if the monthly close is above the SMA.
• Colors candles red if the monthly close is below the SMA.
• Plots the 12-month SMA as a cyan stair-step line for clear visual tracking.
YAS GROUPThis script is a powerful combination of Order Blocks (OB), market structure, and liquidity levels. It helps traders easily identify high-probability areas for entries and exits, detect trend shifts (BOS & CHoCH), and highlight strong support/resistance zones. The script is designed for both scalping and swing trading, offering flexibility and precision. Users can adjust OB sensitivity, show or hide structure labels, and customize visual settings to match their style. Alerts are also included for key signals. Perfect for traders looking to read the market like smart money.
IU Engulfing Candlestick PatternDISCRIPTION
📈 The IU Engulfing Candlestick Pattern indicator spotlights both bullish and bearish engulfing formations in real‑time. It shades each pattern with a transparent box and drops a concise label so you can catch potential reversals at a glance—no clutter, no noise, just the candles that matter.
USER INPUTS :
1. Pattern Recognition Based on = “Both” | “Wicks” | “Body” ( Default Both )
• Both → only highlights candles that satisfy **both** wick‑and‑body engulfing rules
• Wicks → checks full candle range (high‑to‑low)
• Body → checks only the real bodies (open‑to‑close)
2. Show Labels ( Default true )
If ticked then it will show the text as "Bullish Engulfing" or "Bearish Engulfing".
3. Show The Box ( Default true)
if ticked then it will show the green or red boxes.
INDICATOR LOGIC:
🔹 Bullish Engulfing (green box)
– Current bar closes higher than it opens and fully “wraps” the prior bar per your chosen rule.
🔹 Bearish Engulfing (red box)
– Current bar closes lower than it opens and fully “wraps” the prior bar per your chosen rule.
🔸 When a pattern confirms:
1. The script records the local high/low range.
2. Draws a semi‑transparent box spanning the engulfing pair.
3. Prints a compact up/down label exactly at the reaction point.
4. Fires a once‑per‑bar alert (“Bullish Engulfing” / “Bearish Engulfing”) you can route to webhooks or notifications.
WHY IT IS UNIQUE:
✨ Combines classic body‑only engulfing with an optional wick filter, letting traders demand stricter confirmation when markets are noisy.
✨ Box overlays visually segment the engulfed range—clearer than single‑bar markers.
✨ Lightweight: one input, zero repaint, and capped at 500 boxes to keep charts responsive.
✨ Ready‑to‑use alerts—no extra code needed for automation.
HOW USER CAN BENIFIT FROM IT :
- Spot early reversal zones or continuation thrusts without scanning candle by candle.
- Pair the alerts with trading bots, TradingView strategy testers, or mobile push notifications.
- Adapt the strictness (Body vs. Wicks vs. Both) to suit different assets, timeframes, or volatility regimes.
- Use the colored range boxes as dynamic support/resistance references for entries, targets, and stop‑loss placement.
📌 Tip: Test on multiple instruments and timeframes to find the sweet spot that matches your risk profile. This script is for educational purposes—always combine with sound risk management and confirm signals with broader market context.
Disclaimer :
This Video is not financial advice, it's for educational purposes only highlighting the power of coding( pine script) in TradingView, I am not a SEBI-registered advisor. Trading and investing involve risk, and you should consult with a qualified financial advisor before making any trading decisions. I do not guarantee profits or take responsibility for any losses you may incur.
MOD_CM_MacD_Ult_MTF_V2.1Basato su “CM_MacD_Ult_MTF_V2.1” di @chadmaurice (CM)
Aggiunto timeframe 2g,3g,4g
Non-Lagging Longevity Zones [BigBeluga]🔵 OVERVIEW
A clean, non-lagging system for identifying price zones that persist over time—ranking them visually based on how long they survive without being invalidated.
Non-Lagging Longevity Zones uses non-lagging pivots to automatically build upper and lower zones that reflect key resistance and support. These zones are kept alive as long as price respects them and are instantly removed when invalidated. The indicator assigns a unique lifespan label to each zone in Days (D), Months (M), or Years (Y), providing instant context for historical relevance.
🔵 CONCEPTS
Non-Lag Pivot Detection: Detects upper and lower pivots using non-lagging swing identification (highest/lowest over length period).
h = ta.highest(len)
l = ta.lowest(len)
high_pivot = high == h and high < h
low_pivot = low == l and low > l
Longevity Ranking: Zones are preserved as long as price doesn't breach them. Levels that remain intact grow in visual intensity.
Time-Based Weighting: Each zone is labeled with its lifespan in days , emphasizing how long it has survived.
duration = last_bar_index - start
days_ = int(duration*(timeframe.in_seconds("")/60/60/24))
days = days_ >= 365 ? int(days_ / 365) : days_ >= 30 ? int(days_ / 30) : days_
marker = days_ >= 365 ? " Y" : days_ >= 30 ? " M" : " D"
Dynamic Coloring: Older zones are drawn with stronger fill, while newer ones appear fainter—making it easy to assess significance.
Self-Cleaning Logic: If price invalidates a zone, it’s instantly removed, keeping the chart clean and focused.
🔵 FEATURES
Upper and Lower Zones: Auto-detects valid high/low pivots and plots horizontal zones with ATR-based thickness.
Real-Time Validation: Zones are extended only if price stays outside them—giving precise control zones.
Gradient Fill Intensity: The longer a level survives, the more opaque the fill becomes.
Duration-Based Labeling: Time alive is shown at the root of each zone:
• D – short-term zones
• M – medium-term structure
• Y – long-term legacy levels
Smart Zone Clearing: Zones are deleted automatically once invalidated by price, keeping the display accurate.
Efficient Memory Handling: Keeps only the 10 most recent valid levels per side for optimal performance.
🔵 HOW TO USE
Track durable S/R zones that survived price tests without being breached.
Use longer-lived zones as high-confidence confluence areas for entries or targets.
Observe fill intensity to judge structural importance at a glance .
Layer with volume or momentum tools to confirm bounce or breakout probability.
Ideal for swing traders, structure-based traders, or macro analysis.
🔵 CONCLUSION
Non-Lagging Longevity Zones lets the market speak for itself—by spotlighting levels with proven survival over time. Whether you're trading trend continuation, mean reversion, or structure-based reversals, this tool equips you with an immediate read on what price zones truly matter—and how long they've stood the test of time.