Contrarian with 5 Levels5 Levels application was inspired and adapted from Predictive Ranges indicator developed by Lux Algo. So much credit to their work.
Indicator Description: Contrarian with 5 Levels
Overview
The "Contrarian with 5 Levels" indicator is a powerful tool designed for traders seeking to identify potential reversal points in the market by combining contrarian trading principles with dynamic support and resistance levels. This indicator overlays a Simple Moving Average (SMA) shadow and five adaptive price levels, integrating Institutional Concepts of Structure (ICT) such as Break of Structure (BOS) and Market Structure Shift (MSS) to provide clear buy and sell signals. It is ideal for traders looking to capitalize on overextended price movements, particularly on the daily timeframe, though it is adaptable to other timeframes with proper testing.
How It Works
The indicator operates on two core components:
Contrarian SMA Shadow: A shaded region between the SMA of highs and lows (default length: 100) acts as a dynamic zone to identify overbought or oversold conditions. When the price moves significantly outside this shadow, it signals potential exhaustion, aligning with contrarian trading principles.
Five Adaptive Levels: Using a modified ATR-based calculation, the indicator plots five key levels (two resistance, one average, and two support) that adjust dynamically to market volatility. These levels serve as critical zones for potential reversals.
ICT Structure Analysis: The indicator incorporates BOS and MSS logic to detect shifts in market structure, plotting bullish and bearish breaks with customizable colors for clarity.
Buy and sell signals are generated when the price crosses key levels while outside the SMA shadow, indicating potential reversal opportunities. The signals are visualized as small circles above (sell) or below (buy) the price bars, making them easy to interpret.
Mathematical Concepts
SMA Shadow: The indicator calculates the SMA of the highest highs and lowest lows over a user-defined period (default: 100). This creates a dynamic range that highlights extreme price movements, which contrarian traders often target for reversals.
Five Levels Calculation: The five levels are derived using a volatility-adjusted formula based on the Average True Range (ATR). The average level (central pivot) is calculated as a smoothed price, with two upper (resistance) and two lower (support) levels offset by a multiple of the ATR (default multiplier: 6.0). This adaptive approach ensures the levels remain relevant across varying market conditions.
ICT BOS/MSS Logic: The indicator identifies pivot highs and lows on a user-defined timeframe (default: daily) to detect structural breaks. A BOS occurs when the price breaks a prior pivot high (bullish) or low (bearish), while an MSS signals a shift in market direction, providing context for potential reversals.
Entry and Exit Rules
Buy Signal (Blue Dot Below Bar): Triggered when the closing price is below both the SMA shadow (smaLow) and the average level (avg), and the price crosses under either the first or second support level (prS1 or prS2). This suggests the market may be oversold, indicating a potential reversal upward.
Sell Signal (White Dot Above Bar): Triggered when the closing price is above both the SMA shadow (smaHigh) and the average level (avg), and the price crosses over either the first or second resistance level (prR1 or prR2). This suggests the market may be overbought, indicating a potential reversal downward.
Recommended Usage
This indicator is optimized for the daily timeframe, where it has been designed to capture significant reversal opportunities in trending or ranging markets. However, it can be adapted to other timeframes (e.g., 1H, 4H, 15M) with proper testing of settings such as SMA length, ATR multiplier, and structure timeframe. Users are encouraged to backtest and optimize parameters to suit their trading style and asset class.
Customization Options
SMA Length: Adjust the SMA period (default: 100) to control the sensitivity of the shadow.
Five Levels Length and Multiplier: Modify the length (default: 200) and ATR multiplier (default: 6.0) to fine-tune the support/resistance levels.
Timeframe Settings: Set separate timeframes for structure analysis and five levels to align with your trading strategy.
Color and Signal Display: Customize colors for BOS/MSS lines and toggle buy/sell signals on or off for a cleaner chart.
Why Use This Indicator?
The "Contrarian with 5 Levels" indicator combines the power of contrarian trading with dynamic levels and market structure analysis, offering a unique perspective for identifying high-probability reversal setups. Its intuitive design, customizable settings, and clear signal visualization make it suitable for both novice and experienced traders. Whether you're trading forex, stocks, or cryptocurrencies, this indicator provides a robust framework for spotting potential turning points in the market.
We hope you find the "Contrarian with 5 Levels" indicator a valuable addition to your trading toolkit! Happy trading!
Please leave feedback in the comments section.
Bands and Channels
BeeQuant - Hive Smoothing Average🔶 OVERVIEW
The "Hive Smoothing Average" is your gateway to crystal-clear market insights, a truly advanced tool that cuts through confusing price "noise" to reveal the true underlying trend. Imagine having a panoramic view of the market's true direction, unclouded by minor ups and downs. This powerful indicator dynamically filters out market distractions, presenting you with a highly refined line that not only shows you the genuine path of price but also changes color. It’s built for traders who demand clarity and want to confidently spot opportunities that others might miss in messy charts.
__________________________________________________________________________
🧠 CONCEPTS
At its heart, the "Hive Smoothing Average" employs a sophisticated multi-stage processing system to transform raw price data into an incredibly smooth and responsive smoothed moving average line. It's designed to give you an unparalleled view of market direction and momentum.
⬜ Synthesizes multiple smoothing layers to deliver a balanced representation of underlying price action.
⬜ Offers enhanced visual consistency by filtering volatility distortion without delay-based lag.
⬜ Presents color-coded transitions and signal markers to aid in directional conviction and structural flow.
⬜ Embeds a modular smoothing core adaptable across market environments and asset classes.
Hive Smoothing Average doesn't forecast, it refines. It provides a more coherent view of price evolution, allowing for higher-confidence discretion and more robust strategy overlays.
__________________________________________________________________________
✨ FEATURES
Hive Smoothing Average is loaded with flexibility and visual power to enhance your decision-making:
🔹Customizable Smoothing
Tailor the indicator’s core behavior using a wide range of smoothing algorithms — from classic to advanced — to match your trading tempo and asset dynamics.
🔹 Intelligent Color Feedback
The line color dynamically shifts to reflect meaningful trend transitions, offering at-a-glance clarity without crowding your chart.
🔹 Trend Signal Markers
Built-in arrow markers highlight potential transitions in price momentum, acting as subtle nudges to investigate further.
🔹 Multi-Timeframe Ready
Designed to operate cleanly across all timeframes, from scalping micro-trends to monitoring macro cycles.
🔹 External Source Collaboration
Hive Smoothing Average includes two flexible input channels that can seamlessly connect with other indicators on your chart.
🔹 Adaptive Bands
A powerful enhancement to the Hive framework, the optional Standard Deviation Bands add dynamic context to price behavior by highlighting how far price is moving relative to its recent average volatility.
Length: Controls the lookback period for volatility calculation.
Lower values (e.g., 20 – 50) make the bands highly reactive Higher values (e.g., 200 – 500) smooth out the bands (classic envelope systems )
These bands offer valuable visual cues for both volatility expansion and mean reversion potential, especially when combined with Hive’s core candle coloration logic.
🔹Non-Repainting Logic for Historical Reliability
Each "Hive Smoothing Average" is plotted only when its internal reconstruction conditions are fully met and confirmed. This ensures that the historical display of Hive Smoothing Average does not repaint, providing a high degree of reliability and trust in past signals and visualizations.
🔹Cross-Market Versatility
This indicator is engineered to perform with precision across all major markets—whether you're trading forex, commodities, stocks, or indices. Its adaptive logic automatically aligns with the unique volatility and structure of each asset class, delivering consistently reliable insights no matter where you trade.
__________________________________________________________________________
⚙️ USAGE
Getting started with Hive Smoothing Average is seamless and intuitive:
✨ Apply to Any Chart
Simply add the indicator to any asset or timeframe and see immediate transformation in chart clarity.
💹 Source Data Flexibility
Choose your preferred price data source for each smoothing stage (e.g., Close, Open, High, Low), providing complete control over the input feeding the sophisticated smoothing algorithms.
🛠️ Adjust Smoothing Behavior
Choose your preferred initial and final smoothing types (EMA, HMA, ALMA, etc.), and tweak lengths for desired responsiveness or smoothness.
📐 Use Bands for Confluence
Enable the Bands mode to visualize dynamic zones around your smoothed price. Useful for breakout validation and fade zones.
🟩 Green Smoother Line
Indicates strengthening bullish bias and upward progression.
🟥 Red Smoother Line
Suggests weakening or shifting trend toward bearish territory.
📈 Arrow Signals
Upward or downward triangles appear when directional bias changes — confirming subtle pivots in trend behavior.
🎯 Offset Adjustment
Fine-tune the visual positioning of the smoothed line and bands on your chart with a convenient "Offset" input.
📏 Lookback Filter
Activate the “Lookback Filter” setting to remove weaker signals based on custom historical logic. By checking recent candle behavior, it filters out low-quality transitions and only keeps strong, confirmed shifts — helping you avoid noise and stay focused on reliable breakouts.
Experiment with settings based on your trading timeframe. Short-term traders may prefer fast-reactive configurations, while swing or positional traders can explore higher-period smoothings for structural signals.
__________________________________________________________________________
⚠️ LIMITATIONS
While Hive Smoothing Average delivers incredible trend clarity, it’s essential to use it within its designed purpose:
👉 Visual Clarity, Not Trade Calls: This tool enhances visibility of market behavior, not automatic signals. Use it as a trusted lens — not a standalone system.
👉 Reactive, Not Predictive: Hive Smoothing Average responds to price action with refined smoothing. It is not a forecasting model.
👉 Config-Sensitive Output: Different smoothing setups can produce different levels of sensitivity or delay. Calibration matters — explore what fits your asset and style.
👉 Focuses on Price Action Only: It does not integrate volume, fundamentals, or external market influences. It’s engineered purely for price structure refinement.
█ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 『•••• ✎ ••••』 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ █
🎯 CONCLUSION
Hive Smoothing Average provides a high-performance, low-noise framework to view price with remarkable clarity. With its adaptive smoothing layers, bands support, and intelligent signal markers, it becomes a powerful tool to enhance your trend confidence and charting efficiency. By furnishing immediate, data-driven feedback on the market's core momentum and signaling critical turning points, it profoundly empowers traders to rapidly ascertain nascent market shifts and identify pivotal directional changes. Seamlessly integrate this sophisticated visual tool within your pre-existing technical analysis architecture to acquire a sharper, more insightful perspective, and fundamentally elevate your strategic acumen, optimizing your decision-making processes to a degree previously unattainable. It's about experiencing the market's true rhythm.
▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣
🚨 RISK DISCLAIMER
Engagement in financial market speculation inherently carries a substantial degree of inherent risk, and the potential for capital diminution, potentially exceeding initial deposits, is a pervasive and non-trivial consideration. All content, algorithmic tools, scripts, articles, and educational materials disseminated by "Hive Smoothing Average" are exclusively purposed for informational and pedagogical objectives, strictly for reference. Historical performance data, whether explicitly demonstrated or implicitly suggested, offers no infallible assurance or guarantee of future outcomes. Users bear sole and ultimate accountability for their individual trading decisions and are emphatically urged to meticulously assess their financial disposition, risk tolerance parameters, and conduct independent due diligence prior to engaging in any speculative market activity.
MTF Pivot Zones
## 📘 **User Guide: MTF Pivot Zones**
**Script Name:** MTF Pivot Zones
Multi Time Frame Pivot
---
### 🧭 Overview
**MTF Pivot Zones** is a multi-timeframe analysis tool that detects and merges swing highs and lows across four key timeframes:
**Weekly, Daily, 4H, and 1H**.
It plots clear **Support** and **Resistance** zones on the chart based on pivot point clustering. Zones are displayed as dashed lines, color-coded by type.
---
### ⚙️ Settings
| Input Name | Description |
| ---------------------- | --------------------------------------------------------------------- |
| `Lookback Bars Per TF` | Number of bars to scan for pivot highs/lows per timeframe |
| `Pivot Left Bars` | Number of bars to the left required to confirm a pivot |
| `Pivot Right Bars` | Number of bars to the right required to confirm a pivot |
| `Merge Tolerance ($)` | Distance threshold in dollars to merge nearby pivot levels into zones |
| `Show TF Labels` | Toggle the text label next to each zone (e.g., “Res Zone”) |
---
### 🛠️ How It Works
1. **Pivot Detection**
The script scans each timeframe using `ta.pivothigh()` and `ta.pivotlow()`.
2. **Zone Merging**
Pivot levels within the specified `Merge Tolerance` are averaged and treated as a single zone.
3. **Zone Plotting**
* **Red dashed lines** = Resistance Zones
* **Green dashed lines** = Support Zones
* Optional labels show zone type if `Show TF Labels` is enabled
---
### 📈 Usage Tips
* Use zones to guide entries, exits, and stop-loss placement.
* Combine with trend tools or candlestick confirmation near zones.
* Adjust merge tolerance to match instrument volatility and timeframe.
---
Let me know if you want this formatted for **TradingView publishing**, or included in a `study()` title block comment.
Quantum Fibonacci Flow
Quantum Fib Ribbon (QFLOW)
📖 How It Works
A three-band ribbon built from Fibonacci-scaled moving averages, filled and colored to reflect current momentum strength and direction.
Green when bullish flow is strong, red when bearish flow dominates, and orange in between to highlight slowing momentum.
⚙️ Key Controls
* Base Length: Adjusts the ribbon’s overall lookback.
* Ribbon Opacity: How solid or translucent the fill appears.
* Momentum Scale & Exponent: Fine-tune how sensitively the ribbon reacts to price speed versus volatility.
* Override Threshold: Determines at what momentum level the ribbon “snaps” to full green or red.
🚨 Over-Extension Logic
When price extends significantly above or below the ribbon, it often signals exhaustion.
The first return to the ribbon after such an extension frequently acts as strong support or resistance — offering high-probability trade setups.
🔺 Optional Trade Signals
Enable the over-extension alert to mark these key areas:
* A green triangle shows price extended below the ribbon, then retested → potential long.
* A red triangle shows price extended above, then retested → potential short.
🎯 How to Trade
• Breakout-Retest Setup: Watch for over-extended price moves. The first comeback to the ribbon often marks key levels of interest for a reversal or continuation.
Ultimate Regression Channel v5.0 [WhiteStone_Ibrahim]Ultimate Regression Channel v5.0: Comprehensive User Guide
This indicator is designed to visualize the current trend, potential support/resistance levels, and market volatility through a statistical analysis of price action. At its core, it plots a regression line (a trend line) based on prices over a specific period and adds channels based on standard deviation around this line.
1. Core Features and Settings
Length Mode:
Numerical (Manual): You define the number of bars to be used for the regression channel calculation. You can use lower values (e.g., 50-100) for short-term analysis and higher values (e.g., 200-300) to identify long-term trends.
Automatic (Based on Market Structure): This mode automatically draws the channel starting from the highest high or lowest low that has formed within the Auto Scan Period. This allows the indicator to adapt itself to significant market turning points (swing points), which is highly useful.
Regression Model:
Linear: Calculates the trend as a straight line. It generally works well in stable, short-to-medium-term trends.
Logarithmic: Calculates the trend as a curved line. It more accurately reflects price action, especially on long-term charts or for assets that experience exponential growth/decline (like cryptocurrencies or growth stocks).
Channel Widths:
These settings determine how far from the central trend line (in terms of standard deviations) the channels will be drawn.
The 0 (Inner), 1 (Middle), and 2 (Outer) channels represent the "normal" range of price movement and the "extreme" zones. Statistically, about 95% of all price action occurs within the outer channels (2nd standard deviation).
2. Visual Extras and Their Interpretation
Breakout Style:
This feature alerts you when the price closes above the uppermost channel (Channel 2) with a green arrow/background or below the lowermost channel with a red arrow/background.
This is a very important signal. A breakout can signify that the current trend is strengthening and likely to continue (a breakout/trend-following strategy) or that the market has become overextended and may be due for a reversal (an exhaustion/top-bottom signal). It is critical to confirm this signal with other indicators (e.g., RSI, Volume).
Info Label:
This provides an at-a-glance summary of the channel on the right side of the chart:
Trend Status: Identifies the trend as "Uptrend," "Downtrend," or "Sideways" based on the slope of the centerline. The Horizontal Threshold setting allows you to filter out noise by treating very small slopes as "Sideways."
Regression Model and Length: Shows your current settings.
Trend Slope: A numerical value representing how steep or weak the trend is.
Channel Width: Shows the price difference between the outermost channels. This is a measure of current volatility. A widening channel indicates increasing volatility, while a narrowing one indicates decreasing volatility.
3. What Users Should Pay Attention To & Best Practices
Define Your Strategy: Mean Reversion or Breakout?
Mean Reversion: If the market is in a ranging or gently trending phase, the price will tend to revert to the centerline after hitting the outer channels (overbought/oversold zones). In this case, the outer channels can be considered opportunities to sell (upper channel) or buy (lower channel).
Breakout: If a strong trend is in place, a price close beyond an outer channel can be a sign that the trend is accelerating. In this scenario, one might consider taking a position in the direction of the breakout. Correctly analyzing the current market state (ranging vs. trending) is key to deciding which strategy to employ.
Don't Use It in Isolation: No indicator is a holy grail. Use the Regression Channel in conjunction with other tools. Confirm signals with RSI divergences for overbought/oversold conditions, Moving Averages for the overall trend direction, or Volume indicators to confirm the strength of a breakout.
Choose the Right Model: On shorter-term charts (e.g., 1-hour, 4-hour), the Linear model is often sufficient. However, on long-term charts like the daily, weekly, or monthly, the Logarithmic model will provide much more accurate results, especially for assets with parabolic movements.
The Power of Automatic Mode: The Automatic length mode is often the most practical choice because it finds the most logical starting point for you. It saves you the trouble of adjusting settings, especially when analyzing different assets or timeframes.
Use the Alerts: If you don't want to miss the moment the price touches a key channel line, set up an alert from the Alert Settings section for your desired line (e.g., only the "Outer Channels"). This helps you catch opportunities even when you are not in front of the screen.
Auto-Fibonacci Levels [ChartWhizzperer]Auto-Fibonacci Levels
Discover one of the most elegant and flexible Fibonacci indicators for TradingView – fully automatic, tastefully understated, and built entirely in Pine Script V6.
Key Features:
- Automatically detects the most recent swing high and swing low.
- Plots Fibonacci retracement levels and extensions (including 161.8%, 261.8%) perfectly aligned
to the prevailing trend.
- Distinctive, dashed lines with crystal-clear price labels right at the price scale
for maximum clarity.
- Line length and label offset are fully customisable for your charting preference.
- Absolutely no repainting: Only confirmed swings are used for reliable signals.
- Parameter: "Swing Detection Length"
The “Swing Detection Length” parameter determines how many bars must appear to the left and right of a potential high or low for it to be recognised as a significant swing point.
- Higher values make the script less sensitive (only major turning points are detected).
- Lower values make it more responsive to minor fluctuations (more fibs, more signals).
For best results, adjust this setting according to your preferred timeframe and trading style.
Pro Tip:
Fibonacci levels refresh automatically whenever a new swing is confirmed.
Ideal for price action enthusiasts and Fibonacci purists alike.
Licence:
// Licence: CC BY-NC-SA 4.0 – Non-commercial use only, attribution required.
// © ChartWhizzperer
VDR-PROVDR-PRO - Volume Weighted Average Price Dynamic Range
Advanced multi-timeframe VWAP indicator with intelligent range levels for precise trading decisions.
🎯 Key Features:
3 Independent Systems with configurable Average Daily/Weekly/Monthly Range calculations
VWAP Dismount Detection across multiple timeframes (Daily, Weekly, Monthly, Quarterly, Yearly)
Smart Level Synchronization - range levels automatically align with VWAP dismount points
Progressive Color System - automatic color coding for easy level identification
Intelligent Price Formatting - automatically adjusts decimal places based on symbol tick size
Dynamic Reference Points - use current price, manual price, or any VWAP dismount as central reference
📊 Perfect For:
Swing Trading - identify key support/resistance levels
Day Trading - precise entry/exit points based on volume-weighted levels
Range Trading - understand price distribution around volume-weighted averages
Multi-timeframe Analysis - combine different range calculations for comprehensive market view
⚙️ Customizable Settings:
Configure range periods (5-200 bars)
Adjust division factors (2-20x)
Set number of levels per system (2-15)
Choose from 12 different VWAP dismount references
Toggle progressive colors or use manual color schemes
🎨 Visual Excellence:
Clean, professional interface
Ghost-style labels with transparent backgrounds
Comprehensive range statistics table
Forex-friendly pip calculations
Transform your trading with precision VWAP-based range analysis. VDR-PRO combines volume analysis with dynamic range calculation for superior market insights.
Percent Change IndicatorThe Percent Change Indicator helps you see how much the price of an asset has changed over a specific number of bars (or candles) on the chart. You get to decide how many bars to look back — for example, the last 10 candles. The indicator takes the current closing price and compares it to the closing price from 10 bars ago, then calculates the percentage difference between the two.
If the price has increased, the indicator shows a positive value and displays it in green. If the price has dropped, the value is negative and shown in red. A horizontal zero line helps you quickly see whether the market is gaining or losing value over the selected period.
On your chart, this indicator appears as a line that moves up or down with the price trend. It updates in real time and works on all timeframes — so whether you're trading on the 1-minute chart or analyzing the daily chart, it always tells you how much the price has changed over the number of bars you chose.
This tool is especially useful for spotting trends, measuring price momentum, or identifying when the market is starting to reverse direction.
Fourier Weighted Moving Average-(FWMA)Fourier Weighted Moving Average (FWMA)
About Fourier and His Theory
Joseph Fourier (1768–1830) was a French mathematician and physicist best known for his work on heat transfer and periodic functions. His most significant contribution to science is what we now call Fourier Analysis.
What Is Fourier's Theory?
Fourier’s theory states that:
Any repeating (periodic) signal or pattern can be broken down into a sum of simple sine and cosine waves.
This idea became the foundation of signal processing, modern physics, and data smoothing techniques — including those used in financial markets.
Key Concepts of Fourier’s Theory
1. Decomposition of Signals
Complex waveforms can be expressed as combinations of basic sine waves with different frequencies and amplitudes.
2. Frequency Domain View
Instead of viewing data in time (or price), you can analyze its frequency — how often certain movements repeat.
3. Smoothing and Filtering
By focusing only on certain frequencies (e.g., slower or longer cycles), Fourier methods allow you to filter out short-term noise and focus on the trend.
4. Applications in Finance
In trading, Fourier principles help design indicators that:
* Remove short-term market noise
* Emphasize dominant cycles
* Provide cleaner trend direction
Why It Matters for This Indicator
The Fourier Weighted Moving Average (FWMA) used in this indicator applies a custom weight derived from a sin² function, inspired by Fourier’s work on wave behavior. This gives more influence to the mid-section of the price data, making the average line smoother and more stable than traditional methods like SMA or EMA.
Unlike basic moving averages, the FWMA reacts to price changes more fluidly while reducing whipsaws, which is especially useful for trend-following strategies.
Input Settings and Controls
This section outlines all configurable fields and buttons available in the indicator, grouped for clarity:
Main Settings
* Source
Defines the price source used in the FWMA calculation. Options typically include close, open, hl2, etc.
* FWMA – 1 (Length)
Sets the period for the first Fourier Weighted Moving Average. Shorter lengths produce faster, more sensitive lines.
* FWMA – 2 (Length)
Sets the period for the second FWMA, typically used as a slower or long-term trend filter.
* Weight Epsilon
A small constant added to the weight formula to prevent division by zero and improve numeric stability in the FWMA formula.
Slope Sensitivity
* Slope Sensitivity (Bars)
This field defines the number of bars used to calculate the slope of each FWMA. The slope determines whether the line is rising or falling and is used to change the line color accordingly.
* Enable Slope Coloring (Toggle)
When enabled, both FWMA lines change color based on their slope:
* Positive slope = trend up color
* Negative slope = trend down color
If disabled, lines are shown in a neutral (gray) color.
Ribbon Settings (Group: Ribbon)
* Enable Ribbon for FWMA-2 (Toggle)
Turns the ribbon feature on or off. When enabled, the script plots two additional lines slightly above and below FWMA-2.
* Ribbon Thickness
Controls the line width of the ribbon above and below FWMA-2. Values from 1 to 100 are allowed, giving full control over ribbon visual prominence.
Volume Weighted Regression ChannelThis indicator constructs a volume-weighted linear regression channel over a custom time range.
It’s conceptually similar to a Volume Profile, but instead of projecting horizontal value zones, it builds a tilted trend channel that reflects both price direction and volume concentration.
🧠 Core Features:
Volume-weighted points: Each candle contributes to the regression line proportionally to its volume — heavier candles shift the channel toward high-activity price zones.
Linear regression line: Shows the trend direction within the selected time interval.
±σ boundaries: Outer bands represent the standard deviation of price (also volume-weighted), highlighting statistical dispersion.
Fully customizable: Adjustable line styles, widths, and channel width (sigma multiplier).
Time window control: Select any start and end time to define the regression interval.
📊 Why use this instead of Volume Profile?
While Volume Profile shows horizontal distributions of traded volume, this indicator is ideal when:
You want to understand how volume clusters affect trend direction, not just price levels.
You're analyzing time-dependent flow rather than static price zones.
You're looking for a dynamic volume-adjusted channel that moves with the market's structure.
It’s especially useful in identifying volume-supported trends, hidden pullback zones, and statistical extremes.
⚙️ Notes:
Works on any timeframe and instrument.
Does not repaint.
Does not require volume profile data feeds — uses standard volume and hl2.
RSI Games 1.2he "RSI Games 1.2" indicator enhances the standard RSI by adding several layers of analysis:
Standard RSI Calculation: It calculates the RSI based on a configurable length (default 14 periods) and a user-selected source (default close price).
RSI Bands: It plots horizontal lines at 70 (red, overbought), 50 (yellow, neutral), and 30 (green, oversold) to easily identify extreme RSI levels.
RSI Smoothing with Moving Averages (MAs) and Bollinger Bands (BBs):
You can apply various types of moving averages (SMA, EMA, SMMA, WMA, VWMA) to smooth the RSI line.
If you choose "SMA + Bollinger Bands," the indicator will also plot Bollinger Bands around the smoothed RSI, providing dynamic overbought/oversold levels based on volatility.
The RSI line itself changes color based on whether it's above (green) or below (red) its smoothing MA.
It also fills the area between the RSI and its smoothing MA, coloring it green when RSI is above and red when below.
Bollinger Band Signals: When Bollinger Bands are enabled, the indicator marks "Buy" signals (green arrow up) when the RSI crosses above the lower Bollinger Band and "Sell" signals (red arrow down) when it crosses below the upper Bollinger Band.
Background Coloring: The background of the indicator pane changes to light green when RSI is below 30 (oversold) and light red when RSI is above 70 (overbought), visually highlighting extreme conditions.
Divergence Detection: This is a key feature. The indicator automatically identifies and labels:
Regular Bullish Divergence: Price makes a lower low, but RSI makes a higher low. This often signals a potential reversal to the upside.
Regular Bearish Divergence: Price makes a higher high, but RSI makes a lower high. This often signals a potential reversal to the downside.
Hidden Bullish Divergence: Price makes a higher low, but RSI makes a lower low. This can indicate a continuation of an uptrend.
Hidden Bearish Divergence: Price makes a lower high, but RSI makes a higher high. This can indicate a continuation of a downtrend.
Divergences are visually marked with labels and can trigger alerts.
Metatron Lines (Highs & Lows Geometry)Metatron Lines
Hey TradingView community! 👋
I wanted to share something I've been working on that might help you see market structure from a different angle. This indicator connects pivot highs and lows using geometric patterns, creating what I call "Metatron Lines."
What it does (simply put):
- Finds significant highs and lows on your chart
- Draws lines connecting these points to reveal hidden geometric relationships
- Shows you the underlying structure that price tends to respect
Why I built this:
I noticed that markets often move in patterns that aren't immediately obvious. Sometimes the most important levels aren't the obvious support and resistance lines, but the intersections and angles created by connecting multiple pivot points. This tool helps visualize those relationships.
How it might help you:
- Pattern Recognition : Spot geometric formations that traditional analysis might miss
- Support/Resistance : See where multiple geometric lines converge to create strong levels
- Market Structure : Better understand how price flows and where it might find obstacles
- Confluence Areas : Identify zones where multiple geometric elements align
A few honest thoughts:
This isn't a magic bullet or a guaranteed profit maker (nothing is!). It's simply another lens through which to view price action. Some traders find geometric analysis helpful, others prefer different approaches - and that's perfectly fine.
I've tried to make it customizable so you can adjust it to fit your trading style and timeframe. The default settings work well for most instruments, but feel free to experiment.
Settings you can adjust:
- Pivot detection sensitivity
- Number of connection points
- Line colors and styles
- Which connections to show (highs, lows, or both)
I hope some of you find this useful! I'm always learning from this community, so if you have suggestions for improvements or different ways to use it, I'd love to hear them.
Trade safe and trust your process! 📈
---
This indicator is provided as-is for educational and analysis purposes. Please practice proper risk management and never risk more than you can afford to lose.
Contrarian 100 MAPairs nicely with Enhanced-Stock-Ticker-with-50MA-vs-200MA located here:
Description
The Contrarian 100 MA is a sophisticated Pine Script v6 indicator designed for traders seeking to identify key market structure shifts and trend reversals using a combination of a 100-period Simple Moving Average (SMA) envelope and Inner Circle Trader (ICT) Break of Structure (BoS) and Market Structure Shift (MSS) logic. By overlaying a semi-transparent SMA-based shadow on the price chart and plotting bullish and bearish structure signals, this indicator helps traders visualize critical price levels and potential trend changes. It leverages higher timeframe (HTF) pivot points and dynamic logic to adapt to various chart timeframes, making it ideal for swing and contrarian trading strategies. Customizable colors, timeframes, and alert conditions enhance its versatility for manual and automated trading setups.
Key Features
SMA Envelope: Plots a 100-period SMA for high and low prices, creating a semi-transparent (50% opacity) purple shadow to highlight the price range and provide context for price movements.
ICT BoS/MSS Logic: Identifies Break of Structure (BoS) and Market Structure Shift (MSS) signals for both bullish and bearish conditions, based on HTF pivot points.
Dynamic Timeframe Support: Adjusts pivot detection based on user-selected HTF (default: 1D) and chart timeframe (1M, 5M, 15M, 30M, 1H, 4H, 1D), ensuring adaptability across markets.
Visual Signals: Draws dotted lines for BoS (bullish/bearish) and MSS (bullish/bearish) signals at pivot levels, with customizable colors for easy identification.
Contrarian Approach: Signals potential reversals by combining SMA context with ICT structure breaks, ideal for traders looking to capitalize on trend shifts.
Alert Conditions: Supports alerts for bullish/bearish BoS and MSS signals, enabling integration with TradingView’s alert system for automated trading.
Performance Optimization: Uses efficient pivot detection and line management to minimize resource usage while maintaining accuracy.
Technical Details
SMA Calculation:
Computes 100-period SMAs for high (smaHigh) and low (smaLow) prices.
Plots invisible SMAs (fully transparent) and fills the area between them with 50% transparent purple for visual context.
Pivot Detection:
Uses ta.pivothigh and ta.pivotlow to identify HTF swing points, with dynamic lookback periods (rlBars: 5 for daily, 2 for intraday).
Tracks pivot highs (pH, nPh) and lows (pL, nPl) using a custom piv type for price and time.
BoS/MSS Logic:
Bullish BoS: Triggered when price breaks above a pivot high in a bullish trend, drawing a line at the pivot level.
Bearish BoS: Triggered when price breaks below a pivot low in a bearish trend.
Bullish MSS: Occurs when price breaks a pivot high in a bearish trend, signaling a potential trend reversal.
Bearish MSS: Occurs when price breaks a pivot low in a bullish trend.
Lines are drawn using line.new with xloc.bar_time for precise alignment, styled as dotted with customizable colors.
HTF Integration: Fetches HTF close prices and pivot data using request.security with lookahead_on for accurate signal timing.
Line Management: Maintains an array of lines (lin), removing outdated lines when new MSS signals occur to keep the chart clean.
Pivot Reset: Clears broken pivots (e.g., when price exceeds a pivot high or falls below a pivot low) to ensure fresh signal generation.
How to Use
Add to Chart:
Copy the script into TradingView’s Pine Editor and apply it to your chart.
Configure Settings:
SMA Length: Adjust the SMA period (default: 100 bars) to suit your trading style.
Structure Timeframe: Set the HTF for pivot detection (default: 1D).
Chart Timeframe: Select the chart timeframe (1M, 5M, 15M, 30M, 1H, 4H, 1D) to adjust pivot sensitivity.
Colors: Customize bullish/bearish BoS and MSS line colors via input settings.
Interpret Signals:
Bullish BoS: White dotted line (default) at a broken pivot high in a bullish trend, indicating trend continuation.
Bearish BoS: White dotted line at a broken pivot low in a bearish trend.
Bullish MSS: White dotted line at a broken pivot high in a bearish trend, suggesting a reversal to bullish.
Bearish MSS: White dotted line at a broken pivot low in a bullish trend, suggesting a reversal to bearish.
Use the SMA shadow to gauge price position within the recent range.
Set Alerts:
Create alerts for bullish/bearish BoS and MSS signals using TradingView’s alert system.
Customize Visuals:
Adjust line colors or SMA fill transparency via TradingView’s settings for better visibility.
Example Use Cases
Swing Trading: Use MSS signals to enter trades at potential trend reversals, with the SMA envelope confirming price extremes.
Contrarian Trading: Capitalize on BoS and MSS signals to trade against prevailing trends, using the SMA shadow for context.
Automated Trading: Integrate BoS/MSS alerts with trading bots for systematic entries and exits.
Multi-Timeframe Analysis: Combine HTF signals (e.g., 1D) with lower timeframe charts (e.g., 1H) for precise entries.
Notes
Testing: Backtest the indicator on your chosen market and timeframe to validate performance.
Compatibility: Built for Pine Script v6 and tested on TradingView as of June 19, 2025.
Limitations: Signals rely on HTF pivot accuracy, which may lag in fast-moving markets. Adjust rlBars or timeframe for sensitivity.
Optional Enhancements: Consider uncommenting or adding a histogram for SMA divergence (e.g., smaHigh - smaLow) for additional insights.
Acknowledgments
This indicator combines ICT’s market structure concepts with a dynamic SMA envelope to provide a unique contrarian trading tool. Share your feedback or suggestions in the TradingView comments, and happy trading!
Heatmap Trailing Stop with Breakouts (Zeiierman)█ Overview
Heatmap Trailing Stop with Breakouts (Zeiierman) is a trend and breakout detection tool that combines dynamic trailing stop logic, Fibonacci-based levels, and a real-time market heatmap into a single, intuitive system.
This indicator is designed to help traders visualize pressure zones, manage stop placement, and identify breakout opportunities supported by contextual price–derived heat. Whether you're trailing trends, detecting reversals, or entering on explosive breakouts — this tool keeps you anchored in structure and sentiment.
It projects adaptive trailing stop levels and calculates Fibonacci extensions from swing-based extremes. These levels are then colored by a market heatmap engine that tracks price interaction intensity — showing where the market is "hot" and likely to respond.
On top of that, it includes breakout signals powered by HTF momentum conditions, trend direction, and heatmap validation — giving you signals only when the context is strong.
█ How It Works
⚪ Trailing Stop Engine
At its core, the script uses an ATR-based trailing stop with trend detection:
ATR Length – Defines volatility smoothing using EMA MA of true range.
Multiplier – Expands/retracts the trailing offset depending on market aggression.
Real-Time Extremum Tracking – Uses local highs/lows to define Fibonacci anchors.
⚪ Fibonacci Projection + Heatmap
With each trend shift, Fibonacci levels are projected from the new swing to the current trailing stop. These include:
Fib 61.8, 78.6, 88.6, and 100% (trailing stop) lines
Heatmap Coloring – Each level'slevel's color is determined by how frequently price has interacted with that level in the recent range (defined by ATR).
Strength Score (1–10) – The number of touches per level is normalized and averaged to create a heatmap ""score"" displayed as a colored bar on the chart.
⚪ Breakout Signal System
This engine detects high-confidence breakout signals using a higher timeframe candle structure:
Bullish Breakout – Strong bullish candle + momentum + trend confirmation + heatmap score threshold.
Bearish Breakout – Strong bearish candle + momentum + trend confirmation + heatmap score threshold.
Cooldown Logic – Prevents signals from clustering too frequently during volatile periods.
█ How to Use
⚪ Trend Following & Trail Stops
Use the Trailing Stop line to manage positions or time entries in line with trend direction. Trailing stop flips are highlighted with dot markers.
⚪ Fibonacci Heat Zones
The projected Fibonacci levels serve as price magnets or support/resistance zones. Watch how price reacts at Fib 61.8/78.6/88.6 levels — especially when they're glowing with high heatmap scores (more glow = more historical touches = stronger significance).
⚪ Breakout Signals
Enable breakout signals when you want to trade breakouts only under strong context. Use the "Heatmap Strength Threshold" to require a minimum score (1–10).
█ Settings
Stop Distance ATR Length – ATR period for volatility smoothing
Stop Distance Multiplier – Adjusts the trailing stop'sstop's distance from price
Heatmap Range ATR Length – Defines how far back the heatmap scans for touches
Number of Heat Levels – Total levels used in the heatmap (more = finer resolution)
Minimum Touches per Level – Defines what counts as a ""hot"" level
Heatmap Strength Threshold – Minimum average heat score (1–10) required for breakouts
Timeframe – HTF source used to evaluate breakout momentum structure
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Money NoodleMoney Noodle Indicator - How It Works
The Money Noodle indicator is a trend-following and support/resistance tool that combines multiple exponential moving averages (EMAs) with dynamic volatility-based bands to create a comprehensive trading system.
Core Components
1. Triple EMA System ("The Noodles")
Fast EMA (12): Most responsive to price changes, shows short-term momentum
Medium EMA (21): Intermediate trend direction
Slow EMA (35): Main trend line that acts as the central reference point
The "noodle" effect comes from how these three EMAs weave around each other and the price action, creating curved, flowing lines that resemble noodles.
2. Dynamic Volatility Bands
Upper Band: Main EMA + (ATR × Band Multiplier)
Lower Band: Main EMA - (ATR × Band Multiplier)
Uses a 20-period ATR (Average True Range) to measure market volatility
Band width automatically adjusts - wider during volatile periods, tighter during consolidation
How It Functions
Trend Identification:
When all three EMAs are aligned (fast > medium > slow), it indicates a strong uptrend
When EMAs are inverted (fast < medium < slow), it signals a downtrend
EMA crossovers provide early trend change signals
Support & Resistance:
The bands act as dynamic support and resistance levels
Price tends to bounce off the bands during trending markets
Band breaks often signal strong momentum moves or trend changes
Volatility Assessment:
Band width indicates market volatility - wider bands = higher volatility
ATR-based calculation makes the bands adaptive to current market conditions
The 0.0125 multiplier provides optimal sensitivity for most timeframes
Trading Applications
Entry Signals:
Buy when price bounces off the lower band with EMA alignment
Sell when price bounces off the upper band against the trend
Breakout trades when price decisively breaks through bands
Trend Following:
Use the main EMA (35) as your trend filter
Trade in the direction of EMA alignment
The "noodles" help identify trend strength - tighter = stronger trend
Risk Management:
Bands provide natural stop-loss levels
Band width helps size positions (wider bands = smaller size due to higher volatility)
The indicator works best on daily timeframes and provides a visual, intuitive way to read market structure, trend direction, and volatility all in one tool.
BB + Volume + RSI StrategyHere's an English explanation of your Pine Script code, designed for clarity and ease of understanding for someone familiar with trading concepts.
Pine Script Indicator: Enhanced Buy/Sell Signals (BB + Volume + RSI Combination)
This Pine Script indicator, designed for TradingView, overlays buy and sell signals directly onto your price chart. It combines three popular technical analysis tools: Bollinger Bands (BB), Volume, and the Relative Strength Index (RSI) to generate more robust trading signals.
How It Works:
This indicator calculates and displays the following:
Bollinger Bands (BB): It uses a 20-period Simple Moving Average (SMA) as the middle band, with upper and lower bands set at 2 standard deviations from the SMA. These bands help identify periods of high and low volatility, and potential overbought/oversold price levels.
RSI (Relative Strength Index): A 14-period RSI is calculated to measure the speed and change of price movements. It's primarily used here for generating sell signals when the asset is considered overbought.
Volume: A 20-period Simple Moving Average of volume is calculated to provide a baseline for typical trading activity.
Signal Generation Logic:
The indicator generates two types of buy signals and one type of sell signal:
1. Buy Signals (Green Upward Triangles)
Normal Buy Signal ("Buy" - Small Green Triangle): This signal appears when the closing price crosses above the Upper Bollinger Band. This suggests that the price is becoming overextended to the upside, often preceding a potential pullback or a strong upward trend.
Strong Buy Signal ("Strong Buy" - Large Green Triangle): This is an enhanced buy signal that appears when the closing price crosses above the Upper Bollinger Band AND the current trading volume is significantly higher than its average (specifically, 1.5 times the 20-period average volume, by default). The accompanying high volume indicates stronger conviction behind the breakout, increasing the reliability of the signal.
2. Sell Signal (Red Downward Triangle)
RSI-Based Sell Signal ("Sell" - Red Triangle): This signal appears when the RSI value crosses below 70. An RSI above 70 typically indicates an overbought condition, so a move back below 70 suggests that buying momentum is fading, potentially signaling a reversal or pullback.
Visual Representation:
Bollinger Bands: Plotted as orange lines for the upper and lower bands, and a blue line for the middle (basis) band.
Buy Signals:
"Buy" (Normal): Small green upward-pointing triangle with green text, placed below the bar.
"Strong Buy" (Volume Confirmed): Larger green upward-pointing triangle with green text, placed below the bar.
Sell Signals:
"Sell": Red downward-pointing triangle with red text, placed above the bar.
Customization:
You can easily adjust the parameters of this indicator by accessing its settings on your TradingView chart. Look for the gear icon next to the indicator name on your chart to modify:
BB Length: (Default: 20)
BB StdDev: (Default: 2.0)
RSI Length: (Default: 14)
RSI Overbought Level: (Default: 70)
Volume Average Length: (Default: 20)
Volume Confirmation Multiplier: (Default: 1.5)
This script provides a clear visual representation of potential entry and exit points based on established technical analysis principles, helping you identify opportunities within changing market conditions.
Mark4ex vWapMark4ex VWAP is a precision session-anchored Volume Weighted Average Price (VWAP) indicator crafted for intraday traders who want clean, reliable VWAP levels that reset daily to match a specific market session.
Unlike the built-in continuous VWAP, this version anchors each day to your chosen session start and end time, most commonly aligned with the New York Stock Exchange Open (9:30 AM EST) through the market close (4:00 PM EST). This ensures your VWAP reflects only intraday price action within your active trading window — filtering out irrelevant overnight moves and providing clearer mean-reversion signals.
Key Features:
Fully configurable session start & end times — adapt it for NY session or any other market.
Anchored VWAP resets daily for true session-based levels.
Built for the New York Open Range Breakout strategy: see how price interacts with VWAP during the volatile first 30–60 minutes of the US market.
Plots a clean, dynamic line that updates tick-by-tick during the session and disappears outside trading hours.
Designed to help you spot real-time support/resistance, intraday fair value zones, and liquidity magnets used by institutional traders.
How to Use — NY Open Range Breakout:
During the first hour of the New York session, institutional traders often define an “Opening Range” — the high and low formed shortly after the bell. The VWAP in this zone acts as a dynamic pivot point:
When price is above the session VWAP, bulls are in control — the level acts as a support floor for pullbacks.
When price is below the session VWAP, bears dominate — the level acts as resistance against bounces.
Breakouts from the opening range often test the VWAP for confirmation or rejection.
Traders use this to time entries for breakouts, retests, or mean-reversion scalps with greater confidence.
⚙️ Recommended Settings:
Default: 9:30 AM to 4:00 PM New York time — standard US equities session.
Adjust hours/minutes to match your target market’s open and close.
👤 Who is it for?
Scalpers, day traders, prop traders, and anyone trading the NY Open, indices like the S&P 500, or highly liquid stocks during US cash hours.
🚀 Why use Mark4ex VWAP?
Because a properly anchored VWAP is a trader’s real-time institutional fair value, giving you better context than static moving averages. It adapts live to volume shifts and helps you follow smart money footprints.
This indicator will reconfigure every day, anchored to the New York Open, it will also leave historical NY Open VWAP for study purpose.
30-Min Breakout with VWAP 📊 30-Min Breakout with VWAP & EMA Filter
by JDTJDTTradingCo
A powerful intraday breakout system tailored for precision entries, trend confirmation, and visual clarity. This script captures high-probability trades based on early market structure, combining the strength of VWAP, EMA, and Risk-Reward-based TP/SL management.
🧠 Core Strategy Logic
🔹 Session Initialization
The script defines a custom market opening time (default: 9:15 AM IST) and tracks price movement for the first 30 minutes.
During this session, it dynamically captures the session high and low to form a breakout zone.
🔹 Breakout Entry Rules
After the 30-minute session ends, a trade triggers only if:
BUY: Price closes above session high, above VWAP, and EMA(9) > VWAP.
SELL: Price closes below session low, below VWAP, and EMA(9) < VWAP.
🔹 TP/SL Logic
Stop-loss (SL) is placed at the more conservative level between the VWAP and the opposite breakout.
Take-profit (TP) is derived using a user-defined Risk-Reward (RR) Ratio.
Trade direction, SL, TP, and entry price are visually displayed on the chart.
🧩 Technical Components
🔸 VWAP: Trend anchor, used as breakout filter and SL anchor
🔸 EMA(9): Momentum filter to avoid choppy trades
🔸 Session Box: Visually marks the 30-min breakout zone
🔸 TP/SL/Entry Lines: Clean, dashed levels plotted dynamically
🔸 Auto Reset: Ensures new breakout calculations on each trading day
🔸 Single Trade Per Day: Once a trade triggers, no further trades are taken until the next session
🧱 Swing High/Low Detection
The script also plots the most recent swing highs and lows using customizable pivot settings (left/right bars).
These levels act as potential support/resistance zones and are marked with clear H / L labels and extendable lines.
⚙️ Customization Options
Setting Description
Session Start Time Define market open time (e.g., 9:15 for NSE)
Risk-Reward Ratio Customize TP level based on SL distance
Swing Sensitivity Adjust bars to detect swing highs/lows
Line Style & Width Choose line appearance for better visibility
Display Options Toggle swing high/low markers for clarity
📈 Visual Aids & Feedback
✅ Green TP ✔ when target is achieved
❌ Red SL ✘ when stop-loss is hit
📍 Buy/Sell Labels for every valid trade setup
🟠 VWAP Line with EMA filter for visual context
🔺🔻 H / L Markers for market structure awareness
🚀 Ideal Use Cases
Index traders: Especially useful for NIFTY/BANKNIFTY breakout players
Momentum-based day traders: Filters low-conviction setups
VWAP + Structure traders: Uses institutional trend levels for better alignment
Can also be used to filter other setups (e.g., price action, candle patterns)
🔧 Future Add-Ons (Planned / Optional)
✅ Alerts for trade entries, TP, and SL events
✅ Strategy version for full backtesting & optimization
✅ Trailing Stop-Loss and Partial Exit options
✅ Table-based logging of trade outcomes
⚠️ Note: This script is not a trading bot. It’s meant to be used by discretionary traders or as a semi-automated tool. Always test in demo environments before live usage.
Wyckoff Entry Times @jqrmThis indicator visually marks two custom time zones on your TradingView chart by drawing vertical lines at the start and end of each zone. The first time zone spans from 9:27 AM to 9:33 AM, highlighted in red, and the second spans from 9:50 AM to 10:10 AM, highlighted in blue. You can enable or disable each zone's lines using the indicator inputs. This helps to quickly spot important intraday sessions or time ranges on your chart.
Bollinger Band Breakout With Volatility StoplossDetailed Explanation of the Bollinger Band Breakout With Volatility Stoploss System
Introduction
The "Bollinger Band Breakout With Volatility Stoploss" system is a trading strategy designed to exploit price volatility in financial markets using the Bollinger Bands indicator, a widely recognized tool developed by John Bollinger. This system adapts the traditional Bollinger Bands framework into a Volatility Breakout strategy, focusing on capturing significant price movements by leveraging customized parameters and precise trading rules. The system operates exclusively on long positions, employs a daily timeframe, and incorporates dynamic risk management techniques to optimize trade outcomes while preserving capital.
System Parameters
The system modifies the standard Bollinger Bands configuration to suit its breakout methodology:
Standard Deviation (SD): Set to 1x, determining the width of the bands relative to the central moving average. This tighter setting enhances sensitivity to price movements, making the system responsive to smaller volatility shifts compared to the conventional 2x SD.
Period: A 30-day (1-month) lookback period is used to calculate the bands, providing a balance between capturing medium-term price trends and avoiding excessive noise from shorter timeframes.
Moving Average Type: The system uses an Exponential Moving Average (EMA) instead of the Simple Moving Average (SMA). The EMA places greater weight on recent price data, making it more responsive to current market conditions and better suited for detecting breakout opportunities in dynamic markets.
Core Concept
The Bollinger Band Breakout system is built on the principle of Volatility Breakout, which seeks to capitalize on significant price movements when the price breaks out of a defined volatility range. The Bollinger Bands, consisting of an EMA as the central line and two bands (Upper and Lower) calculated as the EMA plus or minus 1x SD, define this range. The system operates on a Daily Chart (D) timeframe, making it suitable for traders who prefer analyzing and executing trades based on daily price action. By focusing solely on Long Positions (buying low and selling high), the system avoids short-selling, aligning with strategies that capitalize on upward price momentum.
The core idea is to use the 1x SD multiplier over a 30-day period to establish a dynamic price range that reflects recent market volatility. Breakouts above the Upper Band signal potential buying opportunities, while penetrations below the Lower Band indicate exits, ensuring trades are aligned with significant price movements.
Trading Signals
The system generates clear entry and exit signals based on price interactions with the Bollinger Bands:
Buy Signal: A buy signal is triggered when the closing price of a daily candle exceeds the Upper Bollinger Band (EMA + 1x SD over 30 days). The trade is entered at the opening price of the subsequent candle, ensuring the breakout is confirmed by the close of the prior day. This approach minimizes false signals by waiting for a definitive breach of the volatility threshold.
Sell Signal: A sell signal occurs when the closing price falls below the Lower Bollinger Band (EMA - 1x SD over 30 days). The position is exited at the opening price of the next candle, allowing the trader to lock in profits or limit losses when the price reverses or loses momentum.
Risk Management
Risk management is a cornerstone of the system, ensuring capital preservation and disciplined trade execution:
Initial Stoploss: The stoploss is set at the Lower Bollinger Band of the candle that triggered the buy signal. This level acts as a volatility-based threshold, below which the trade is deemed invalid, prompting an immediate exit to protect capital. Traders have two options for implementing the stoploss:
Pending Stoploss: A predefined stoploss order placed at the Lower Band level.
Conditional Exit: Using the sell signal condition (price closing below the Lower Band) as the exit trigger, effectively aligning the stoploss with the system’s exit rules.
Position Sizing: The system employs Fixed Fractional Position Sizing with a risk per trade capped at 3% of the account balance. The position size is calculated based on the distance between the entry price and the Initial Stoploss, incorporating Volatility Position Sizing. This method adjusts the trade size according to the market’s volatility, ensuring that risk remains consistent across varying market conditions. Two options are available for managing capital:
Gear Up Option: Profits from previous trades are reinvested into the account’s capital, increasing the base for calculating the next position size. This compounding approach can amplify returns but also increases risk exposure.
Fixed Equity Option: Profits from previous trades are withdrawn, and only the remaining capital is used for calculating the next position size. This conservative approach prioritizes capital preservation by not compounding gains.
Trailing Stop: The system uses the Lower Bollinger Band as a dynamic trailing stop, which adjusts with price movements and volatility. This ensures that profits are protected during favorable trends while allowing the trade to remain open as long as the price stays above the Lower Band. The trailing stop aligns with the sell signal condition, maintaining consistency in the system’s exit strategy.
Supporting Indicators
The system incorporates two additional indicators to enhance market analysis and decision-making:
Bollinger Band Width (BBW): BBW measures the distance between the Upper and Lower Bollinger Bands relative to the EMA, serving as a proxy for market volatility.
A high BBW indicates significant price volatility, often associated with strong trends or large price movements, which may confirm the strength of a breakout.
A low BBW suggests low volatility, potentially signaling a period of consolidation or "squeeze" that could precede a breakout. This can help traders anticipate potential trade setups.
The BBW calculation uses the EMA to maintain consistency with the system’s core parameters.
Bollinger Band Ratio (BBR) or %B: BBR measures the price’s position relative to the Bollinger Bands, providing insight into market conditions.
BBR > 1: The price is above the Upper Band, indicating potential overbought conditions or strong upward momentum, which aligns with the system’s buy signal.
BBR < 0: The price is below the Lower Band, suggesting oversold conditions or downward momentum, corresponding to the sell signal or stoploss trigger.
BBR between 0 and 1: The price is within the bands, indicating a neutral state where no immediate action is required.
Like BBW, BBR is calculated using the EMA for consistency.
Backtesting and Implementation
To evaluate the system’s performance, traders can utilize the Backtest Parameter function, which allows for testing the strategy across user-defined time periods. This feature enables traders to assess the system’s effectiveness under various market conditions, optimize parameters, and refine their approach based on historical data.
Conclusion
The Bollinger Band Breakout With Volatility Stoploss system is a robust, volatility-driven trading strategy that combines the predictive power of Bollinger Bands with disciplined risk management. By focusing on long positions, using a 1x SD multiplier, and incorporating EMA-based calculations, the system is designed to capture significant price breakouts while minimizing risk through dynamic stoplosses and volatility-adjusted position sizing. The inclusion of BBW and BBR indicators provides additional context for assessing market conditions, enhancing the trader’s ability to make informed decisions. With its structured approach and backtesting capabilities, this system is well-suited for traders seeking a systematic, data-driven method to trade in volatile markets.
Multi‑Day Rolling VWAP with Deviation Bands📄 Description:
This script introduces a multi-day rolling VWAP (Volume-Weighted Average Price) indicator designed for traders who seek deeper structural insights beyond session-based VWAPs. It is particularly effective on intraday charts like 15m, 45m, 1H, and 4H, and is optimized for crypto swing, position, and trend exhaustion strategies.
Unlike traditional VWAPs that reset daily or weekly, this tool computes persistent VWAP levels by aggregating daily price-volume data across rolling windows such as the past 7, 30, or 365 days. These levels act as anchored support/resistance zones derived from real traded volume — helping traders identify where price is fair or stretched over time.
To enhance confluence and precision, each VWAP level optionally includes standard deviation bands, which act as dynamic volatility envelopes. These bands support custom multipliers, including Fibonacci levels like 0.272, 0.618, 1.0, and 1.618, providing flexible tools for identifying potential reversal or mean reversion zones.
✅ Key Features:
📊 Rolling VWAP over user-defined lookback windows (e.g. 7, 30, 365 days)
📐 Optional deviation bands based on volume-weighted standard deviation
🔢 Supports both traditional and Fibonacci multipliers for precise band tuning
⚙️ Independent configuration for up to 3 VWAP profiles (short/mid/long)
🔁 Auto-updates daily and tracks consistent volume-based anchoring
💼 Designed for crypto markets, especially high-volatility altcoins
🧠 How it Works:
At the start of each new day, the script logs cumulative volume and typical price values.
It maintains a rolling window of those daily values over configurable periods.
VWAPs are recalculated from the historical data each bar, ensuring persistence.
Deviation bands use a volume-weighted standard deviation formula, not naive price stddevs.
All inputs are optional — bands can be turned off by setting their multipliers to 0.
💡 Use Cases:
Identify long-term fair value zones in trending or consolidating markets
Spot overextended conditions using deviation confluence
Build trend continuation or exhaustion strategies around VWAP clusters
Anchor intraday decisions to multi-day volume context
🔒 Why Closed Source?
This script applies a proprietary method of rolling VWAP construction and deviation banding that goes beyond typical session or anchored VWAPs. The volume aggregation logic and smoothing techniques used are custom-built for tracking persistent volume-weighted structure — which is especially valuable in fragmented crypto markets. To protect this unique methodology, the code is published as closed-source.
Disclaimer: This indicator is a tool, not a guarantee. Always manage your risk.
For educational purposes only. Past performance does not guarantee future results.
High/LowPrevious Day High/Low & Weekly Open Indicator
A clean and simple indicator that displays key reference levels for intraday trading.
Features:
Previous day's high and low levels
Current week's opening price
Auto-hides levels once broken (prevents clutter)
Resets automatically at the start of each trading day
No repainting - uses proper security function calls
How it works:
The indicator plots yesterday's high/low as horizontal lines on your chart. When price breaks above the previous day's high, that level disappears. Same for the low. This keeps your chart clean and shows only unbroken levels.
Perfect for:
Day traders using previous day's range as reference
Breakout trading strategies
Support/resistance analysis
Clean chart setup without manual level drawing
The cyan lines show previous day's high/low, while the orange line displays the weekly open. All levels use non-repainting data for reliable backtesting.
Timeframe Resistance Evaluation And Detection - CoffeeKillerTREAD - Timeframe Resistance Evaluation And Detection Guide
🔔 Important Technical Limitation 🔔
**This indicator does NOT fetch true higher timeframe data.** Instead, it simulates higher timeframe levels by aggregating data from your current chart timeframe. This means:
- Results will vary depending on what chart timeframe you're viewing
- Levels may not match actual higher timeframe candle highs/lows
- You might miss important wicks or gaps that occurred between chart timeframe bars
- **Always verify levels against actual higher timeframe charts before trading**
Welcome traders! This guide will walk you through the TREAD (Timeframe Resistance Evaluation And Detection) indicator, a multi-timeframe analysis tool developed by CoffeeKiller that identifies support and resistance confluence across different time periods.(I am 50+ year old trader and always thought I was bad a teaching and explaining so you get a AI guide. I personally use this on the 5 minute chart with the default settings, but to each there own and if you can improve the trend detection methods please DM me. I would like to see the code. Thanks)
Core Components
1. Dual Timeframe Level Tracking
- Short Timeframe Levels: Tracks opening price extremes within shorter periods
- Long Timeframe Levels: Tracks actual high/low extremes within longer periods
- Dynamic Reset Mechanism: Levels reset at the start of each new timeframe period
- Momentum Detection: Identifies when levels change mid-period, indicating active price movement
2. Visual Zone System
- High Zones: Areas between long timeframe highs and short timeframe highs
- Low Zones: Areas between long timeframe lows and short timeframe lows
- Fill Coloring: Dynamic colors based on whether levels are static or actively changing
- Momentum Highlighting: Special colors when levels break during active periods
3. Customizable Display Options
- Multiple Plot Styles: Line, circles, or cross markers
- Flexible Timeframe Selection: Wide range of short and long timeframe combinations
- Color Customization: Separate colors for each level type and momentum state
- Toggle Controls: Show/hide different elements based on trading preference
Main Features
Timeframe Settings
- Short Timeframe Options: 15m, 30m, 1h, 2h, 4h
- Long Timeframe Options: 1h, 2h, 4h, 8h, 12h, 1D, 1W
- Recommended Combinations:
- Scalping: 15m/1h or 30m/2h
- Day Trading: 30m/4h or 1h/4h
- Swing Trading: 4h/1D or 1D/1W
Display Configuration
- Level Visibility: Toggle short/long timeframe levels independently
- Fill Zone Control: Enable/disable colored zones between levels
- Momentum Fills: Special highlighting for actively changing levels
- Line Customization: Width, style, and color options for all elements
Color System
- Short TF High: Default red for resistance levels
- Short TF Low: Default green for support levels
- Long TF High: Transparent red for broader resistance context
- Long TF Low: Transparent green for broader support context
- Momentum Colors: Brighter colors when levels are actively changing
Technical Implementation Details
How Level Tracking Works
The indicator uses a custom tracking function that:
1. Detects Timeframe Periods: Uses `time()` function to identify when new periods begin
2. Tracks Extremes: Monitors highest/lowest values within each period
3. Resets on New Periods: Clears tracking when timeframe periods change
4. Updates Mid-Period: Continues tracking if new extremes are reached
The Timeframe Limitation Explained
`pinescript
// What the indicator does:
short_tf_start = ta.change(time(short_timeframe)) != 0 // Detects 30m period start
= track_highest(open, short_tf_start) // BUT uses chart TF opens!
// What true multi-timeframe would be:
// short_tf_high = request.security(syminfo.tickerid, short_timeframe, high)
`
This means:
- On a 5m chart with 30m/4h settings: Tracks 5m bar opens during 30m and 4h windows
- On a 1m chart with same settings: Tracks 1m bar opens during 30m and 4h windows
- Results will be different between chart timeframes
- May miss important price action that occurred between your chart's bars
Visual Elements
1. Level Lines
- Short TF High: Upper resistance line from shorter timeframe analysis
- Short TF Low: Lower support line from shorter timeframe analysis
- Long TF High: Broader resistance context from longer timeframe
- Long TF Low: Broader support context from longer timeframe
2. Zone Fills
- High Zone: Area between long TF high and short TF high (potential resistance cluster)
- Low Zone: Area between long TF low and short TF low (potential support cluster)
- Regular Fill: Standard transparency when levels are static
- Momentum Fill: Enhanced visibility when levels are actively changing
3. Dynamic Coloring
- Static Periods: Normal colors when levels haven't changed recently
- Active Periods: Momentum colors when levels are being tested/broken
- Confluence Zones: Different intensities based on timeframe alignment
Trading Applications
1. Support/Resistance Trading
- Entry Points: Trade bounces from zone boundaries
- Confluence Areas: Focus on areas where short and long TF levels cluster
- Zone Breaks: Enter on confirmed breaks through entire zones
- Multiple Timeframe Confirmation: Stronger signals when both timeframes align
2. Range Trading
- Zone Boundaries: Use fill zones as range extremes
- Mean Reversion: Trade back toward opposite zone when price reaches extremes
- Breakout Preparation: Watch for momentum color changes indicating potential breakouts
- Risk Management: Place stops outside the opposite zone
3. Trend Following
- Direction Bias: Trade in direction of zone breaks
- Pullback Entries: Enter on pullbacks to broken zones (now support/resistance)
- Momentum Confirmation: Use momentum coloring to confirm trend strength
- Multiple Timeframe Alignment: Strongest trends when both timeframes agree
4. Scalping Applications
- Quick Bounces: Trade rapid moves between zone boundaries
- Momentum Signals: Enter when momentum colors appear
- Short-Term Targets: Use opposite zone as profit target
- Tight Stops: Place stops just outside current zone
Optimization Guide
1. Timeframe Selection
For Different Trading Styles:
- Scalping: 15m/1h - Quick levels, frequent updates
- Day Trading: 30m/4h - Balanced view, good for intraday moves
- Swing Trading: 4h/1D - Longer-term perspective, fewer false signals
- Position Trading: 1D/1W - Major structural levels
2. Chart Timeframe Considerations
**Important**: Your chart timeframe affects results
- Lower Chart TF: More granular level tracking, but may be noisy
- Higher Chart TF: Smoother levels, but may miss important price action
- Recommended: Use chart timeframe 2-4x smaller than short indicator timeframe
3. Display Settings
- Busy Charts: Disable fills, show only key levels
- Clean Analysis: Enable all fills and momentum coloring
- Multi-Monitor Setup: Use different color schemes for easy identification
- Mobile Trading: Increase line width for visibility
Best Practices
1. Level Verification
- Always Cross-Check: Verify levels against actual higher timeframe charts
- Multiple Timeframes: Check 2-3 different chart timeframes for consistency
- Price Action Confirmation: Wait for candlestick confirmation at levels
- Volume Analysis: Combine with volume for stronger confirmation
2. Risk Management
- Stop Placement: Use zones rather than exact prices for stops
- Position Sizing: Reduce size when zones are narrow (higher risk)
- Multiple Targets: Scale out at different zone boundaries
- False Break Protection: Allow for minor zone penetrations
3. Signal Quality Assessment
- Momentum Colors: Higher probability when momentum coloring appears
- Zone Width: Wider zones often provide stronger support/resistance
- Historical Testing: Backtest on your preferred timeframe combinations
- Market Conditions: Adjust sensitivity based on volatility
Advanced Features
1. Momentum Detection System
The indicator tracks when levels change mid-period:
`pinescript
short_high_changed = short_high != short_high and not short_tf_start
`
This identifies:
- Active level testing
- Potential breakout situations
- Increased market volatility
- Trend acceleration points
2. Dynamic Color System
Complex conditional logic determines fill colors:
- Static Zones: Regular transparency for stable levels
- Active Zones: Enhanced colors for changing levels
- Mixed States: Different combinations based on user preferences
- Custom Overrides: User can prioritize certain color schemes
3. Zone Interaction Analysis
- Convergence: When short and long TF levels approach each other
- Divergence: When timeframes show conflicting levels
- Alignment: When both timeframes agree on direction
- Transition: When one timeframe changes while other remains static
Common Issues and Solutions
1. Inconsistent Levels
Problem: Levels look different on various chart timeframes
Solution: Always verify against actual higher timeframe charts
2. Missing Price Action
Problem: Important wicks or gaps not reflected in levels
Solution: Use chart timeframe closer to indicator's short timeframe setting
3. Too Many Signals
Problem: Excessive level changes and momentum alerts
Solution: Increase timeframe settings or reduce chart timeframe granularity
4. Lagging Signals
Problem: Levels seem to update too slowly
Solution: Decrease chart timeframe or use more sensitive timeframe combinations
Recommended Setups
Conservative Approach
- Timeframes: 4h/1D
- Chart: 1h
- Display: Show fills only, no momentum coloring
- Use: Swing trading, position management
Aggressive Approach
- Timeframes: 15m/1h
- Chart: 5m
- Display: All features enabled, momentum highlighting
- Use: Scalping, quick reversal trades
Balanced Approach
- Timeframes: 30m/4h
- Chart: 15m
- Display: Selective fills, momentum on key levels
- Use: Day trading, multi-session analysis
Final Notes
**Remember**: This indicator provides a synthetic view of multi-timeframe levels, not true higher timeframe data. While useful for identifying potential confluence areas, always verify important levels by checking actual higher timeframe charts.
**Best Results When**:
- Combined with actual multi-timeframe analysis
- Used for confluence confirmation rather than primary signals
- Applied with proper risk management
- Verified against price action and volume
**DISCLAIMER**: This indicator and its signals are intended solely for educational and informational purposes. The timeframe limitation means results may not reflect true higher timeframe levels. Always conduct your own analysis and verify levels independently before making trading decisions. Trading involves significant risk of loss.