Scalp Signals [Premium]This Indicator combines RSI and Movinaverage, to help evaluate the optimal trend.
The RSI signal is displayed with different color zones to reflect the value on the chart. This makes field evaluation more efficient.
This indicator Includes moving averages EMA / SMA and Trendline.
EMA+SMA with a default value of 34/89/200/200 ... User can change value and color as required... As ema and SMA both have the same value that's why only three lines are visible, changing the value will reflect other Moving averages.
Trendline work on breakouts with pivot point-based levels, we introduce an indicator returning pivot point-based trendlines with highlighted breakouts. Users can control the steepness of the trendlines as well as their slope calculation method. The indicator also includes integrated alerts for trendlines breakouts.
Settings:
* Display modes EMA, SMA, TRENDLINE
* Type + Length EMA
* Type + Length SMA
* ADVANCED SETTINGS:
* Length: Pivot points period
* Slope: Slope steepness, values greater than 1 return a steeper slope. Using a slope of 0 would be equivalent to obtaining levels.
* Slope Calculation Method: Determines how this lope is calculated.
* Show Only Confirmed Breakouts: Only shows confirmed breakouts when enabled.
Usage
Any valid trendlines methodology can be used with the indicator, users can identify breakouts in order to infer future price movements.
Break labels highlight breakouts and are delayed by length bars (with the exception of breakouts with the dashed trendlines which are not delayed). By default the indicator shows any breakouts, toggling on "Show Only Confirmed Breakouts" will allow showing only significant ones. Note that this will not affect breakouts with the dashed trendlines.
The calculation method of the slope greatly affects the trendline's behaviors. By default, an average true range is used, returning a consistent slope amongst trendlines. Other methods might return trendlines with significantly different slopes.
Pesquisar nos scripts por "breakout"
Double Inside Body Candles with Box & Alert + 5-Bar LinesThis indicator identifies Double Inside Body Candle patterns, where:
Candle 1 is completely inside Candle 2,
Candle 2 is completely inside Candle 3 (the parent candle),
Candle 3 has a real body (not a doji or negligible body size).
Once the pattern is detected:
A label appears below the current candle.
A highlight box is drawn around Candle 3 (the parent candle) body range.
Horizontal lines are drawn from the top and bottom of Candle 3’s body and extend forward for exactly 5 bars to visualize potential breakout levels.
The script also detects and highlights breakouts:
🔼 Bullish breakout: if price closes above Candle 3's body high.
🔽 Bearish breakout: if price closes below Candle 3's body low.
Alerts are available for:
Double Inside Body pattern detection
Bullish breakout
Bearish breakout
Traders can use this script to identify consolidation periods (double inside bars), then monitor for breakout opportunities in either direction, using the 5-bar lines as short-term breakout levels.
3CRGANG - TRUE RANGEThis indicator helps traders identify key support and resistance levels using dynamic True Range calculations, while also providing a multi-timeframe trend overview. It plots True Range levels as horizontal lines, marks breakouts with arrows, and displays trend directions across various timeframes in a table, making it easier to align trades with broader market trends.
What It Does
The 3CRGANG - TRUE RANGE indicator calculates dynamic support and resistance levels based on the True Range concept, updating them as price breaks out of the range. It also analyzes trend direction across multiple timeframes (M1 to M) and presents the results in a table, using visual cues to indicate bullish, bearish, or neutral conditions.
Why It’s Useful
This script combines True Range analysis with multi-timeframe trend identification to provide a comprehensive tool for traders. The dynamic True Range levels help identify potential reversal or continuation zones, while the trend table allows traders to confirm the broader market direction before entering trades. This dual approach reduces the need for multiple indicators, streamlining analysis across different timeframes and market conditions.
How It Works
The script operates in the following steps:
True Range Calculation: The indicator calculates True Range levels (support and resistance) using price data (close, high, low) from a user-selected timeframe. It updates these levels when price breaks above the upper range (bullish breakout) or below the lower range (bearish breakout).
Line Plotting: Two styles are available:
"3CR": Plots one solid line after a breakout (green for bullish, red for bearish) and removes the opposing line.
"RANGE": Plots both upper and lower range lines as dotted lines (green for support, red for resistance) until a breakout occurs, then solidifies the breakout line.
Multi-Timeframe Trend Analysis: The script analyzes trend direction on multiple timeframes (M1, M5, M15, M30, H1, H4, D, W, M) by comparing the current close to the True Range levels on each timeframe. A trend is:
Trend Table: A table displays the trend direction for each timeframe, with color-coded backgrounds (green for bullish, red for bearish) and triangles to indicate the trend state.
Breakout Arrows: When price breaks above the upper range, a green ▲ arrow appears below the bar (bullish). When price breaks below the lower range, a red ▼ arrow appears above the bar (bearish).
Bullish (▲): Price is above the upper range.
Bearish (▼): Price is below the lower range.
Neutral (△/▽): Price is within the range, with the last trend indicated by an empty triangle (△ for last bullish, ▽ for last bearish).
Alerts: Breakout alerts can be set for each timeframe, with options to filter by trading sessions (e.g., New York, London) or enable all-day alerts.
Underlying Concepts
The script uses the True Range concept to define dynamic support and resistance levels, which adjust based on price action to reflect the most relevant price zones. The multi-timeframe trend analysis leverages the same True Range logic to determine trend direction, providing a consistent framework across all timeframes. The combination of breakout signals and trend confirmation helps traders align their strategies with both short-term price movements and longer-term market trends.
Use Case
Breakout Trading: Use the True Range lines and arrows to identify breakouts. For example, a green ▲ arrow below a bar with price breaking above the upper range suggests a potential long entry.
Trend Confirmation: Check the trend table to ensure the breakout aligns with the broader trend. For instance, a bullish breakout on the 1H chart is more reliable if the D and W timeframes also show bullish trends (▲).
Range Trading: When price is within the True Range (dotted lines in "RANGE" style), consider range-bound strategies, buying near support and selling near resistance, while monitoring the table for potential trend shifts.
Settings
Input Timeframe: Select the timeframe for True Range calculations (default: chart timeframe).
True Range Style: Choose between "3CR" (single line after breakout) or "RANGE" (both lines until breakout) (default: 3CR).
Change Symbol: Compare a different ticker if needed (default: chart symbol).
Color Theme: Select "LIGHT THEME" or "DARK THEME" for colors, or enable custom colors (default: LIGHT THEME).
Table Position: Set the trend table’s position (center, right, left) (default: right).
Multi Res Alerts Setup: Enable/disable breakout alerts for each timeframe (default: enabled for most timeframes).
Sessions Alerts: Filter alerts by trading sessions (e.g., New York, London) or enable all-day alerts (default: most sessions enabled).
Chart Notes
The chart displays the script’s output on XAUUSD (1H timeframe), showing:
Candlesticks representing price action.
True Range lines (green for support, red for resistance) in "3CR" style, with solid lines after breakouts and dotted lines during range-bound periods.
Arrows (green ▲ below bars for bullish breakouts, red ▼ above bars for bearish breakouts) indicating range breakouts.
A trend table in the top-right corner labeled "TREND EA," showing trend directions across timeframes (M1 to M) with triangles (▲/▼ for active trends, △/▽ for last trend) and color-coded backgrounds (green for bullish, red for bearish).
Notes
The script uses the chart’s ticker by default but allows comparison with another symbol if enabled.
Trend data for higher timeframes (e.g., M) may not display if the chart’s history is insufficient.
Alerts are triggered only during selected trading sessions unless "ALL DAY ALERTS" is enabled.
Disclaimer
This indicator is a tool for analyzing market trends and does not guarantee trading success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.
Pro Volume By TradeINskiOverview
The Pro Volume By TradeINski indicator is a comprehensive trading tool designed to enhance volume analysis, position sizing, and trend identification. It integrates multiple trading metrics into a single dashboard, helping traders make informed decisions based on volume dynamics, momentum bursts, trend intensity, and risk management.
Key Features
1. Position Size Calculator
Helps traders determine optimal position sizes based on risk parameters:
Capital & Risk Amount: Set account size and risk per trade.
Lot Size Adjustments: Automatically calculates nearest lot size for futures trading.
Stop Loss-Based Quantity: Computes position size based on distance from stop-loss levels (LOD or mid-price).
Standard Stop Losses: Predefined stop-loss levels (1%, 1.25%, 1.5%, 1.75%) for quick risk assessment.
Reverse Pyramiding: Enhances position sizing with adjustable risk multipliers (25%, 50%).
Closing Range & Range Expansion: Measures price strength and volatility expansion.
2. Volume Analysis & Bar Coloring
Default Bar Colors: Green for bullish bars, red for bearish bars.
Dry Volume Detection: Highlights low-volume bars (below 20-period SMA) in gray.
3. Momentum Burst (MB)
Identifies high-momentum moves:
Bullish Momentum: Volume surge + price rise ≥ user-defined threshold (default: 4%).
Bearish Momentum: Volume surge + price drop ≥ user-defined threshold (default: -4%).
4. Trend Intensity (TI)
Measures trend strength using moving averages:
Fast MA (7) vs. Slow MA (65): Highlights strong bullish/bearish trends when deviation exceeds sensitivity threshold (default: 5%).
5. Anticipation (ANTS)
Detects consolidation before potential breakouts:
Price Change Range: Filters minor price fluctuations (default: -0.4% to +0.4%).
Trend Confirmation: Requires TI_65 sensitivity (default: 5%) for validation.
6. Episodic Pivot (EP)
Flags unusually high-volume bars (default: 9M+ volume) as potential trend reversal or continuation signals.
7. Data Metrics Table
Displays key trading metrics:
Trend Intensity (TI): 21-period SMA comparison.
Industry & Sector: Stock classification.
Market Cap & Free Float: Fundamental liquidity metrics.
Volume × Price (VP): Monetary value of traded volume.
Relative Volume (RV): Today’s volume vs. previous day.
Persistent Intensity (PI): Count of consecutive up closes (default: 21-period).
Use Cases for Traders
✅ Day Traders: Identify momentum bursts and high-volume breakouts.
✅ Swing Traders: Use trend intensity and episodic pivots to confirm trends.
✅ Position Traders: Optimize risk with dynamic position sizing.
✅ Risk Managers: Set stop-loss levels and reverse pyramiding for controlled exposure.
Settings & Customization Overview
The Pro Volume By TradeINski indicator is a comprehensive trading tool designed to enhance volume analysis, position sizing, and trend identification. It integrates multiple trading metrics into a single dashboard, helping traders make informed decisions based on volume dynamics, momentum bursts, trend intensity, and risk management.
Key Features
1. Position Size Calculator
Helps traders determine optimal position sizes based on risk parameters:
Capital & Risk Amount: Set account size and risk per trade.
Lot Size Adjustments: Automatically calculates nearest lot size for futures trading.
Stop Loss-Based Quantity: Computes position size based on distance from stop-loss levels (LOD or mid-price).
Standard Stop Losses: Predefined stop-loss levels (1%, 1.25%, 1.5%, 1.75%) for quick risk assessment.
Reverse Pyramiding: Enhances position sizing with adjustable risk multipliers (25%, 50%).
Closing Range & Range Expansion: Measures price strength and volatility expansion.
2. Volume Analysis & Bar Coloring
Default Bar Colors: Green for bullish bars, red for bearish bars.
Dry Volume Detection: Highlights low-volume bars (below 20-period SMA) in gray.
3. Momentum Burst (MB)
Identifies high-momentum moves:
Bullish Momentum: Volume surge + price rise ≥ user-defined threshold (default: 4%).
Bearish Momentum: Volume surge + price drop ≥ user-defined threshold (default: -4%).
4. Trend Intensity (TI)
Measures trend strength using moving averages:
Fast MA (7) vs. Slow MA (65): Highlights strong bullish/bearish trends when deviation exceeds sensitivity threshold (default: 5%).
5. Anticipation (ANTS)
Detects consolidation before potential breakouts:
Price Change Range: Filters minor price fluctuations (default: -0.4% to +0.4%).
Trend Confirmation: Requires TI_65 sensitivity (default: 5%) for validation.
6. Episodic Pivot (EP)
Flags unusually high-volume bars (default: 9M+ volume) as potential trend reversal or continuation signals.
7. Data Metrics Table
Displays key trading metrics:
Trend Intensity (TI): 21-period SMA comparison.
Industry & Sector: Stock classification.
Market Cap & Free Float: Fundamental liquidity metrics.
Volume × Price (VP): Monetary value of traded volume.
Relative Volume (RV): Today’s volume vs. previous day.
Persistent Intensity (PI): Count of consecutive up closes (default: 21-period).
Use Cases for Traders
✅ Day Traders: Identify momentum bursts and high-volume breakouts.
✅ Swing Traders: Use trend intensity and episodic pivots to confirm trends.
✅ Position Traders: Optimize risk with dynamic position sizing.
✅ Risk Managers: Set stop-loss levels and reverse pyramiding for controlled exposure.
Settings & Customization
Trade Direction: Long, Short, or Both (auto-detects based on % change).
Table Positioning: Adjust location (Top/Middle/Bottom, Left/Center/Right).
Color Customization: Modify bar colors, table lines, and background.
Trade Direction: Long, Short, or Both (auto-detects based on % change).
Table Positioning: Adjust location (Top/Middle/Bottom, Left/Center/Right).
Color Customization: Modify bar colors, table lines, and background.
Original Gann Swing Chart Rules [AlgoFuego]🔵 Original Gann Swing Chart Rules
An advanced indicator built on W.D. Gann’s original rules, enhanced with innovative mechanical trend-following methods.
🔹 Description
This indicator functions by balancing short-term adaptability with long-term trend analysis.
The indicator incorporates Gann’s principles alongside mechanical trend-following techniques to offer a structured method for analyzing trends and detecting potential market reversals.
Golden Rule: Non-trend bars are excluded from analysis, and each new bar is compared with the previous trend bar, it highlights significant swing points with greater clarity.
🔸 The core concept behind the golden rule on which this indicator is built.
The person watching the tide coming, wanting to pinpoint the exact spot that signals the high tide, places a stick in the sand at the points where the incoming waves reach until the stick reaches a position where the waves no longer rise, and eventually recedes enough to show that the tide has shifted.
This method is effective for monitoring and identifying tides and floods in the stock market.
🔸Rule 1: The trend bar is everything.
→It is a bar that forms a new high, low, or both.
🔸Rule 2: The professional traders track new highs and lows.
🔸Rule 3: The hidden bar is nothing.
→It is a bar that does not form a new high, low, or both.
🔸Rule 4: The sea has a wavy nature, and the market as well.
🔸Rule 5: The slope is the immediate direction of the swing.
Downward slope
→The downslope is the descending slope of a swing, shows a decline, reflecting a bearish price trend.
Upward slope
→The upslope is the ascending slope of a swing, shows an incline, reflecting a bullish price trend.
🔸Rule 6: The start and end of the movement are the swing points.
→The lowest or highest price of the last bar in the direction of the slope represents the swing point after the slopes direction changes.
Valley
→It is the lowest price of the last bar in a downslope before the market turns to a upslope.
End=> Downward slope and Start=> Upward slope
Peak
→It is the highest price of the last bar in a upslope before the market turns to an downslope.
End=> Upward slope and Start=> Downward slope
🔸Rule 7: The Golden Rule: Ignore all no-trend bars and compare the new bar with the previous trend bar.
→Applying the golden rule in upward slope
→Applying the golden rule in downward slope
🔸 Related content: Personal words of W.D Gann from the book Wall Street Stock Selector.
→"This was only one month's reaction the same as March 1925. The market held in a dull narrow range for about 2 months while accumulation was taking place and in June the main trend turned up again."
→The beginning of the main trend and the formation of the Valley.
→The beginning of the main trend and the formation of the Peak.
🔸 Rule 8: The Closing Price of the Bar to Understand Movement Direction.
Sequence is important
→ Downward bar
→ Upward bar
🔸 Outside Bar Rules
→Explanation of rules and calculations.
🔸 How does a trend start?
Upward trend
Trend change from Downward to Upward.
Prices must take out the nearest 'Peak' and the Trend was previously Downward.
A breakout above the previous peak signals a bullish reversal.
→ Model 1 - Dropping Valley Reversal
The market forms a dropping valley, followed by a breakout above the previous peak.
→ Model 2 - Equal Valley Reversal
The market forms an equal valley, followed by a breakout above the previous peak.
→ Model 3 - Rising Valley Reversal
The market forms a rising valley, followed by a breakout above the previous peak.
Downward trend
Trend change from Upward to Downward.
Prices must take out the nearest ‘Valley' and the Trend was previously Upward.
A breakdown below the previous valley signals a bearish reversal.
→ Model 1 - Rising Peak Reversal
The market forms a rising peak, followed by a breakdown below the previous valley.
→ Model 2 - Equal Peak Reversal
The market forms an equal peak, followed by a breakdown below the previous valley.
→ Model 3 - Dropping Peak Reversal
The market forms a dropping peak, followed by a breakdown below the previous valley.
🔸 The fractal nature of markets
Rising wave
→ The rising wave is the entire bull market between turning points
High point : When the Main trend turns from upward to downward, the peak of the primary trend is formed.
Dropping wave
→ The Dropping wave is the entire bear market between turning points.
Low point : When the Main trend turns from downward to upward, the primary trend valley is formed.
Fractal nature application.
Everything in one picture.
🔹 Features
Strict adherence to the rules: Follows the Original Gann Swing Chart Rules to detect swing points.
Fractal analysis: Uses trend bars and fractal analysis to identify swing points.
Robust functionality: Engineered to handle complex market conditions with advanced logic.
Custom alerts: Alerts for peak/valley completion, main and primary trend reversals & continuations.
Golden rule application: Filters out non-trend bars by comparing only with the last trend bar.
Reversal & trend detection: Applies eight outside bar rules to detect trend reversals and continuations.
Dynamic customization: Fully customizable settings.
🔹 Settings overview
Fine-tune the indicator to match your unique trading strategy by adjusting trend settings, customizing alerts, and modifying visualization options.
1. Main trend settings
Hide/Show Main trend options: Instantly hide all main trend options (alerts remain separate).
Main trendline display & alerts: Toggle trendline visibility and set alerts for peaks and valleys.
Trendline customization: Adjust styles, colors, and slopes for upward/downward trends.
Peaks & Valleys markers: Show/hide points and customize their color and size.
Opposite Main trend turning points: Enable alerts and modify style, width, color, and offset.
Breakout/Breakdown points: Set alerts and customize their appearance.
2. Primary trend settings
Hide/Show primary trend options: Instantly hide all primary trend options (alerts remain separate).
Primary trendline display & alerts: Toggle trendline visibility and set alerts for peaks and valleys.
Trendline customization: Adjust styles, colors, and slopes for upward/downward trends.
Peaks & Valleys markers: Show/hide points and customize their color and size.
Opposite primary trend turning points: Enable alerts and modify style, width, color, and offset.
Breakout/Breakdown points: Set alerts and customize their appearance.
3. Additional options
Tooltips display: Control tooltip visibility for labels and languages.
Candle/Bar coloring: Customize candle and bar colors based on algorithm-selected trends.
🔸 Additional features
🔹Custom reading of bars.
The arrow represents the direction of the slope, the dot is the type of trend, and the line is the closing price.
🔹 Advanced Moving Average Activator
The Advanced Moving Average Activator, this setting calculates the average closing prices of trend bars only, which are the only bars considered by Gann.
The advantage of this method is that it helps avoid hidden bars that are not accounted for, making the difference more evident in a ranging market. The values are updated only when new highs or lows occur.
Additionally, you can set alerts when the price closes above or below the moving average.
🔹 Bar Counter
After a trend change, you can see exactly when the shift occurred and customize the type of trend you want to track.
For example, by conducting your own research on the assets you trade, based on historical data, you might discover valuable insights, such as the primary trend possibly lasting longer than 20 bars!
You can use these insights to refine your trading strategy and make more data-driven decisions.
🔹 How to use
Step 1: Configure the settings and choose your trading approach
Adjust the indicator settings to match your trading style and market conditions.
Effectively using the indicator starts with selecting your preferred trading style.
You can trade in alignment with the primary trend, capitalize on market reversals, or take advantage of breakouts.
Trading with the primary trend: Best for traders who prefer longer-term positions with higher stability.
Trading reversals: Ideal for those looking to enter at potential turning points but requires additional confirmation.
Trading breakouts: Suitable for traders targeting strong price movements after key level breakouts.
Adapting to market volatility: Monitor changing volatility and adjust your strategy accordingly for optimal results.
Step 2: Analyze the chart
Apply the indicator to your TradingView chart and interpret swing signals for informed decisions.
Carefully study the chart patterns to detect subtle signals.
Check if similar signals worked well in past market conditions.
Use multi-timeframe analysis for a broader perspective.
Step 3: Trade with the primary trend
Utilize trend direction to align trades with prevailing market movements.
Always trade in the direction of the primary trend.
Confirm the trend direction using multiple indicators or by relying on the primary trend as confirmation!.
Avoid trading against strong market momentum.
Step 4: Identify entry signals
Use indicator signals to identify ideal trade entry points.
Look for confirmation before entering a trade.
Wait for clear signals to avoid false entries.
Practice on a demo account to build confidence in your entry strategy.
Step 5: Apply risk management
Define stop-loss and take-profit levels to protect your capital effectively.
Set stop-loss orders at strategic levels to limit potential losses.
Risk only a small percentage of your capital per trade.
Adjust risk levels based on your overall portfolio performance.
Step 6: Confirm with trend analysis
Validate trends using additional indicators for a higher probability of success.
Use complementary tools to confirm trend direction.
Monitor trend changes to adjust your strategy promptly.
Keep an eye on volume indicators for added confirmation.
Step 7: Execute the trade
Enter trades based on confirmed signals and predefined strategy rules.
Ensure all your criteria are met before executing a trade.
Stay disciplined and stick to your strategy.
Review market conditions right before execution.
Step 8: Monitor the trade
Track trade performance and make adjustments as necessary.
Keep an eye on market conditions throughout the trade.
Be ready to adjust your strategy if unexpected events occur.
Use trailing stops to secure profits while allowing for gains.
Step 9: Implement exit strategy
Close trades strategically based on your pre-established exit plan.
Plan your exit strategy in advance and adhere to it.
Consider partial exits to secure profits along the way.
Avoid emotional decisions when closing trades.
Step 10: Review performance
Analyze past trades to continuously refine and improve your strategy.
Regularly review and document your trades for insights.
Identify patterns in both your successes and mistakes.
Update your strategy based on comprehensive performance reviews.
🔹 Disclosure
While this script is useful and provides insight into market tops, bottoms, and trend trading, it's critical to understand that past performance is not necessarily indicative of future results and there are many more factors that go into being a profitable trader.
Volumetric Price Delivery Bias Pro @MaxMaserati🚀 Volumetric Price Delivery Bias Pro MaxMaserati
Description:
The Volumetric Price Delivery Bias Pro is an advanced trading indicator designed to provide clear insights into market trends, reversals, and continuations. Leveraging a combination of price action and volume analysis, it highlights critical support and resistance zones with unparalleled precision. It is a perfect blend of price action and volume intelligence.
🚀 Key Features:
Dynamic Price Analysis:
Detects key price turning points using fractal analysis.
Differentiates between bullish and bearish delivery signals for clear trend direction.
Support & Resistance Visualization:
Defense Lines: Pinpoint levels where buyers or sellers defend positions.
Zone Boxes: Highlight support/resistance areas with adjustable thresholds for precision.
Volume-Driven Confirmation:
Combines volume data to validate price levels.
Visualizes strength through dynamic box size and intensity.
⚡ Signals Explained
CDL (Change of Delivery Long): Indicates a bullish trend reversal.
CDS (Change of Delivery Short): Indicates a bearish trend reversal.
LD (Long Delivery): Confirms bullish trend continuation.
SD (Short Delivery): Confirms bearish trend continuation.
📊 Volume Strength Explained:
Volume strength = Current level volume ÷ (Average volume × Threshold).
Higher strength (above 100%) indicates stronger confirmation of support/resistance.
Boxes and lines dynamically adjust size and color to reflect strength.
🎯 Who Is It For?
This tool is ideal for scalpers, intraday traders, and swing traders who want to align their strategies with real market dynamics.
Scalpers: Identify quick reversals with shorter fractal lengths.
Intraday Traders: Spot balanced trends and continuations.
Swing Traders: Capture major market moves with higher confidence.
What to Do When Volume Strength Is Above 100%
Bullish Scenarios:
High volume at a support zone or during an upward move confirms strong buying interest.
Use it as confirmation for bullish setups.
Bearish Scenarios:
High volume at a resistance zone or during a downward move confirms strong selling pressure.
Use it as confirmation for bearish setups.
Range Markets:
High volume near range edges signals potential reversals or breakouts.
Observe price behavior to identify the likely scenario.
Breakouts:
High volume at key levels confirms the strength of a breakout.
Monitor for continuation in the breakout direction.
General Tip:
Combine high volume signals with other indicators or patterns for stronger confirmation.
🛠️ Customization Options
Configure fractal lengths, volume thresholds, and visual styles for optimal adaptability to scalping, intraday, or swing trading strategies.
Adjustable table display to track delivery bias, counts, and the latest signal.
📢 Alerts and Visuals:
Real-time alerts ensure you never miss critical signals.
Labels and lines mark CDL, CDS, LD, and SD levels for easy chart interpretation.
Volumetric Price Delivery Bias Pro @MaxMaserati🚀 Volumetric Price Delivery Bias Pro @MaxMaserati
Description:
The Volumetric Price Delivery Bias Pro is an advanced trading indicator designed to provide clear insights into market trends, reversals, and continuations. Leveraging a combination of price action and volume analysis, it highlights critical support and resistance zones with unparalleled precision. It is a perfect blend of price action and volume intelligence.
🚀 Key Features:
Dynamic Price Analysis:
Detects key price turning points using fractal analysis.
Differentiates between bullish and bearish delivery signals for clear trend direction.
Support & Resistance Visualization:
Defense Lines: Pinpoint levels where buyers or sellers defend positions.
Zone Boxes: Highlight support/resistance areas with adjustable thresholds for precision.
Volume-Driven Confirmation:
Combines volume data to validate price levels.
Visualizes strength through dynamic box size and intensity.
⚡ Signals Explained
CDL (Change of Delivery Long): Indicates a bullish trend reversal.
CDS (Change of Delivery Short): Indicates a bearish trend reversal.
LD (Long Delivery): Confirms bullish trend continuation.
SD (Short Delivery): Confirms bearish trend continuation.
📊 Volume Strength Explained:
Volume strength = Current level volume ÷ (Average volume × Threshold).
Higher strength (above 100%) indicates stronger confirmation of support/resistance.
Boxes and lines dynamically adjust size and color to reflect strength.
🎯 Who Is It For?
This tool is ideal for scalpers, intraday traders, and swing traders who want to align their strategies with real market dynamics.
Scalpers: Identify quick reversals with shorter fractal lengths.
Intraday Traders: Spot balanced trends and continuations.
Swing Traders: Capture major market moves with higher confidence.
What to Do When Volume Strength Is Above 100%
Bullish Scenarios:
High volume at a support zone or during an upward move confirms strong buying interest.
Use it as confirmation for bullish setups.
Bearish Scenarios:
High volume at a resistance zone or during a downward move confirms strong selling pressure.
Use it as confirmation for bearish setups.
Range Markets:
High volume near range edges signals potential reversals or breakouts.
Observe price behavior to identify the likely scenario.
Breakouts:
High volume at key levels confirms the strength of a breakout.
Monitor for continuation in the breakout direction.
General Tip:
Combine high volume signals with other indicators or patterns for stronger confirmation.
🛠️ Customization Options
Configure fractal lengths, volume thresholds, and visual styles for optimal adaptability to scalping, intraday, or swing trading strategies.
Adjustable table display to track delivery bias, counts, and the latest signal.
📢 Alerts and Visuals:
Real-time alerts ensure you never miss critical signals.
Labels and lines mark CDL, CDS, LD, and SD levels for easy chart interpretation.
Active Ranges Detector
1. Purpose
The script identifies and manages bar ranges, which are defined as bars where the high and low prices are fully contained within the high and low of the previous bar. These ranges are used by traders to identify potential breakouts and price consolidations.
2. Key Features
Active Range Validation
A potential range becomes an active range when the price breaks out of the bar’s high or low. The breakout direction is tracked:
• Upward breakout: When the price closes above the high of the range.
• Downward breakout: When the price closes below the low of the range.
The script creates:
• Lines to represent the high and low of the range.
• A colored background box to indicate the range, with color coded for breakout direction:
• Green: Upward breakout.
• Orange: Downward breakout.
Range Updates
• Exit Detection: The script detects if the price exits the range (moves outside the high or low levels).
• Reintegration and Mitigation:
• If the price re-enters an exited range, it marks the range as “mitigated.”
• The lines for mitigated ranges are updated (color and width are changed).
• The background box is removed for mitigated ranges.
3. User Inputs
The script provides customization options:
• Breakout Colors:
• upBreakoutColor: Background color for upward breakout ranges (default: semi-transparent green).
• downBreakoutColor: Background color for downward breakout ranges (default: semi-transparent orange).
• Mitigated Range Styling:
• mitigatedLineColor: Line color for mitigated ranges (default: red).
• mitigatedLineWidth: Width of the line for mitigated ranges.
• Line and Background Settings:
• activeLineWidth: Width of lines for active ranges.
• lineExtension: Length of line extensions beyond the range’s initial boundaries.
• Range Display Limits:
• maxActiveRanges: Maximum number of active ranges to display on the chart (default: up to 200).
4. Visualization
The script provides clear visual feedback for identified ranges:
• Lines: High and low levels of the range are drawn as lines on the chart.
• Background Boxes: Colored boxes are drawn to represent active ranges, with breakout direction indicated by the box’s color.
• Mitigation Styling: Mitigated ranges have updated line styles and no background.
5. Range Management
The script actively manages ranges:
• Tracks the status of each range (active, exited, reintegrated, mitigated).
• Limits the number of displayed ranges to improve chart readability and comply with TradingView’s object limits.
6. Use Case
This script is ideal for traders who:
• Use inside bars to identify areas of consolidation and breakout opportunities.
• Want to track active and mitigated ranges automatically.
• Need a clear, visual representation of ranges and breakout directions.
7. Limitations
• Inside bars are identified based only on the current and previous bar, so the script might not detect more complex consolidation patterns.
• The maximum number of ranges displayed is limited to the user-defined value (maxActiveRanges), with a hard limit of 200 due to TradingView’s object restrictions.
Support and Resistance Zones (MTF)Support and Resistance Zones (MTF) is a multi-timeframe indicator that identifies support and resistance zones and is highly customizable for precise market analysis. Users can adjust various inputs to adapt the zones to price action, highlighting the most significant and probable zones.
█ USAGE & KEY FEAUTURES
1. Look Back Bars: This setting defines the maximum number of bars that can display a zone, removing old ones that are no longer significant. For example, in the 4-hour FX:GBPUSD chart below, only zones from the last 1000 bars are plotted. This helps reduce noise and eliminate unnecessary zones that could lead to incorrect market analysis.
2. Ranging Periods: On lower timeframes, such as a 1-minute chart, overplotting can become more problematic. As shown in the image below, there are many insignificant zones when the market trends upwards. In such cases, retaining zones only where the market is ranging helps identify potential reversal points and entry opportunities.
By focusing on the last 400 bars in a ranging phase, the market structure and key support and resistance areas become clearer, aiding in potential trade setups. Additionally, the " Plot Zone Touches " feature shows where and how many times each zone has been touched, emphasizing zones with multiple price respects.
In fact, users can remove zones of a specific length that have fewer touches than a set amount (" Minimum Zone Touches "). This feature helps eliminate unnecessary zones from the chart.
3. Plotting Zone Breakouts: Zones can be plotted with breakouts labels and even deleted if broken more than a specified number of times enabling the " Cut On Breakouts " feature. For example, zones broken more than two times and by more than two consecutive bars were removed in the image below. The " Breakout Consecutive Bars " setting helps identify fakeouts by allowing the user to set how many consecutive bars must break the zone to define a breakout.
4. Wick Cleaner: This feature deletes zones formed above or below a wick percentage level, depending on whether it is a support or resistance zone. Without this input, charts could have zones formed from long wicks, as shown below.
5. Other User Inputs:
• Delete Overlapped Zones: Removes zones with a specific percentage of their body inside another zone. If this number is negative, zones that are too close to each other will be deleted.
• Change Color On Breakouts: Changes the zone color when the price is above or below it.
• ATR Multiplier: Adjusts the zone width.
█ CONCLUSION
The primary objective of this indicator is to plot key support and resistance zones while minimizing noise from unnecessary zones. As mentioned at the beginning, this indicator is highly customizable, so feel free to experiment with different settings to optimize its performance.
█ IMPORTANT
This indicator is currently not available for multi-timeframe (MTF) market analysis but will be in the near future.
Stay tuned, and I hope you like it. Please share any comments below. Have a great trading experience!
Volume Status by BobRivera990This indicator is a tool that shows a relative view of the trading volume and classifies the volume into 5 different levels and makes it easy to compare it in different periods.
It is also specifically designed for detecting failed (fake) breakouts.
How it works?
This tool uses something similar to Bollinger Bands , but with more bands.
I used two standard deviations (positive and negative) on either side of a simple moving average ( SMA ) of the trading volume .
I also used twice the standard deviation (negative and positive) on either side of the SMA to create more bands.
The classification is made as follows:
Usage:
This indicator is a tool to compare the volume , relatively and in different periods. It is also a good tool for detecting failed (fake) breakouts.
Fake Breakouts Occurs when a support or resistance is broken but the market does not accept and support these price changes. This lack of support will cause trading volume to decrease during or after the breakout.
So, if the indicator shows Low-Volume or Minor-Volume status at the time of the breakout or right after that, it may be a fake breakout.
The truth is you cannot avoid false breakouts completely as long as you trade breakouts but you can minimize the risk and the loss.
Thank you all for forming this unique community.
Parameters:
" Volume SMA Length " => The length of the simple moving average of the Volume
Liquidity and S&R Zones╔══════════════════════════════════════════════════════════════════════╗
║ Description ║
╚══════════════════════════════════════════════════════════════════════╝
This indicator identifies liquidity zones and support/resistance (S&R) levels
using pivot points and volume analysis. Liquidity zones highlight areas of high
trading activity, while S&R levels mark key price levels where price may reverse
or break. Breakouts are confirmed with a volume oscillator and visualized with
shapes. Alerts are provided for significant S&R breakouts.
╔══════════════════════════════════════════════════════════════════════╗
║ User Guide ║
╚══════════════════════════════════════════════════════════════════════╝
#### Overview
This indicator detects liquidity zones and support/resistance (S&R) levels
using pivot points and volume analysis. Liquidity zones highlight areas of
high trading activity, often targeted by institutional traders. S&R levels
indicate key price levels where price may reverse or break, with breakouts
confirmed by a volume oscillator. The indicator is designed for traders
seeking to trade breakouts or reversals at critical levels.
#### Features
- **Liquidity Zones**: Identifies pivot highs/lows with high-volume confirmation.
- **Support/Resistance Levels**: Plots dynamic S&R lines based on pivot points.
- **Breakout Signals**: Displays shapes for price crossing S&R levels with volume confirmation.
- **Volume Oscillator**: Uses short/long EMA difference to confirm breakouts.
- **Alerts**: Notifies users of support/resistance breakouts.
#### Input Parameters
- **Liquidity Settings**:
- *Liquidity Lookback Period*: Bars for average volume (default: 50).
- *Liquidity Volume Threshold Multiplier*: Volume multiplier for liquidity zones (default: 1.5).
- *Liquidity Pivot Lookback*: Bars for pivot detection (default: 5).
- **S&R Settings**:
- *Show Breaks*: Toggle breakout shapes (default: true).
- *Left/Right Bars*: Bars for S&R pivot detection (default: 15).
- *S&R Volume Threshold*: Minimum oscillator value for breakouts (default: 20).
- **Style Settings**: Predefined colors for liquidity and S&R visualization.
#### Usage
1. Apply the indicator to a chart (e.g., 1H, 4H, or D timeframes recommended).
2. Adjust input parameters to suit the instrument and timeframe:
- Increase `liqLookback` for smoother volume averages on lower timeframes.
- Adjust `leftBars` and `rightBars` for more/less sensitive S&R levels.
- Set `srVolumeThresh` based on typical oscillator values (plot `osc` to calibrate).
3. Monitor liquidity zones (red/green/yellow crosses) and S&R lines (red/green).
4. Watch for breakout signals (shapes) when price crosses S&R levels with volume confirmation.
5. Set up alerts for "Support Broken" or "Resistance Broken" to receive notifications.
#### Recommended Settings
- **Timeframes**: 1H, 4H, or D for reliable signals.
- **Instruments**: Assets with good volume (e.g., crypto, forex, indices).
- **Liquidity**: Increase `liqVolumeThreshold` (e.g., 2.0) for stricter zones.
- **S&R**: Use `leftBars = rightBars = 10` for faster markets.
#### Cautions
- Ensure sufficient chart history for pivot and volume calculations.
- High `liqLookback` or `leftBars` may delay signals on lower timeframes.
- Volume oscillator requires accurate volume data; test on reliable instruments.
- Backtest breakout signals, as false breakouts can occur in choppy markets.
#### Customization Ideas
- Add Fibonacci levels to complement S&R zones.
- Integrate with trend indicators (e.g., EMA) to filter breakouts.
- Visualize volume oscillator as a histogram for calibration.
- Extend liquidity zones with boxes to highlight price ranges.
#### Notes
- Combine with other analysis for a complete trading system.
- Test thoroughly in a demo account before live trading.
- Contact the author for support or feature requests.
Happy trading, and may your trades align with the market’s key levels! 🚀
Volume-RSI Colored Bars
The Volume Indicator, used in conjunction with the embedded Relative Strength Index (RSI), is a powerful tool for making informed trading decisions. Let’s break down how this indicator works and how it can assist you in your trading strategy.
Volume Indicator:
The Volume Indicator tracks the volume of trades occurring in a specific timeframe. Volume shows the number of shares or contracts traded, which can reveal the strength of a price move. If price is moving higher with increasing volume, it generally confirms that the move has more strength, indicating the potential for continuation. Conversely, if the price is moving lower with increasing volume, it indicates strong bearish momentum.
Volume Clusters:
In the chart, we can see various volume clusters highlighted in green, red, and grey. The green bars represent high volume, which can signal strong buying pressure. The red bars represent low volume, signaling that selling pressure is low. Grey bars indicate average volume.
High Volume (Green Bars): High buying pressure, indicating that there may be a strong move in the direction of the price.
Low Volume (Red Bars): Potential signal for a weak move, indicating a lack of participation in the current trend.
RSI (Relative Strength Index):
RSI is a momentum oscillator that indicates whether a market is overbought or oversold. The RSI ranges from 0 to 100, with readings above 70 suggesting an overbought market and readings below 30 suggesting an oversold market.
The RSI is also embedded in the indicator to give a better context when combined with volume. It adds an extra layer of analysis to interpret the price action.
How to Use Volume Indicator with RSI:
Confirming Breakouts:
If you see a breakout in price (an upward movement or downward movement) and the volume indicator shows high volume, this confirms the strength of the breakout.
If the RSI also supports the breakout (for example, it is crossing above 50 or above 70 for an uptrend), it further validates the trade.
Identifying Reversals:
When the price is reaching overbought or oversold levels (RSI above 70 or below 30) and there is low volume (red bars), this may indicate a potential reversal.
If the price is oversold and RSI shows values below 30 with increasing volume (green bars), this could signal a potential buying opportunity as a reversal might occur.
Volume Divergence:
If the price is making new highs, but the volume is declining (red bars), it may signal weakness in the trend, despite the RSI indicating strength. This divergence can help traders anticipate a potential reversal or breakout.
Example from the Chart:
Strong Buy Signal: The price is making an upward movement, the volume bars are turning green (indicating strong buying pressure), and RSI is rising above 50.
Bearish Divergence: You may see RSI moving higher, but volume bars are turning red (indicating weak momentum). This could signal that the upward movement lacks strength, suggesting a potential reversal.
By combining these two indicators, the Volume Indicator and the RSI, traders can make more informed decisions on whether the current trend is sustainable, or if a reversal or breakout is likely.
In conclusion, using the Volume Indicator and RSI together allows for:
Identifying high-volume breakouts and reversals
Filtering out weak price movements
Confirming trends with volume and momentum
This combination enhances trading strategies by providing clear signals of market strength or weakness, helping traders optimize their entry and exit points effectively.
Eze Profit Range Detection FilterThe Range Detection Filter is a technical analysis tool designed to help traders identify range-bound market conditions and focus on breakout opportunities. It combines the ATR (Average True Range) for volatility analysis and the ADX (Average Directional Index) for trend strength evaluation to highlight consolidation phases and alert traders when the market is ready to break out.
This indicator provides visual cues and customizable alerts, making it suitable for traders looking to avoid false signals during choppy markets and capitalize on trending moves following a breakout.
What Makes It Unique?
ATR for Volatility:
Measures market volatility by comparing ATR with its moving average.
Consolidation phases are flagged when ATR remains below its moving average for a sustained period.
ADX for Trend Strength:
Monitors trend strength, confirming range-bound conditions when ADX falls below a user-defined threshold (default: 20).
Combines with ATR to ensure accurate detection of trendless periods.
Breakout Alerts:
Notifies traders of breakout opportunities when the price moves outside the highest high or lowest low of the range.
How It Works:
Range Detection:
The market is considered "in range" when:
ATR is below its moving average, indicating low volatility.
ADX is below the threshold, confirming a lack of trend strength.
Visual Indication:
A yellow background highlights range-bound conditions, allowing traders to avoid low-probability trades.
Breakout Detection:
Alerts are triggered for breakouts above or below the range to help traders identify potential opportunities.
Features:
Range Highlighting:
Automatically detects and highlights range-bound markets using a yellow background.
Breakout Alerts:
Sends alerts for breakouts above or below the range once the market exits consolidation.
Customizable Inputs:
ATR length, moving average length, and ADX parameters are fully adjustable to adapt to various trading styles and asset classes.
Multi-Timeframe Compatibility:
Suitable for all markets and timeframes, including stocks, forex, and cryptocurrencies.
How to Use:
Identify Ranges:
Avoid trading when the yellow background appears, signaling a range-bound market.
Focus on Breakouts:
Look for alerts indicating breakouts above or below the range for potential trending opportunities.
Combine with Other Indicators:
Use volume analysis, momentum oscillators, or candlestick patterns to confirm breakout signals.
Credits:
This script utilizes widely accepted methodologies for ATR and ADX calculations. ADX is calculated manually using directional movement (+DI and -DI) for precise trend detection. The concept has been adapted and enhanced to create this comprehensive range-detection tool.
Notes:
This indicator is intended for educational purposes and should not be used as standalone financial advice.
Always incorporate this tool into a broader trading strategy for optimal results.
Historical Price Levels: Week, Month, QuarterDescription:
The Historical Highs and Lows: Weekly, Monthly, Quarterly Levels indicator is designed to mark significant price levels based on the highest and lowest prices within specific historical time periods. This indicator provides insights into key price points from multiple timeframes: weekly, monthly, and quarterly. It is ideal for traders who want to monitor and analyze the critical support and resistance levels that may influence price movement.
This indicator draws horizontal lines from the highest and lowest price points of past weeks, months, and quarters, extending 10 candles into the future from these critical price levels. The indicator also provides labels to mark each of these levels, making it easy to identify important turning points in the price chart.
Key Features:
Historical Highs and Lows: The indicator marks the highest and lowest prices for each specified period—weekly, monthly, and quarterly—up to the last closed week, month, or quarter.
Dynamic Lines: The lines are drawn from the historical high/low points and extended to the right by 10 candles, representing potential future price levels of interest.
Labels: The indicator provides labels such as "Week X High", "Month X Low", and "Quarter X High", placed on the right side of the chart to highlight each significant level.
Customizable: Users can adjust the appearance of the lines, including the line style and color, to match their preferences.
Multi-Timeframe Support: The indicator works across all timeframes, ensuring that users can view relevant historical levels regardless of their chart's resolution.
How to Use:
Support and Resistance: The high and low levels marked by this indicator can act as key support and resistance zones. Price action may reverse when it approaches these levels, as they represent significant price points where the market has reversed in the past.
Reversal Points: Price often reacts strongly when it reaches these historical highs or lows. Traders can use these levels to anticipate potential reversals or breakouts.
Market Analysis: By identifying the key high and low points of different timeframes, traders can gain a deeper understanding of the market’s past behavior and use this information to make more informed trading decisions.
Usage Strategy:
Price Reversals: When price approaches one of the historical high or low levels, watch for signs of reversal, such as candlestick patterns (e.g., Doji, Engulfing) or other technical indicators (e.g., RSI, MACD). These levels often act as strong barriers, and price can reverse at these points.
Breakouts: If the price breaks through these levels, it could signal the beginning of a new trend. For example, a breakout above a historical high may suggest bullish momentum, while a breakdown below a historical low may indicate a bearish trend.
Conclusion:
The Historical Highs and Lows: Weekly, Monthly, Quarterly Levels indicator is a powerful tool for traders looking to understand and monitor key price levels. By identifying significant price points from multiple timeframes, traders can use this information to predict potential price reversals or breakouts. Given the nature of these levels, price often reacts near them, providing valuable opportunities for entry and exit points.
Bollinger Band Squeeze with Dotted MidlinesBollinger Band Squeeze with Dotted Midlines
Overview:
The Bollinger Band Squeeze with Dotted Midlines indicator is a powerful tool designed to identify periods of low volatility in the market, known as "squeeze" conditions, which often precede significant price movements. By combining Bollinger Bands and Keltner Channels, this indicator highlights when the market is consolidating and prepares traders for potential breakouts.
Key Features:
• Squeeze Detection: The indicator fills the area between the Bollinger Bands and Keltner Channels with a semi-transparent red color when both the upper and lower Bollinger Bands are within the Keltner Channels. This visual cue signifies a squeeze condition.
• Dynamic Color Filling: When the Bollinger Bands move outside the Keltner Channels, the fill color changes to a semi-transparent white, indicating the end of the squeeze and the potential start of increased volatility.
• Enhanced Visual Clarity:
o Upper and Lower Bands: The upper and lower lines of both the Bollinger Bands and Keltner Channels are plotted with increased thickness (3pt) for better visibility.
o Midlines with Dotted Effect: The middle lines (50% lines) for both the Bollinger Bands and Keltner Channels are plotted as dotted lines using circles with a thinner line width (1pt), providing a clear yet unobtrusive reference point.
Indicator Components:
1. Bollinger Bands (Orange Lines):
o Upper Bollinger Band: Calculated as the moving average plus a multiple of the standard deviation.
o Lower Bollinger Band: Calculated as the moving average minus a multiple of the standard deviation.
o Middle Bollinger Band: The simple moving average (SMA) of the closing price.
2. Keltner Channels (White Lines):
o Upper Keltner Channel: Calculated as the exponential moving average (EMA) plus a multiple of the average true range (ATR).
o Lower Keltner Channel: Calculated as the EMA minus a multiple of the ATR.
o Middle Keltner Channel: The EMA of the closing price.
3. Squeeze Condition Fill:
o Red Fill (40% Opacity): Indicates a squeeze condition where the Bollinger Bands are entirely within the Keltner Channels.
o White Fill (40% Opacity): Indicates normal market conditions where the Bollinger Bands have moved outside the Keltner Channels.
How to Use:
1. Identifying Squeeze Conditions:
o Look for Red Filled Areas: When you see the area between the Bollinger Bands and Keltner Channels filled in semi-transparent red, it signals a squeeze condition. This means the market is experiencing low volatility and may be preparing for a significant move.
2. Preparing for Potential Breakouts:
o Monitor for Fill Color Changes: A transition from red to white fill suggests that the squeeze is ending, and volatility is increasing. Traders often interpret this as a potential opportunity for a breakout in either direction.
3. Utilizing Midlines:
o Reference Midlines for Trend Direction: The dotted midlines provide insight into the overall trend. Crossing of the price above or below these lines can offer additional confirmation for trading decisions.
Customization Options:
• Bollinger Bands Settings:
o Length: Default is 20 periods. Adjust to change the sensitivity of the bands.
o Multiplier: Default is 2.0. Modify to increase or decrease the band width based on standard deviation.
• Keltner Channels Settings:
o Length: Default is 20 periods. Alter to adjust the responsiveness of the channels.
o Multiplier: Default is 1.5. Change to widen or narrow the channels based on average true range.
Advantages:
• Visual Clarity: Enhanced line thickness and semi-transparent fills make it easy to spot key market conditions at a glance.
• Early Warning System: By identifying squeeze conditions, traders can anticipate potential breakouts and plan their strategies accordingly.
• Flexible Application: Suitable for various timeframes and trading styles, including day trading, swing trading, and position trading.
Limitations:
• False Signals: Like all technical indicators, it may produce false signals, especially in choppy or range-bound markets.
• Should Be Used with Other Indicators: For better accuracy, it's recommended to use this indicator in conjunction with other technical analysis tools and not as a standalone signal generator.
Conclusion:
The Bollinger Band Squeeze with Dotted Midlines indicator is a valuable addition to any trader's toolkit. By effectively highlighting periods of consolidation and potential breakout points, it aids in making informed trading decisions. The visual enhancements improve usability, allowing traders to quickly interpret market conditions and respond appropriately.
RBS | Profitholders Thanks for source code author , I have modified this for especially Indian market.
RBS Indicator is Rang Breakout System, This is same "Opening Range Breakout" which is a common trading strategy. The indicator can analyze the market trend in the current session and give "Buy / Sell", "Take Profit" and "Stop Loss" signals. For more information about the analyzing process of the indicator, you can read "How Does It Work ?" section of the description.
Features of RBS indicator :
Buy & Sell Signals
Up To 3 Take Profit Signals
Stop-Loss Signals
Alerts for Buy / Sell, Take-Profit and Stop-Loss
Session Dashboard
Back testing Dashboard
HOW DOES IT WORK ?
This indicator works best in 15-minute timeframe. Need to change Chart time frame depends on symbols , The idea is that the trend of the current session can be forecasted by analyzing the market for a while after the session starts. However, each market has it's own dynamics and the algorithm will need fine-tuning to get the best performance possible. So, we've implemented a "Back testing Dashboard" that shows the past performance of the algorithm in the current ticker with your current settings. Always keep in mind that past performance does not guarantee future results. So this is for educational purpose.
Here are the steps of the algorithm explained briefly :
1. The algorithm follows and analyzes the first 15 minutes (can be adjusted) of the session.
2. Then, algorithm checks for breakouts of the opening range's high or low.
3. If a breakout happens in a bullish or a bearish direction, the algorithm will now check for retests of the breakout. Depending on the sensitivity setting, there must be 0 / 1 / 2 / 3 failed retests for the breakout to be considered as reliable.
4. If the breakout is reliable, the algorithm will give an entry signal.
5. After the position entry, algorithm will now wait for Take-Profit or Stop-Loss zones and signal if any of them occur.
If you wonder how does the indicator find Take-Profit & Stop-Loss zones, you can check the "Settings" section of the description.
UNIQUENESS
While there are indicators that show the opening range of the session, they come short with features like indicating breakouts, entries, and Take-Profit & Stop-Loss zones. We are also aware of that different stock markets have different dynamics, and tuning the algorithm for different markets is really important for better results, so we decided to make the algorithm fully customizable. Besides all that, our indicator contains a detailed back testing dashboard, so you can see past performance of the algorithm in the current ticker. While past performance does not yield any guarantee for future results, we believe that a back testing dashboard is necessary for tuning the algorithm. Another strength of this indicator is that there are multiple options for detection of Take-Profit and Stop-Loss zones, which the trader can select one of their liking.
⚙️SETTINGS
Keep in mind that best chart timeframe for this indicator to work is the 15-minute timeframe on Indian Market.
TP = Take-Profit
SL = Stop-Loss
EMA = Exponential Moving Average
OR = Opening Range
ATR = Average True Range
1. Algorithm
RBS Timeframe -> This setting determines the timeframe that the algorithm will analyze the market after a new session begins before giving any signals. It's important to experiment with this setting and find the best option that suits the current ticker for the best performance. More volatile stocks will often require this setting to be larger, while more stabilized stocks may have this setting shorter.
Sensitivity -> This setting determines how much failed retests are needed to take a position entry. Higher sensitivity means that less retests are needed to consider the breakout as reliable. If you think that the current ticker makes strong movements in a bullish & bearish direction after a breakout, you should set this setting higher. If you think the opposite, meaning that the ticker does not decide the trend right after a breakout, this setting show be lower.
(High = 0 Retests, Medium = 1 Retest, Low = 2 Retests, Lowest = 3 Retests)
Breakout Condition -> The condition for the algorithm to detect breakouts.
Close = Bar needs to close higher than the OR High Line in a bullish breakout, or lower than the OR Low Line in a bearish breakout. EMA = The EMA of the bar must be higher / lower than OR Lines instead of the close price.
TP Method -> The method for the algorithm to use when determining TP zones.
Dynamic = This TP method essentially tries to find the bar that price starts declining the current trend and going to the other direction, and puts a TP zone there. To achieve this, it uses an EMA line, and when the close price of a bar crosses the EMA line, It's a TP spot.
ATR = In this TP method, instead of a dynamic approach the TP zones are pre-determined using the ATR of the entry bar. This option is generally for traders who just want to know their TP spots beforehand while trading. Selecting this option will also show TP zones at the ORB Dashboard.
"Dynamic" option generally performs better, while the "ATR" method is safer to use.
EMA Length -> This setting determines the length of the EMA line used in "Dynamic TP method" and "EMA Breakout Condition". This is completely up to the trader's choice, though the default option should generally perform well. You might want to experiment with this setting and find the optimal length for the current ticker.
Stop-Loss -> Algorithm will place the Stop-Loss zone using setting.
Safer = The SL zone will be placed closer to the OR High for a bullish entry, and closer to the OR Low for a bearish entry.
Balanced = The SL zone will be placed in the center of OR High & OR Low
Risky = The SL zone will be placed closer to the OR Low for a bullish entry, and closer to the OR High for a bearish entry.
Adaptive SL -> This option only takes effect if the first TP zone is hit.
Enabled = After the 1st TP zone is hit, the SL zone will be moved to the entry price, essentially making the position risk-free.
Disabled = The SL zone will never change.
2. RBS Dashboard
RBS Dashboard shows the information about the current session.
3. RBS Back testing
RBS Back testing Dashboard allows you to see past performance of the algorithm in the current ticker with current settings.
Total amount of days that can be back tested depends on your TV subscription.
Back testing Exit Ratios -> You can select how much of percent your entry will be closed at any TP zone while back testing. For example, %90, %5, %5 means that %90 of the position will be closed at the first TP zone, %5 of it will be closed at the 2nd TP zone, and %5 of it will be closed at the last TP zone.
ORB Algo | Flux Charts💎 GENERAL OVERVIEW
Introducing our new ORB Algo indicator! ORB stands for "Opening Range Breakout" which is a common trading strategy. The indicator can analyze the market trend in the current session and give "Buy / Sell", "Take Profit" and "Stop Loss" signals. For more information about the analyzing process of the indicator, you can read "How Does It Work ?" section of the description.
Features of the new ORB Algo indicator :
Buy & Sell Signals
Up To 3 Take Profit Signals
Stop-Loss Signals
Alerts for Buy / Sell, Take-Profit and Stop-Loss
Customizable Algoritm
Session Dashboard
Backtesting Dashboard
📌 HOW DOES IT WORK ?
This indicator works best in 1-minute timeframe. The idea is that the trend of the current session can be forecasted by analyzing the market for a while after the session starts. However, each market has it's own dynamics and the algorithm will need fine-tuning to get the best performance possible. So, we've implemented a "Backtesting Dashboard" that shows the past performance of the algorithm in the current ticker with your current settings. Always keep in mind that past performance does not guarantee future results.
Here are the steps of the algorithm explained briefly :
1. The algorithm follows and analyzes the first 30 minutes (can be adjusted) of the session.
2. Then, algorithm checks for breakouts of the opening range's high or low.
3. If a breakout happens in a bullish or a bearish direction, the algorithm will now check for retests of the breakout. Depending on the sensitivity setting, there must be 0 / 1 / 2 / 3 failed retests for the breakout to be considered as reliable.
4. If the breakout is reliable, the algorithm will give an entry signal.
5. After the position entry, algorithm will now wait for Take-Profit or Stop-Loss zones and signal if any of them occur.
If you wonder how does the indicator find Take-Profit & Stop-Loss zones, you can check the "Settings" section of the description.
🚩UNIQUENESS
While there are indicators that show the opening range of the session, they come short with features like indicating breakouts, entries, and Take-Profit & Stop-Loss zones. We are also aware of that different stock markets have different dynamics, and tuning the algorithm for different markets is really important for better results, so we decided to make the algorithm fully customizable. Besides all that, our indicator contains a detailed backtesting dashboard, so you can see past performance of the algorithm in the current ticker. While past performance does not yield any guarantee for future results, we believe that a backtesting dashboard is necessary for tuning the algorithm. Another strength of this indicator is that there are multiple options for detection of Take-Profit and Stop-Loss zones, which the trader can select one of their liking.
⚙️SETTINGS
Keep in mind that best chart timeframe for this indicator to work is the 1-minute timeframe.
TP = Take-Profit
SL = Stop-Loss
EMA = Exponential Moving Average
OR = Opening Range
ATR = Average True Range
1. Algorithm
ORB Timeframe -> This setting determines the timeframe that the algorithm will analyze the market after a new session begins before giving any signals. It's important to experiment with this setting and find the best option that suits the current ticker for the best performance. More volatile stocks will often require this setting to be larger, while more stabilized stocks may have this setting shorter.
Sensitivity -> This setting determines how much failed retests are needed to take a position entry. Higher senstivity means that less retests are needed to consider the breakout as reliable. If you think that the current ticker makes strong movements in a bullish & bearish direction after a breakout, you should set this setting higher. If you think the opposite, meaning that the ticker does not decide the trend right after a breakout, this setting show be lower.
(High = 0 Retests, Medium = 1 Retest, Low = 2 Retests, Lowest = 3 Retests)
Breakout Condition -> The condition for the algorithm to detect breakouts.
Close = Bar needs to close higher than the OR High Line in a bullish breakout, or lower than the OR Low Line in a bearish breakout. EMA = The EMA of the bar must be higher / lower than OR Lines instead of the close price.
TP Method -> The method for the algorithm to use when determining TP zones.
Dynamic = This TP method essentially tries to find the bar that price starts declining the current trend and going to the other direction, and puts a TP zone there. To achieve this, it uses an EMA line, and when the close price of a bar crosses the EMA line, It's a TP spot.
ATR = In this TP method, instead of a dynamic approach the TP zones are pre-determined using the ATR of the entry bar. This option is generally for traders who just want to know their TP spots beforehand while trading. Selecting this option will also show TP zones at the ORB Dashboard.
"Dynamic" option generally performs better, while the "ATR" method is safer to use.
EMA Length -> This setting determines the length of the EMA line used in "Dynamic TP method" and "EMA Breakout Condition". This is completely up to the trader's choice, though the default option should generally perform well. You might want to experiment with this setting and find the optimal length for the current ticker.
Stop-Loss -> Algorithm will place the Stop-Loss zone using setting.
Safer = The SL zone will be placed closer to the OR High for a bullish entry, and closer to the OR Low for a bearish entry.
Balanced = The SL zone will be placed in the center of OR High & OR Low
Risky = The SL zone will be placed closer to the OR Low for a bullish entry, and closer to the OR High for a bearish entry.
Adaptive SL -> This option only takes effect if the first TP zone is hit.
Enabled = After the 1st TP zone is hit, the SL zone will be moved to the entry price, essentially making the position risk-free.
Disabled = The SL zone will never change.
2. ORB Dashboard
ORB Dashboard shows the information about the current session.
3. ORB Backtesting
ORB Backtesting Dashboard allows you to see past performance of the algorithm in the current ticker with current settings.
Total amount of days that can be backtested depends on your TV subscription.
Backtesting Exit Ratios -> You can select how much of percent your entry will be closed at any TP zone while backtesting. For example, %90, %5, %5 means that %90 of the position will be closed at the first TP zone, %5 of it will be closed at the 2nd TP zone, and %5 of it will be closed at the last TP zone.
BreakoutTrendFollowingINFO:
The "BreakoutTrendFollowing" indicator is a comprehensive trading system designed for trend-following in various market environments. It combines multiple technical indicators, including Moving Averages (MA), MACD, and RSI,
along with volume analysis and breakout detection from consolidation, to identify potential entry points in trending markets. This strategy is particularly effective for assets that exhibit strong trends and significant price movements.
Note that using the consolidation filter reduces the amount of entries the strategy detects significantly, and needs to be used if we want to have an increased confidence in the trend via breakout.
However, the strategy can be easily transformed to various only trend-following strategies, by applying different filters and configurations.
The indicator can be used to connect to the Signal input of the TTS (TempalteTradingStrategy) by jason5480 in order to backtest it, thus effectively turning it into a strategy (instructions below in TTS CONNECTIVITY section)
DETAILS:
The strategy's core is built upon several key components:
Moving Average (MA): Used to determine the general trend direction. The strategy checks if the price is above the selected MA type and length.
MACD Filter: Analyzes the relationship between two moving averages to confirm the trend's momentum.
Consolidation Detection: Identifies periods of price consolidation and triggers trades on breakouts from these ranges.
Volume Analysis: Assesses trading volume to confirm the strength and validity of the breakout.
RSI: Used to avoid overbought conditions, ensuring trades are entered in favorable market situations.
Wick filters: make sure there is not a long wick that indicates selling pressure from above
The strategy generates buy signals when several conditions are met concurrently (each one of them can be individually enabled/disabled)"
The price is above the selected MA.
A breakout occurs from a configurable consolidation range.
The MACD line is above the signal line, indicating bullish momentum.
The RSI is below the overbought threshold.
There's an increase in trading volume, confirming the breakout's strength.
Currently the strategy fires SL signals, as the approach is to check for loss of momentum - i.e. crossunder of the MACD line and signal line, but that is to everyone to determine the exit conditions.
The buy and SL signals are set on the chart using green or orange triangles on the below/above the price action.
SETTINGS:
Users can customize various parameters, including MA type and period, MACD settings, consolidation length, and volume increase percentage. The strategy is equipped with alert conditions for both entry (buy signals) and exit (set stop loss) points, facilitating both manual and automated trading.
Each one of the technical indicators, as well as the consilidation range and breakout/wick settings can be configured and enabled/disabled individually.
Please thoroughly review the available settings of the script, but here is an outline of the most important ones:
Use bar wicks (instead of open/close) - the ref_high/low will be taken based on the bar wicks, rather than the open/close when determining the breakout and MA
Enter position only on green candles - additional filters to make sure that we enter only on strong momentum
MA Filter: (enable, source, type, length) - general settings for MA filter to be checked against the stock price (close or upper wick)
MACD Filter: (enable, source, Osc MA type, Signal MA type, Fast MA length, Slow MA length, Low MACD Hist) - detailed settings for fine MACD tuning
Consolidation:
Consolidation Type: we have two different ways of detecting the consolidation, note the types below.
CONSOLIDATION_BASIC - consolidation areas by looking for the pivot point of a trend and counts the number of bars that have not broken the consolidation high/low levels.
CONSOLIDATIO_RANGE_PERCENT - identifies consolidation by comparing the range between the highest and lowest price points over a specified period.
So in summary the CONSOLIDATIO_RANGE_PERCENT uses a percentage-based range to define consolidation, while CONSOLIDATION_BASIC uses a count of bars within a high-low range to establish consolidation.
Thus the former is more focused on the tightness of the price range, whereas the latter emphasizes the duration of the consolidation phase.
The CONSOLIDATIO_RANGE_PERCENT might be more sensitive to recent price movements and suitable for shorter-term analysis, while CONSOLIDATION_BASIC could be better for identifying longer-term consolidation patterns.
Min consolidation length - applicable for CONSOLIDATION_BASIC case, the min number of bars for the price to be in the range to consider consolidation
Consolidation Loopback period - applicable for CONSOLIDATION_BASIC case, the loopback number of bars to look for consolidation
Consolidation Range percent - applicable for CONSOLIDATIO_RANGE_PERCENT, the percent between the high and low in the range to consider consolidation
Plot consolidation - enables plotting of the consolidation (only for debug purposes)
Breakout: (enable, low, high) - the definition of the breakout from the previous consolidation range, the price should be between to determine the breakout as successfull
Upper wick: (enable, percent) - defines the percent of the upper wick compared to the whole candle to allow breakout (if the wick is too big part of the candle we can consider entering the position riskier)
RSI: (enable, length, overbought) - general settings for RSI TA
Volume (enbale, percentage increase, average volume filter en, loopback bars) - percentage of increase of the volume to consider for a breakout. There are two modes - percentage increase compared to the previous bar, or percentage against the average volume for the last loopback bars.
Note that there are many different configuration that you can play with, and I believe this is the strength of the strategy, as it can provide a single solution for different cases and scenarios.
My advice is to try and play with the different options for different markets based on the approach you want to implement and try turning features on/off and tuning them further.
TTS SETTINGS (NEEDED IF USED TO BACKTEST WITH TTS):
The TempalteTradingStrategy is a strategy script developed in Pine by jason5480, which I recommend for quick turn-around of testing different ideas on a proven and tested framework
I cannot give enough credit to the developer for the efforts put in building of the infrastructure, so I advice everyone that wants to use it first to get familiar with the concept and by checking
by checking jason5480's profile www.tradingview.com
The TTS itself is extremely functional and have a lot of properties, so its functionality is beyond the scope of the current script -
Again, I strongly recommend to be thoroughly explored by everyone that plans on using it.
In the nutshell it is a script that can be feed with buy/sell signals from an external indicator script and based on many configuration options it can determine how to execute the trades.
The TTS has many settings that can be applied, so below I will cover only the ones that differ from the default ones, at least according to my testing - do your own research, you may find something even better :)
The current/latest version that I've been using as of writing and testing this script is TTSv48
Settings which differ from the default ones:
Deal Conditions Mode - External (take enter/exit conditions from an external script)
🔌Signal 🛈➡ - BreakoutTrendFollowing: 🔌Signal to TTS (this is the output from the indicator script, according to the TTS convention)
Order Type - STOP (perform stop order)
Distance Method - HHLL (HigherHighLowerLow - in order to set the SL according to the strategy definition from above)
The next are just personal preferences, you can feel free to experiment according to your trading style
Take Profit Targets - 0 (either 100% in or out, no incremental stepping in or out of positions)
Dist Mul|Len Long/Short- 10 (make sure that we don't close on profitable trades by any reason)
Quantity Method - EQUITY (personal backtesting preference is to consider each backtest as a separate portfolio, so determine the position size by 100% of the allocated equity size)
Equity % - 100 (note above)
Pristine Value Areas & MGIThe Pristine Value Areas indicator enables users to perform comprehensive technical analysis through the lens of the market profile in a fraction of the time! 🏆
A Market Profile is a charting technique devised by J. Peter Steidlmayer, a trader at the Chicago Board of Trade (CBOT), in the 1980's. He created it to gain a deeper understanding of market behavior and to analyze the auction process in financial markets. A market profile is used to analyze an auction using price, volume, and time to create a distribution-based view of trading activity. It organizes market data into a bell-curve-like structure, which reveals areas of value, balance, and imbalance.
💠 How is a Value Area Calculated?
A value area is a distribution of 68%-70% of the trading volume over a specific time interval, which represents one standard deviation above and below the point of control, which is the most highly traded level over that period.
The key reference points are as follows:
Value area low (VAL) - The lower boundary of a value area
Value area high (VAH) - The upper boundary of a value area
Point of Control (POC) - The price level at which the highest amount of a trading period's volume occurred
If we take the probability distribution of trading activity and flip it 90 degrees, the result is our Pristine Value Area!
Market Profile is our preferred method of technical analysis at Pristine Capital because it provides an objective and repeatable assessment of whether an asset is being accumulated or distributed by institutional investors. Market Profile levels work remarkably well for identifying areas of interest, because so many institutional trading algorithms have been programmed to use these levels since the 1980's!
The benefits of using Market Profile include better trade location, improved risk management, and enhanced market context. It helps traders differentiate between trending and consolidating markets, identify high-probability trade setups, and adjust their strategies based on whether the market is in balance (consolidation) or imbalance (trending). Unlike traditional indicators that rely on past price movements, Market Profile provides real-time insights into trader behavior, giving an edge to those who can interpret its nuances effectively.
Virgin Point of Control (VPOC) - A point of control from a previous time period that has not yet been revisited in subsequent periods. VPOCs are great for identifying prior supply or demand zones.
Below is a great example of price reversing lower after taking out an upside VPOC
💠 Are all POCs Created Equal?
If POCs are used to gauge supply & demand zones at key levels, then a POC with higher volume should be viewed as more significant than a POC that traded lower volume, right? We created Golden POCs as a tool to identify high volume POCs on all timeframes.
Golden POC (GPOC) - A POC that traded the highest volume compared to prior POCs (proprietary to Pristine Capital)
We calculate value areas for the following time intervals based on the user selected timeframe:
5 Minute and 15 Minute Timeframes -> Daily Value Area
The daily value area paints the distribution of the PRIOR session's trading activity. The "d" in the label references for VAHd, POCd and VALd is a visual cue that value area shown is daily.
1 Hour Timeframe -> Weekly Value Area
The weekly value area paints the distribution of the PRIOR week's trading activity. The "w" in the label references for VAHw, POCw and VALw is a visual cue that value area shown is weekly.
1 Day Timeframe -> Monthly Value Area
The monthly value area paints the distribution of the PRIOR month's trading activity. The "m" in the label references for VAHm, POCm and VALm is a visual cue that value area shown is monthly.
1 Week Timeframe -> Yearly Value Area
The yearly value area paints the distribution of the PRIOR year's trading activity. The "y" in the label references for VAHy, POCy and VALy is a visual cue that value area shown is yearly.
💠 What is a developing value area?
The developing value area provides insight into the upcoming value area while it is still forming! It appears when 80% of the way through the current value area. As the end of a trading period approaches, it can make sense to start trading off the developing value area. When the time period flips, the developing value area becomes the active value area!
💠 Value Areas Trading Setups
Two popular market profile concepts are the bullish and bearish 80% rules. The concept is that there is an 80% probability that the market will traverse the entire relevant value area.
Bullish 80% Rule - If a security opens a period below the value area low , and subsequently closes above it, the bullish 80% rule triggers, turning the value area green. One can trade for a move to the top of the value area, using a close below the value area low as a potential stop!
In the below example, HOOD triggered the bullish 80% rule after it reclaimed the monthly value area!
HOOD proceeded to rally through the monthly value area and beyond in subsequent trading sessions. Finding the first stocks to trigger the bullish 80% rule after a market correction is key for spotting the next market leaders!
Bearish 80% Rule - If a security opens a period above the value area high , and subsequently closes below it, the bearish 80% rule triggers, turning the value area red. One can trade for a move to the bottom of the value area, using a close above the value area high as a potential stop!
ES proceeded to follow through and test the value area low before trending below the weekly value area
Value Area Breakouts - When a security is inside of value, the auction is in balance. When it breaks out from a value area, it could be entering a period of price discovery. One can trade these breaks out of value with tight risk control by setting a stop inside the value area! These breakouts can be traded on all chart timeframes depending on the timeframe of the individual trader. Combining multiple timeframes can result in even more effective trading setups.
RBLX broke out from the monthly value area on 4/22/25👇
RBLX proceeded to rally +62.78% in 39 trading sessions following the monthly VAH breakout!
💠 Market Generated Information to Improve Your Situational Awareness!
In addition to the value areas, we've also included stat tables with useful market generated information. The stats displayed vary based on the timeframe the user has up on their screen. This incentivizes traders to check the chart on multiple timeframes before taking a trade!
Metrics Grouped By Use Case
Performance
▪ YTD α - YTD Alpha (α) measures the risk-adjusted, excess return of a security over its user defined benchmark, on a year-to-date basis.
▪ MTD α - MTD Alpha (α) measures the risk-adjusted, excess return of a security over its user defined benchmark, on a month-to-date basis.
▪ WTD α - WTD Alpha (α) measures the risk-adjusted, excess return of a security over its user defined benchmark, on a week-to-date basis.
▪ YTD %Δ - Year-to-date percent change in price
▪ MTD %Δ - Month-to-date percent change in price
▪ WTD %Δ - Week-to-date percent change in price
Volatility
▪ ATR % - The Average True Range (ATR) expressed as a percentage of an asset's price.
▪ Beta - Measures the price volatility of a security compared to the S&P 500 over the prior 5 years (since inception if 5 years of data is not available)
Risk Analysis
▪ LODx - Low-of-day extension - ATR % multiple from the low of day (measures how extended a stock is from its low of day)
▪ MAx - Moving average extension - ATR % multiple from the user-defined moving average (measures how extended a security is from its moving average). Default moving average = 50D SMA
Why does MAx matter?
MAx measures the number of ATR % multiples a security is trading away from a key moving average. The default moving average length is 50 days.
MAx can be used to identify mean reversion trades . When a security trends strongly in one direction and moves significantly above or below its moving average, the price often tends to revert back toward the average.
Example, if the ATR % of the security is 5%, and the stock is trading 50% higher than the 50D SMA, the MAx would be 50%/5% = 10. A user might opt to take a countertrend trade when the MAx exceeds a predetermined level.
The MAx can also be useful when trading breakouts above or below the key moving average of your choosing. The lower the MAx, the tighter stop loss one can take if trading against that level.
Identifying an extreme price extension using MAx 👇
Price mean reverted immediately following the high MAx 👇
💠 Trend Analysis
The Trend Analysis section consists of short-term and long-term stage analysis data as well as the value area timeframe and price in relation to the value area.
Stage Analysis
▪ ST ⇅ - Short-term stage analysis indicator
▪ LT ⇅ - Long-term stage analysis indicator
Short-term and long-term stage analysis data is provided in the two rightmost columns of each table. The columns are labeled ST ⇅ and LT ⇅.
Why is Stage Analysis important? Popularized by Stan Weinstein, stage analysis is a trend following system that classifies assets into four stages based on price-trend analysis.
The problem? The interpretation of stage analysis is highly subjective. Based on the methodology provided in Stan Weinstein’s books, five different traders could look at the same chart, and come to different conclusions as to which stage the security is in!
We solved for this by creating our own methodology for classifying stocks into stages using moving averages. This indicator automates that analysis, and produces short-term and long-term trend signals based on user-defined key moving averages. You won’t find this in any textbook or course, because it’s completely unique to the Pristine trading methodology.
Our indicator calculates a short-term trend signal using two moving averages; a fast moving average, and a slow moving average. We default to the 10D EMA as the fast moving average & the 20D SMA as the slow moving average. A trend signal is generated based on where price is currently trading with respect to the fast moving average and the slow moving average. We use the signal to guide shorter-term swing trades.
In general, we want to take long trades in stocks with strengthening trends, and short trades in stocks with weakening trends. The user is free to change the moving averages based on their own short-term timeframe. Every trader is unique!
The same process is applied to calculate the long-term trend signal. We default to the 50D SMA as our fast moving average, and the 200D SMA as the slow moving average for the LT ⇅ signal calculation, but users can change these to fit their own unique trading style.
What is Stage 1?
Stage 1 identifies stocks that transitioned from downtrends, into bottoming bases.
Stage 1A - Bottom Signal: Marks the first day a security shows initial signs of recovery after a downtrend, with early indications of strength emerging.👇
Stage 1B - Bottoming Process: Identifies the ongoing phase where the security continues to stabilize and strengthen, confirming the base-building process after the initial signal.👇
Stage 1R - Failed Uptrend: Detects when a security that had entered an early uptrend loses momentum and slips back into a bottoming phase, signaling a failed breakout.👇
What is Stage 2?
Stage 2 identifies stocks that transitioned from bottoming bases to uptrends.
Stage 2A - Breakout: Marks the first day a security decisively breaks out, signaling the start of a new uptrend.👇
Stage 2B - Uptrend: Identifies when the security continues to trade in an established uptrend following the initial breakout, with momentum building but not yet showing full strength.👇
Stage 2C - Strong Uptrend: Detects when the uptrend strengthens further, with the security displaying clear signs of accelerating strength and buying pressure.👇
Stage 2R - Failed Breakdown: Detects when a security that had recently entered a corrective phase reverses course and reclaims its upward trajectory, moving back into an uptrend.👇
What is Stage 3?
Stage 3 identifies stocks that transitioned from uptrends to topping bases.
Stage 3A - Top Signal: Marks the first day a security shows initial signs of weakness after an uptrend, indicating the start of a potential topping phase.👇
Stage 3B - Topping Process: Identifies the period following the initial signal when the security continues to show signs of distribution and potential trend exhaustion.👇
Stage 3R - Failed Breakdown: Detects when a security that had entered a deeper corrective phase reverses upward, recovering enough strength to re-enter the topping phase.👇
What is Stage 4?
Stage 4 identifies stocks that transitioned from topping bases to downtrends.
Stage 4A - Breakdown: Marks the first day a security decisively breaks below key support levels, signaling the start of a new downward trend.👇
Stage 4B - Downtrend: Identifies when the security continues to trend lower following the initial breakdown, with sustained bearish momentum, though not yet fully entrenched.👇
Stage 4C - Strong Downtrend: Detects when the downtrend intensifies, with the security displaying clear signs of accelerating weakness and selling pressure.👇
Stage 4R - Failed Bottom: Detects when a security that had begun to show early signs of bottoming reverses course and resumes its decline, falling back into a downtrend.👇
Stage N/A - Recent IPO: Applies to stocks that recently IPO’ed and don’t have enough data to calculate all necessary moving averages.
Value Area
In Trend Analysis, the value area information is helpful to gauge price in relation to the value area.
▪ VA(y) - Categorizes the security based on the relation of price to the yearly value area
▪ VA(m) - Categorizes the security based on the relation of price to the monthly value area
▪ VA(w) - Categorizes the security based on the relation of price to the weekly value area
Value area states:
▪ ABOVE = Price above the value area high
▪ BELOW = Price below the value area low
▪ INSIDE = Price inside the value area
▪ Bull 80% = Bullish 80% rule in effect
▪ Bear 80% rule = Bearish 80% rule in effect
For example, in the chart above, VA(m) - ABOVE indicates a monthly value area and price is above the VAH.
💠 What Makes This Indicator Unique
There are many value area indicators, however...
Value Area
▪ Golden POC (GPOC) - This is a proprietary concept.
▪ Unique Label Customization
Pristine value areas often comprehensive and unique label customizations. Styles include options to display any combination of the following on your labels:
• Price levels associated with market profile levels
• % distance of market profile levels from security price
• ATR% extension of market profile levels from security price
Multi-Timeframe Analysis
Based on the chart timeframe, unique market generated information is shown to facilitate multi-timeframe analysis.
▪ Weekly Timeframe
On the weekly timeframe the focus is the bigger picture and the metrics reflect this perspective. Performance data includes YTD Alpha and YTD percent change in price. Volatility is measured using ATR % and the industry standard beta. Trend analysis for this higher timeframe include the 52-week range, which measures where a security is trading in relation to its 52wk high and 52wk low. Also included is the where price is in relation to yearly value area.
▪ Daily Timeframe
As one drills down to the daily timeframe, the performance metrics include MTD alpha and MTD percent change in price.
Risk analysis includes the low-of-day extension (LODx), which is the ATR % multiple from the low of the day, to measures how extended a stock is from its low of day. In addition, the moving average extension (MAx) is the ATR % multiple from the user-defined moving average, measures how extended a security is from its
moving average. The default moving average is the 50D SMA, however this can be customized in Settings.
Trend Analysis on the daily timeframe includes the Pristine Capital methodology for classifying stocks into stages using moving averages. Both short-term and long-term stage analysis data is included. Finally, price in relation to monthly value area is shown.
▪ Hourly Timeframe
An the hourly timeframe, performance metrics include WTD alpha and WTD percent change in price. Trend analysis includes the daily closing range (DCR) and price in relation to weekly value area.
💠 Settings and Preferences
💠 Acknowledgements
We'd like to thank @dgtrd, a TradingView Pine Wizard, for his insight on the finer details when working with volume profiles.
[JHF] SQZMOMPRO SQZMOMPRO is a sophisticated, momentum-based technical indicator designed for traders seeking to identify potential trend reversals, momentum shifts, and periods of market consolidation (squeezes) across multiple timeframes. By combining a momentum oscillator, Bollinger Bands, Keltner Channels, and a Percentage Volume Oscillator (PVO), it provides a comprehensive view of price momentum and volume dynamics.
Overview
The SQZMOMPRO indicator is a powerful tool that integrates momentum analysis, volatility-based squeeze detection, and volume confirmation to help traders identify high-probability trading opportunities. It combines:
A momentum oscillator based on price deviations from a linear regression and moving average.
Bollinger Bands and Keltner Channels to detect periods of low volatility (squeezes), signaling potential breakouts.
A Percentage Volume Oscillator (PVO) to confirm momentum signals with volume trends.
A Rate of Change (ROC) line to highlight the speed of momentum shifts.
Visual cues like reversal signals and confluence backgrounds for actionable insights.
This indicator is ideal for swing traders, day traders, and those analyzing trends across multiple timeframes (hourly, 4-hour, daily, weekly, monthly). It is plotted below the price chart (non-overlay) and includes customizable alerts for key conditions.
Key Features
Multi-Timeframe Support: Automatically adjusts parameters for hourly, 4-hour, daily, weekly, and monthly charts, ensuring optimal settings for each timeframe.
Squeeze Detection: Identifies periods of low volatility (squeezes) using Bollinger Bands and Keltner Channels, categorized as Wide, Normal, Narrow, or Very Narrow.
Momentum Oscillator: Tracks price momentum relative to a baseline, with a signal line to highlight trend reversals.
PVO Confluence: Optionally integrates the Percentage Volume Oscillator to confirm momentum signals with volume trends.
Rate of Change (ROC): Displays the smoothed rate of change of momentum for enhanced readability.
Visual Cues: Includes color-coded squeeze dots, momentum/signal lines, reversal markers, and optional confluence backgrounds.
Alerts: Configurable alerts for squeeze conditions, trend reversals, and volume-confirmed signals.
How It Works
1. Momentum Oscillator
The momentum oscillator is calculated as follows:
Source: Closing price.
Baseline: A combination of the midpoint of the highest high and lowest low over a specified period, adjusted by a simple moving average (SMA).
Momentum: Linear regression of the price deviation from this baseline over a timeframe-specific period (shorter for smaller timeframes to be more responsive).
Signal Line: A 5-period SMA of the momentum value, used to identify crossovers.
Interpretation:
Momentum > Signal: Bullish momentum (plotted in green by default).
Momentum < Signal: Bearish momentum (plotted in red by default).
Crossovers: Momentum crossing above the signal line suggests a bullish reversal; crossing below suggests a bearish reversal.
2. Squeeze Detection
Squeezes occur when volatility contracts, often preceding significant price moves. The indicator compares:
Bollinger Bands: Calculated using an SMA and 2 standard deviations of the closing price.
Keltner Channels: Calculated using an SMA and multiples of the Average True Range (ATR) for different squeeze thresholds (Wide, Normal, Narrow, Very Narrow). This method steers away from the likes of classical SQZPRO which only uses an approximation of the Average True Range and heavily affects the squeeze sensitivity due to the way they calculate their Keltner Channel (our Keltner Channel are true to the way they are supposed to be calculated).
Squeeze Conditions:
Wide Squeeze: Bollinger Bands are inside Keltner Channels with a high ATR multiplier.
Normal Squeeze: Bollinger Bands are inside Keltner Channels with a moderate ATR multiplier.
Narrow Squeeze: Bollinger Bands are inside Keltner Channels with a low ATR multiplier.
Very Narrow Squeeze: Bollinger Bands are inside Keltner Channels with a very low ATR.
No Squeeze: Bollinger Bands are outside Keltner Channels, indicating higher volatility.
Depending on the timeframe, each squeeze level has been manually tweaked to gain an edge, whether you're scalping, in swings or in Leaps.
Visuals: Squeeze conditions are plotted as colored dots on the zero line:
Green: No Squeeze
Black: Wide Squeeze
Red: Normal Squeeze
Yellow: Narrow Squeeze
Purple: Very Narrow Squeeze
3. Percentage Volume Oscillator (PVO)
The PVO measures volume momentum, similar to the MACD but applied to volume through a 14 and 28 ema with volume as the srouce.
Interpretation:
PVO > 0: Increasing volume momentum (bullish).
PVO < 0: Decreasing volume momentum (bearish).
When enabled (Show PVO Confluence), the indicator highlights periods where momentum and PVO align (e.g., bullish momentum with PVO > 0).
4. Rate of Change (ROC)
Formula: Smoothed difference between momentum and signal line, multiplied by a user-defined factor (ROC Multiplier).
Purpose: Enhances readability of momentum shifts, plotted as a blue (positive) or orange (negative) line when enabled.
5. Reversal Signals
Bullish Reversal: Momentum crosses above the signal line, optionally confirmed by PVO > 0. Marked with a green vertical line.
Bearish Reversal: Momentum crosses below the signal line, optionally confirmed by PVO < 0. Marked with a red vertical line.
6. Confluence Background
When Show PVO Confluence is enabled, the background is colored to highlight alignment:
Bullish Confluence: Momentum > Signal and PVO > 0 (green background, darker if ROC is positive).
Bearish Confluence: Momentum < Signal and PVO < 0 (red background, darker if ROC is negative).
Inputs
Basic Configuration:
Display Reversals: Show/hide reversal markers for momentum/signal crossovers (default: true).
Show PVO Confluence: Enable/disable background coloring for momentum and PVO alignment (default: false).
Rate of Change:
Show Rate of Change Line: Display the ROC line (default: false).
ROC Smoothing Length: Smoothing period for ROC (default: 1, min: 1).
ROC Multiplier: Scales ROC for readability (default: 1, min: 1).
Plotline Colors:
Bullish Momentum: Green (default: RGB(0, 255, 0)).
Bearish Momentum: Red (default: RGB(255, 0, 0)).
Signal Line: White (default: RGB(255, 255, 255)).
Squeeze Colors:
No Squeeze: Green.
Wide Squeeze: Black.
Normal Squeeze: Red.
Narrow Squeeze: Yellow.
Very Narrow Squeeze: Purple.
Timeframe-Specific Parameters
The indicator adapts to the chart’s timeframe, using predefined settings.
Hourly, 4-Hour, Daily, Weekly and Monthly (and everything in between) all have custom, tweaked momentum length, ATR length, and squeeze multiplier threshold to suit the sensitivity needed for the current timeframe.
Trading Applications
Squeeze Breakouts:
A transition from a Very Narrow or Narrow Squeeze to No Squeeze often signals a breakout. Combine with momentum crossovers for confirmation.
Example: Enter a long position when a Narrow Squeeze (yellow dots) turns to No Squeeze (green dots) and momentum crosses above the signal line.
Trend Reversals:
Bullish reversal (green line) with PVO > 0 confirms strong buying volume, increasing the likelihood of a sustained uptrend.
Bearish reversal (red line) with PVO < 0 suggests strong selling pressure.
Confluence Trading:
Use confluence backgrounds to trade only when momentum and volume align, reducing false signals.
Example: A bullish confluence (green background) with positive ROC indicates a high-probability long setup.
Divergences:
Look for divergences between price and momentum or PVO. For instance, a higher low in momentum/PVO with a lower low in price suggests a bullish reversal.
Trend Confirmation:
Use the momentum oscillator and ROC to confirm price trends. A rising momentum and positive ROC validate an uptrend.
Alerts
Squeeze Alerts:
🟢 No Squeeze: Volatility is expanding.
⚫ Low Squeeze: Wide squeeze detected.
🔴 Normal Squeeze: Moderate squeeze detected.
🟡 Tight Squeeze: Narrow squeeze detected.
🟣 Very Tight Squeeze: Very narrow squeeze detected.
Reversal Alerts:
🐂 Bullish Trend Reversal: Momentum crosses above signal.
🐻 Bearish Trend Reversal: Momentum crosses below signal.
🐂 Bullish Trend Reversal + 📊 PVO Confluence: Momentum crossover with PVO > 0.
🐻 Bearish Trend Reversal + 📊 PVO Confluence: Momentum crossover with PVO < 0.
Limitations
Lagging Nature: The momentum oscillator and PVO rely on moving averages, which may lag sudden price or volume spikes.
False Signals: Squeezes and crossovers can occur in choppy markets, leading to whipsaws. Confirm with price action or other indicators.
Timeframe Sensitivity: Results vary by timeframe; test settings for your trading style (e.g., shorter lengths for day trading).
How to Use
Add to Chart: Apply the indicator to any TradingView chart (non-overlay).
Customize Settings:
Enable Display Reversals for crossover markers.
Enable Show PVO Confluence for volume confirmation.
Adjust ROC Smoothing and ROC Multiplier for clearer ROC visuals.
Customize colors for better visibility.
Interpret Signals:
Monitor squeeze dots for volatility changes.
Watch for momentum/signal crossovers and confluence backgrounds.
Use ROC to gauge momentum strength.
Set Alerts: Configure alerts for squeezes, reversals, or confluence signals to stay informed.
Example Scenario
Setup: A stock in a Very Narrow Squeeze (purple dots) on the daily chart, with momentum below the signal line and PVO < 0.
Signal: Momentum crosses above the signal line, PVO turns positive, and the squeeze transitions to No Squeeze (green dots).
Action: Enter a long position, targeting the next resistance level, with a stop-loss below recent support. The green confluence background and positive ROC confirm the trade.
Conclusion
The SQZMOMPRO indicator is a versatile tool for traders seeking to capitalize on momentum, volatility, and volume trends. Its multi-timeframe adaptability, visual clarity, and robust alert system make it suitable for various trading strategies. Combine with price action, support/resistance, or other indicators for optimal results. For feedback or suggestions, feel free to leave a comment.
Consolidation BoxesConsolidation Boxes — Indicator
Overview :
This indicator automatically detects and highlights periods of market consolidation, drawing shaded boxes around tight price ranges where the market is temporarily indecisive. It’s designed to help traders easily identify when price is moving sideways — a key phase that often precedes a breakout.
Key Features :
-Automatic Consolidation Detection: Recognizes when a series of candles close within a defined range and marks the area as a consolidation zone.
-Customizable Parameters: Set how many candles must consolidate before a box is drawn.
-Breakout Alerts: Notifies you when price breaks out above or below a consolidation box — a potential signal for trade entries.
-Clean Chart Management: Optional setting to automatically remove old zones when new consolidations form.
-Dynamic Box Extension: As long as price stays within the box, the zone will continue to extend until a breakout occurs.
Inputs :
- Minimum Consolidation Candles : Define how many candles must fit within a range to confirm a consolidation zone.
- Terminate Old Zones : Automatically delete the previous zone when a new one is formed (optional).
How to use :
1. Add the Indicator: Apply it to any chart — works across all timeframes and markets (e.g., crypto, stocks, forex).
2. Adjust Parameters: Choose how many candles must consolidate to form a valid box. Enable or disable zone termination to fit your preference.
3. Watch the Boxes: The indicator draws a shaded box once it detects a valid consolidation zone. The box will continue to extend as long as price stays within the range.
4. Look for Breakouts: When price breaks above or below the box, a breakout is confirmed and an alert (if enabled) will trigger — great for breakout trading strategies.
5. Use in Strategy: Combine with volume, momentum indicators, or price action to validate breakouts and filter false signals.
Ideal For :
Traders who want to visually identify consolidation areas and trade breakout setups with minimal manual analysis. Especially useful for scalpers, day traders, and swing traders looking to anticipate volatility after quiet periods.
Smart Trend Lines [The_lurker]
Smart Trend Lines
A multi-level trend classifier that detects bullish and bearish conditions using a methodology based on drawing trend lines—main, intermediate, and short-term—by identifying peaks and troughs. The tool highlights trend strength by applying filters such as the Average Directional Index (ADX) (A), Relative Strength Index (RSI) (R), and Volume (V), making it easier to interpret trend strength. The filter markers (V, A, R) in the Smart Trend Lines indicator are powerful tools for assessing the reliability of breakouts. Breakouts containing are the most reliable, as they indicate strong volume support, trend strength, and favorable momentum. Breakouts with partial filters (such as or ) require additional confirmation, while breakouts without filters ( ) should be avoided unless supported by other strong signals. By understanding the meaning of each filter and the market context.
Core Functionality
1. Trend Line Types
The indicator generates three distinct trend line categories, each serving a specific analytical purpose:
Main Trend Lines: These are long-term trend lines designed to capture significant market trends. They are calculated based on pivot points over a user-defined period (default: 50 bars). Main trend lines are ideal for identifying macro-level support and resistance zones.
Mid Trend Lines: These are medium-term trend lines (default: 21 bars) that focus on intermediate price movements. They provide a balance between short-term fluctuations and long-term trends, suitable for swing trading strategies.
Short Trend Lines: These are short-term trend lines (default: 9 bars) that track rapid price changes. They are particularly useful for scalping or day trading, highlighting immediate support and resistance levels.
Each trend line type can be independently enabled or disabled, allowing traders to tailor the indicator to their preferred timeframes.
2. Breakout Detection
The indicator employs a robust breakout detection system that identifies when the price crosses a trend line, signaling a potential trend reversal or continuation. Breakouts are validated using the following filters:
ADX Filter: The Average Directional Index (ADX) measures trend strength. A user-defined threshold (default: 20) ensures that breakouts occur during strong trends, reducing false signals in range-bound markets.
RSI Filter: The Relative Strength Index (RSI) identifies overbought or oversold conditions. Breakouts are filtered based on RSI thresholds (default: 65 for overbought, 35 for oversold) to avoid signals in extreme market conditions.
Volume Filter: Breakouts are confirmed only when trading volume exceeds a moving average (default: 20 bars) and aligns with the breakout direction (e.g., higher volume on bullish breakouts when the candle closes higher).
Breakout events are marked with labels on the chart, indicating the type of trend line broken (Main, Mid, or Short) and the filters satisfied (Volume, ADX, RSI). Alerts are triggered for each breakout, providing real-time notifications.
3. Customization Options
The indicator offers extensive customization through input settings, organized into logical groups for ease of use:
Main Trend Line Settings
Length: Defines the number of bars used to calculate pivot points (default: 50).
Bullish Color: Color for upward-sloping (bullish) main trend lines (default: green).
Bearish Color: Color for downward-sloping (bearish) main trend lines (default: red).
Style: Line style options include solid, dashed, or dotted (default: solid).
Mid Trend Line Settings
Length: Number of bars for mid-term pivot points (default: 21).
Show/Hide: Toggle visibility of mid trend lines (default: enabled).
Bullish Color: Color for bullish mid trend lines (default: lime).
Bearish Color: Color for bearish mid trend lines (default: maroon).
Style: Line style (default: dashed).
Short Trend Line Settings
Length: Number of bars for short-term pivot points (default: 9).
Show/Hide: Toggle visibility of short trend lines (default: enabled).
Bullish Color: Color for bullish short trend lines (default: teal).
Bearish Color: Color for bearish short trend lines (default: purple).
Style: Line style (default: dotted).
General Display Settings
Break Check Price: Selects the price type for breakout detection (Close, High, or Low; default: Close).
Show Previous Trendlines: Option to display historical main trend lines (default: disabled).
Label Size: Size of breakout labels (Tiny, Small, Normal, Large, Huge; default: Small).
Filter Settings
ADX Threshold: Minimum ADX value for trend strength confirmation (default: 25).
Volume MA Period: Period for the volume moving average (default: 20).
RSI Filter: Enable/disable RSI filtering (default: enabled).
RSI Upper Threshold: Upper RSI limit for overbought conditions (default: 65).
RSI Lower Threshold: Lower RSI limit for oversold conditions (default: 35).
4. Technical Calculations
The indicator relies on several technical calculations to ensure accuracy:
Pivot Points: Pivot highs and lows are detected using the ta.pivothigh and ta.pivotlow functions, with separate lengths for Main, Mid, and Short trend lines.
Slope Calculation: The slope of each trend line is calculated as the change in price divided by the change in bar index between two pivot points.
ADX Calculation: ADX is computed using a 14-period Directional Movement Index (DMI), with smoothing over 14 bars.
RSI Calculation: RSI is calculated over a 14-period lookback using the ta.rsi function.
Volume Moving Average: A simple moving average (SMA) of volume is used to determine if current volume exceeds the average.
5. Strict Mode Validation
To ensure the reliability of trend lines, the indicator employs a strict mode check:
For bearish trend lines, all prices between pivot points must remain below the projected trend line.
For bullish trend lines, all prices must remain above the projected trend line.
Post-pivot break checks ensure that no breakouts occur between pivot points, enhancing the validity of the trend line.
6. Trend Line Extension
Trend lines are dynamically extended forward until a breakout occurs. The extension logic:
Projects the trend line using the calculated slope.
Continuously validates the extension using strict mode checks.
Stops extension upon a breakout, fixing the trend line at the breakout point.
7. Alerts and Labels
Labels: Breakout labels are placed above (for bearish breakouts) or below (for bullish breakouts) the price bar. Labels include:
A prefix indicating the trend line type (B for Main, M for Mid, S for Short).
A suffix showing satisfied filters (e.g., for Volume, ADX, and RSI).
Alerts: Each breakout triggers a one-time alert per bar close, with a descriptive message indicating the trend line type and filters met.
Detailed Code Breakdown
1. Initialization and Inputs
The script begins by defining the indicator with indicator('Smart Trend Lines ', overlay = true), ensuring it overlays on the price chart. Input settings are grouped into categories (Main, Mid, Short, General Display, Filters) for user convenience. Each input includes a tooltip in both English and Arabic, enhancing accessibility.
2. Technical Indicator Calculations
Volume MA: Calculated using ta.sma(volume, volPeriod) to compare current volume against the average.
ADX: Computed using custom dirmov and adx functions, which calculate the Directional Movement Index and smooth it over 14 periods.
RSI: Calculated with ta.rsi(close, rsiPeriod) over 14 periods.
Price Selection: The priceToCheck function selects the price type (Close, High, or Low) for breakout detection.
3. Pivot Detection
Pivot points are detected using ta.pivothigh and ta.pivotlow for each trend line type. The lookback period is set to the respective trend line length (e.g., 50 for Main, 21 for Mid, 9 for Short).
4. Trend Line Logic
For each trend line type (Main, Mid, Short):
Bearish Trend Lines: Identified when two consecutive pivot highs form a downward slope. The script validates the trend line using strict mode and post-pivot break checks.
Bullish Trend Lines: Identified when two consecutive pivot lows form an upward slope, with similar validation.
Trend lines are drawn using line.new, with separate lines for the initial segment (between pivots) and the extended segment (from the second pivot forward).
5. Breakout Detection and Labeling
Breakouts are detected when the selected price crosses the trend line level. The script checks:
Volume conditions (above average and aligned with candle direction).
ADX condition (above threshold).
RSI condition (within thresholds if enabled). Labels are created with label.new, and alerts are triggered with alert.
6. Trend Line Extension
The extendTrendline function dynamically updates the trend line’s endpoint unless a breakout occurs. It uses strict mode checks to ensure the trend line remains valid.
7. Previous Trend Lines
If enabled, previous main trend lines are stored in arrays (previousBearishStartLines, previousBullishTrendLines, etc.) and displayed on the chart, providing historical context.
Disclaimer:
The information and publications are not intended to be, nor do they constitute, financial, investment, trading, or other types of advice or recommendations provided or endorsed by TradingView.
8:15 AM 15-min Candle Box on 5-min Chart with TP and SLThe “8:15 AM 15-min Candle Box on 5-min Chart with TP and SL” indicator is a custom-built Pine Script tool for breakout trading strategies, particularly tailored for assets like NASDAQ Futures (NAS100) during the U.S. market pre-open.
🔍 What It Does:
Tracks the 8:15–8:30 AM Central Time (CDT) Candle:
It marks the high and low of the 15-minute candle that starts at 8:15 AM (CDT).
The box visually outlines this price range.
Draws a Breakout Box:
At 8:30 AM, a box is drawn from the 8:15 candle’s high and low.
The box stretches forward 8 hours into the session, helping you visualize price interaction with that range.
Detects Breakouts:
If the price closes above the high, it signals a buy breakout.
If it closes below the low, it signals a sell breakout.
Automatically Calculates TP and SL:
Take Profit (TP): 50 pips from the breakout level in the direction of the trade.
Stop Loss (SL): 40 pips in the opposite direction.
Pips are calculated using the symbol’s minimum tick size.
Color Feedback:
Box turns green on a buy breakout, red on a sell breakout.
If TP is reached, the box turns black.
If SL is hit, the box turns purple.
🧠 Why Use This Indicator:
Perfect for pre-market breakout traders who want a visual confirmation of price action around the U.S. market open.
Provides a clear entry range, trade direction, and risk/reward visual cue.
No manual drawing — everything is automated daily based on reliable timing.
Would you like a version with alerts or plotted TP/SL lines as well?
ENIGMA 369 ENIGMA 369 is a unique Pine Script indicator that combines two complementary trading systems: Break of Structure (BOS) Detection and Session-Based Sniper Signals.
Designed to help traders identify market structure shifts and potential intraday setups, it overlays on the chart to highlight key levels and momentum-driven opportunities. The indicator’s originality lies in its integration of pattern-based BOS analysis (inspired by Smart Money concepts) with time- and trend-filtered Sniper signals, creating a cohesive tool for both swing and intraday trading.
Unlike standalone breakout or scalping indicators, ENIGMA 369 uses:
BOS Logic: A specific two-candle pattern sequence to detect structural shifts, filtered by ATR for significance.
Sniper Logic: Momentum-based signals during high-volatility sessions, optionally aligned with EMA trends.
This synergy allows traders to assess market direction strategically (via BOS) and time entries tactically (via Sniper), all within one indicator.
What It Does
ENIGMA 369 performs two distinct functions:
Break of Structure (BOS) Detection:
Identifies potential support/resistance levels using BullBear (bullish candle followed by bearish) and BearBull (bearish followed by bullish) candle pairs.
Confirms breakouts when price sustains above (bullish) or below (bearish) these levels for a set number of bars.
Draws horizontal lines at confirmed breakout levels, which persist until price crosses a user-defined buffer zone.
Sniper Momentum Signals:
Detects buy/sell setups during user-specified trading sessions (e.g., London/US), based on candle momentum (close relative to midpoint, higher highs/lower lows).
Optionally filters signals with an EMA to align with the broader trend.
Plots lines at the candle’s high/low and 50% wick levels, serving as reference points for entries or stops, removed when price crosses them.
How It Works
ENIGMA 369 relies on price action, market timing, and trend context to generate signals. Here’s how each component operates:
BOS Logic:
Pattern Detection: Scans for two-candle patterns where the first candle is significant (size exceeds an ATR-based threshold) and the second opposes it. For example, a BullBear pair marks the first candle’s high as a potential resistance.
ATR Filter: Uses the Average True Range (default: 14 periods) to ensure the first candle’s range or body is substantial, reducing noise. Users can adjust the ATR multiplier (default: 0.5).
Confirmation: Requires price to close above/below the stored level for a user-defined number of bars (default: 1) to confirm a breakout.
Line Management: Plots green (bullish) or red (bearish) lines at confirmed levels, extending for a set number of bars (default: 10). Lines are deleted if price crosses a buffer (percentage of price or ATR-based, default: 0.1).
Visualization: Optionally highlights pattern candles with transparent green/red backgrounds.
Sniper Logic:
Momentum Signals: Identifies buy signals when a candle closes above its midpoint (high+low)/2 and has a lower low than the prior candle, indicating potential bullish momentum. Sell signals require a close below the midpoint and a higher high.
Session Filter: Limits signals to user-defined London/US session hours (default: 1-23 UTC, adjustable to specific hours like 7-11 UTC for London).
EMA Filter: Optionally uses a 50-period EMA (adjustable) to ensure buy signals occur in uptrends (rising EMA) and sell signals in downtrends (falling EMA).
Line Plotting: Draws blue lines for buy signals (at the low and 50% of the lower wick) and orange lines for sell signals (at the high and 50% of the upper wick). Lines extend right until price crosses them, managed via arrays for efficiency.
Dynamic Removal: Lines are automatically deleted when price breaches them, reflecting changing market conditions.
Why Combine BOS and Sniper?
The integration of BOS and Sniper logic is purposeful and synergistic:
BOS provides a strategic view by identifying structural shifts, helping traders understand the market’s directional bias (e.g., bullish after a confirmed high breakout).
Sniper offers tactical entry points within these trends, focusing on high-volatility sessions where momentum is likely to drive clear moves.
Together, they enable traders to align short-term trades with long-term structure, reducing the risk of trading against the trend. For example, a trader can wait for a bullish BOS confirmation before taking Sniper buy signals, enhancing setup reliability.
This combination is original because it merges Smart Money-inspired BOS detection with a session-based momentum system, a pairing not commonly found in single indicators. It avoids redundant mashups by ensuring each component serves a distinct yet complementary role.
How to Use It
Setup:
Apply ENIGMA 369 to a TradingView chart (Pine Script v5). The chart shown here uses a clean H1 candlestick setup to highlight BOS and Sniper outputs clearly.
Customize settings:
BOS:
ATR Period (default: 14), Min Candle Size (default: 0.5x ATR): Adjust for pattern sensitivity.
Confirmation Bars (default: 1): Set for faster/slower breakouts.
Buffer Type (Percentage/ATR), Buffer Zone Value (default: 0.1): Control line deletion.
Show Lines (default: true), Highlight Candle Pairs (default: false): Enable visuals.
Customize line colors (green/red) and width/length.
Sniper:
London/US Start/End Hours: Set to match your asset’s volatility (e.g., 7-11 UTC for London forex).
EMA Filter (default: true), EMA Period (default: 50): Enable for trend alignment.
Customize line styles (Solid/Dotted/Dashed) and colors (blue/orange) to distinguish from BOS.
Suggested timeframes: H1-H4 for BOS (swing trading), M5-M15 for Sniper (intraday).
Trading with BOS:
Monitor for green (bullish) or red (bearish) lines indicating confirmed breakouts.
Use lines as support/resistance:
Bullish BOS: Consider longs above the line, with stops below the line or buffer.
Bearish BOS: Consider shorts below the line, with stops above the line or buffer.
Line deletion signals a potential reversal or level invalidation.
Trading with Sniper:
Look for blue (buy) or orange (sell) lines during active sessions:
Buy: Enter long at the low or 50% wick line, with stops below the low and targets at resistance.
Sell: Enter short at the high or 50% wick line, with stops above the high and targets at support.
Use EMA filter to avoid counter-trend signals.
Lines disappear when crossed, indicating the setup’s completion or invalidation.
Alerts:
Set alerts for:
“Bullish/Bearish BOS Confirmed” for structural shifts.
“Sniper Buy/Sell Alert” for intraday setups.
Combine with volume, key levels, or news for confirmation.
Best Practices:
Use BOS to confirm trend direction before taking Sniper signals.
Test settings on your asset/timeframe via backtesting.
Apply stop-losses and risk-reward ratios (e.g., 1:2) for discipline.
The chart example shows BOS lines (green/red) and Sniper lines (blue/orange) on an H1 chart, ensuring clarity.
Underlying Concepts
Market Structure (BOS): Identifies turning points where supply/demand shifts, using two-candle patterns to mark significant levels, similar to order block concepts.
Momentum and Timing (Sniper): Targets entries during high-liquidity sessions, using candle midpoint and wick analysis to capture momentum-driven moves.
Trend Context: EMA ensures signals align with the market’s direction, reducing false positives.
Price Action: Both systems rely on raw price behavior, avoiding lagging oscillators for timely signals.
Limitations
BOS may lag in fast markets; reduce confirmation bars for scalping.
Sniper signals depend on session settings; ensure alignment with your asset’s volatility.
Multiple lines may clutter charts; adjust colors/styles for clarity.
Not a standalone system; combine with other analysis for best results.
Disclaimer
ENIGMA 369 is a tool to identify potential trading setups, not a guaranteed profit system. Past performance does not predict future results. Backtest thoroughly and use with proper risk management.
Conclusion
ENIGMA 369 offers a structured approach to trading by combining BOS’s structural insights with Sniper’s precise, session-based entries. Its unique integration makes it suitable for traders seeking to align strategic and tactical decisions. Customize it to your style, test it rigorously, and use it to enhance your market analysis.