AstroTrading_SpecialLevelsOverview
This Pine Script™ (version 5) indicator is designed to detect and mark key price levels using pivot points and Fibonacci extensions. It looks back over a user-defined number of bars to identify significant pivot highs and lows, then searches for specific patterns—either a bullish “dip–peak–dip” or a bearish “peak–dip–peak” formation. Once such a pattern is found, the script calculates Fibonacci-based levels (including STOP, Entry, and multiple target levels) and displays them on the chart with horizontal lines and labels.
Key Components
Input Parameters and Setup:
Bars Settings:
left_bars and right_bars define the number of bars to look left and right when calculating pivots.
lookback determines how many bars back (from the current bar) to search for potential pattern points.
Arrays for Pivot Points:
Two sets of arrays are created to store pivot lows and pivot highs along with their corresponding bar indices.
Pivot Point Calculation:
The script calculates pivot lows using ta.pivotlow(left_bars, right_bars) and pivot highs using ta.pivothigh(left_bars, right_bars).
When a valid pivot is detected (i.e. not na), its bar index (adjusted by right_bars) and value are pushed into the respective arrays.
Filtering by Lookback Period:
The code defines a start (bar_index - lookback) and end bar (bar_index - 1) to limit the search for pattern points.
It filters both pivot low and high arrays so that only points within this historical range are considered.
Pattern Detection – Bullish Formation (Dip–Peak–Dip):
The script searches for a sequence where:
Dip1: A pivot low is found.
Peak: A subsequent pivot high occurs after Dip1.
Dip2: A later pivot low occurs after the Peak.
Once these points are identified, it calculates the difference between the peak and the first dip.
It then creates arrays of Fibonacci multipliers ( ), corresponding level labels ("STOP", "Entry", "1. Target", "2. Target", "3. Target"), and associated colors.
For each multiplier, the price level is computed using the formula:
priceLevel = dip2 + (peak – dip1) × multiplier
Horizontal lines are drawn at these price levels (extending to the right), and labels are placed to show both the level name and its numeric value.
Pattern Detection – Bearish Formation (Peak–Dip–Peak):
If no bullish sequence is found, the script then looks for the opposite pattern:
Peak1: A pivot high.
Dip: A subsequent pivot low after Peak1.
Peak2: A later pivot high after the Dip.
The difference is computed as:
diff = peak1 – dip
Using the same Fibonacci multipliers and labels, the price level is now calculated as:
priceLevel = peak2 – diff × multiplier
Lines and labels are drawn similarly to indicate STOP, Entry, and multiple target levels.
Fallback:
If neither bullish nor bearish patterns are found within the lookback period, the script creates a label on the chart to inform the user that no valid sequence was detected.
Trading Implications
By identifying these patterns and plotting Fibonacci extension levels, the indicator provides traders with potential areas for:
Stops: Price levels where a reversal might occur.
Entry Points: Levels at which to consider initiating a trade.
Targets: One or more levels for taking profits.
Traders can use these levels in conjunction with other technical analysis tools to help time entries and exits more effectively.
This explanation is written to meet TradingView’s guidelines by clearly detailing each part of the script and its purpose without unnecessary commentary.
Candlestick analysis
AstroTrading_DragonCombine1. Table Setup and User Inputs
Table Position and Font Size:
The script begins by asking the user to select a table position (e.g. Top Right) and a font size (Small, Medium, Large, Huge) via input options.
pinescript
Kopyala
positionInput = input.string("Sağ Üst Köşe", title="Tablo Konumu", options= )
fontSizeInput = input.string("Orta", title="Yazı Punto Büyüklüğü", options= )
Table Creation:
A table is created using table.new with 6 rows and 4 columns. The location of the table is determined by the selected input. This table will later display the name, entry, target, and stop levels for each of the five strategies.
2. Variable Declarations
The script defines several persistent variables to store levels for each indicator. These include:
Entry, target, and stop levels for each of the five sub-indicators (labeled as _1, _2, _3, _4, and _5).
Examples include targetLevel_1, fibLow_1, lastEntry_1, lastTarget_1, etc.
3. Indicator 1 – AstroTrading_AlphaBalance
Logic:
This part examines the previous candle’s high and low to compute its range. It then defines two conditions:
conditionUp_1: When the current close exceeds the previous high by at least 50% of the previous range.
conditionDown_1: When the current close falls below the previous low by 50% of the previous range.
Action:
Depending on whether the move is upward or downward, the script sets:
For an upward move:
fibLow_1 is set to the current low.
The entry level is taken as the current high.
The target is computed by taking the high and subtracting –0.786 times the range (this negative multiplier inverts the move).
The stop is set at the previous low.
For a downward move, similar logic applies with reversed roles.
Purpose:
This module generates a primary signal (AlphaBalance) based on extreme candle movements relative to the prior candle’s range.
4. Indicator 2 – AstroTrading_CandleElongation
Higher Timeframe Data:
The script uses the request.security function to obtain high, low, close, and open values from a user-specified timeframe.
Fibonacci Extension Calculation:
A function fiboExtension calculates two Fibonacci extension levels (approximately 0.786 and 1.618 multipliers) based on three price points.
Signal Conditions:
It checks if the previous candle (two bars ago) meets certain criteria relative to its open, and if the current candle’s close confirms an elongation move.
Output:
If conditions are met, the script sets:
candleEntry_2 to the lower Fibonacci level,
candleTarget_2 to the higher Fibonacci extension,
candleStop_2 to the current low (for a bullish setup) or high (for bearish).
Purpose:
This sub-indicator looks to capture significant candle elongation moves by using Fibonacci extension levels to define entry, target, and stop.
5. Indicator 3 – AstroTrading_FlaGama
Similar to a Flag Formation:
Like the previous “FlaGama” indicator, it checks if the current close is more than 50% beyond the previous candle’s high (conditionUp_3) or below the previous low (conditionDown_3).
Bar Coloring:
If either condition is met, the bar is colored orange to signal an extreme move.
Signal Generation:
Depending on the move’s direction:
Bullish Setup:
Calculates a Fibonacci level at 78.6% from the current low to high.
Sets the entry at this Fibonacci level.
The target is computed by adding the difference between the current high and the Fibonacci level to the current high.
The stop is set at the current low.
Bearish Setup:
Mirrors the Fibonacci calculation to derive a level for short entry.
The target is set below the current low, and the stop is at the current high.
Purpose:
The FlaGama section provides confirmation signals when extreme moves occur, helping traders decide on potential reversals.
6. Indicator 4 – AstroTrading_HermDown
EMA Crossover:
An EMA (111-period) is calculated. A crossover of the EMA above the close triggers a “kesilme” (cutoff) event.
First Candle Identification:
Once a crossover is detected, the next candle’s close is monitored. If that candle’s close remains below the cutoff level, it is considered the “first candle” of the HermDown setup.
Fibonacci Retracement:
It then calculates the highest high over the last 30 bars and derives a target level (fibNeg0618_4) at about 48.6% retracement from that high.
Signal Levels:
The entry is the cutoff close, the target is the calculated Fibonacci level, and the stop is the low of the cutoff candle.
Purpose:
This module aims to capture bearish reversals (HermDown) when the price drops sharply below an EMA, using Fibonacci retracement as a guide.
7. Indicator 5 – AstroTrading_HermUp
EMA Crossunder:
Similarly, an EMA (111-period) is used. A crossunder (EMA crossing below the close) signals a potential bullish reversal.
First Candle Confirmation:
The next candle’s close is checked to confirm the move.
Fibonacci Level:
A Fibonacci extension (approximately 61.8% of the distance from the cutoff close to the high) is computed to serve as the target.
Signal Levels:
The entry is set at the cutoff close, the target is the Fibonacci level, and the stop is set at the low.
Purpose:
This section captures bullish reversal signals (HermUp) when the price moves above an EMA.
8. Displaying Levels in a Table
Aggregating Data:
The script gathers the entry, target, and stop levels from all five sub-indicators.
Table Layout:
The table displays five rows (one for each indicator) with four columns:
Indicator name (e.g., “AlphaBalance”, “CandleElongation”, “FlaGama”, “HermDown”, “HermUp”)
Entry level
Target level
Stop level
Color Coding:
Entry cells have a blue background.
Target cells are colored green if above the current close or red if below.
Stop cells are given a gray background.
Purpose:
This consolidated view allows traders to quickly assess all key levels from different strategies on the chart.
Summary
The “AstroTrading_DragonCombine” indicator is a multi-faceted tool that merges five distinct trading setups into one comprehensive display. Each sub-indicator utilizes a unique method—ranging from extreme candle moves and Fibonacci extensions to EMA crossovers—to determine entry, target, and stop levels. These levels are then neatly summarized in a table overlay on the chart. By combining these approaches, traders can gain a broader perspective on market conditions and potential reversal points, enhancing their decision-making process while adhering to sound risk management principles.
This explanation is written to meet TradingView’s script publication standards, providing a clear, objective, and detailed overview of the indicator’s functionality and logic.
AstroTrading_FlaGamaOverview
This Pine Script™ indicator (version 5) is designed to detect a specific “flag formation” pattern based on aggressive price movements relative to the previous candle’s range. When the current candle’s closing price deviates significantly—by at least 50% of the previous candle’s range—above its high or below its low, the script marks the bar in orange. It then attempts to identify a confirmation pattern when a subsequent (second) orange candle appears, and based on the relationship between the closes of the two orange candles, it dynamically plots Fibonacci-based levels along with entry, stop, and target signals for potential long or short trades.
Key Components and Logic
Previous Candle Data Calculation:
prevHigh and prevLow:
The script captures the high and low of the previous bar (high and low ).
prevRange:
The range of the previous candle is computed as the difference between prevHigh and prevLow. This range is later used to calculate the threshold for a significant move.
Defining Significant Price Movements (Orange Bars):
conditionUp:
This condition checks if the current candle’s close is greater than the previous candle’s high plus 50% of the previous range. When true, it indicates a strong bullish move (a “green” scenario, but the indicator colors the bar orange to highlight the extreme move).
conditionDown:
Similarly, this condition checks if the current candle’s close is lower than the previous candle’s low minus 50% of the previous range. When true, it signals a strong bearish move.
barcolor:
If either condition is met, the script colors the bar orange. This visual cue allows traders to easily identify candles that have moved beyond the typical range of the prior session.
Tracking “Orange” Candles:
The script uses persistent (var) variables to store data from the first detected orange candle:
prevOrangeClose, prevOrangeLow, prevOrangeHigh: These hold the closing, low, and high values of the first extreme (orange) candle.
secondOrangeExists: A Boolean flag that is set to true once an orange candle is recorded.
Confirmation and Fibonacci Level Calculation:
When a new (second) orange candle is detected (i.e., when the current candle meets the condition and the flag secondOrangeExists is true), the script differentiates between two scenarios:
Bullish Confirmation (Long Setup):
Condition: The current candle’s close is higher than the first orange candle’s close.
Fibonacci Calculation:
The script calculates a Fibonacci retracement level at 78.6% (0.786) of the range between the current high and low. This level is considered as a potential long entry level.
Visual Elements:
A green dotted line is drawn at the Fibonacci level.
A long target line is plotted above the current high by the distance between the current high and the first orange candle’s low.
Labels are added to indicate the “LONG TARGET,” “LONG STOP” (placed at the first orange candle’s low), and “LONG Entry Level” (the Fibonacci level).
Bearish Confirmation (Short Setup):
Condition: The current candle’s close is lower than the first orange candle’s close.
Fibonacci Calculation:
In this case, the Fibonacci level is calculated in a mirrored manner (using –0.786), suggesting a short entry level.
Visual Elements:
A red dotted line is drawn at the calculated Fibonacci level.
A short target line is plotted below the current low by the distance between the first orange candle’s high and the current low.
Labels are added for “SHORT TARGET,” “SHORT STOP” (placed at the first orange candle’s high), and “SHORT Entry Level.”
Resetting the Indicator State:
If a candle does not meet the extreme move criteria (i.e., not orange), the flag secondOrangeExists is reset. This ensures that the indicator only considers consecutive extreme moves for generating trade signals.
Trading Strategy Implications
This indicator is designed to capture extreme moves that may lead to sharp reversals (either a short squeeze in a bullish scenario or a long squeeze in a bearish one). By:
Highlighting Price Extremes:
The orange bar color quickly alerts traders to significant deviations from the previous candle’s range.
Confirming with Consecutive Moves:
The use of a second extreme candle as a confirmation helps filter out false signals.
Employing Fibonacci Levels:
The dynamic Fibonacci level serves as a logical entry point, while the first extreme candle’s high or low acts as a stop-loss reference. A target level is also plotted based on the measured move.
Traders can integrate this setup into a broader risk management and technical analysis framework to time entries and exits more effectively.
Compliance with TradingView Script Publishing Rules
This explanation adheres to TradingView’s guidelines by clearly stating the functionality, describing each component and its purpose, and ensuring that the explanation is objective, detailed, and does not include promotional language. The script itself is annotated with comments (in both English and Turkish) and uses standard Pine Script™ functions (e.g., indicator(), line.new(), label.new(), etc.) to maintain clarity and reproducibility.
This detailed explanation should help traders understand how the “AstroTrading_FlaGama” indicator works, how it generates signals, and how it might be integrated into a comprehensive trading strategy.
Electronic Trading Hours Session/CandlesThis indicator visually distinguishes the electronic trading session, spanning from the prior day's close (e.g., 5:00 PM EST) through the overnight period until the next day's opening bell (e.g., 9:30 AM EST).
It can be customized to highlight this period with a shaded zone or colored candles depending on the trader’s preference.
The overnight levels that create the opening range gap often act as critical zones of liquidity.
The indicator provides a clear visual cue of potential price magnets that smart money (institutional traders) may target during the opening bell session to trigger liquidity sweeps.
MMM MARKET CHAOS TO CLARITY INTELLIGENCE @MaxMaserati# MMM MARKET CHAOS TO CLARITY INTELLIGENCE
## Overview
The MMM MARKET CHAOS TO CLARITY INTELLIGENCE (MMM AI Pro) by MaxMaserati is a sophisticated multi-factor analysis tool that provides comprehensive market insights through a unified dashboard. This system integrates several proprietary components to detect market conditions, trends, and potential reversals.
At its core, this indicator is designed to bring clarity to market complexity by identifying meaningful patterns and establishing order within what often appears as random market chaos
The MMM Intelligence Matrix accomplishes this through its multi-layered approach:
- The MMPD system quantifies market conditions on a clear 0-100 scale, transforming complex price movements into actionable premium/discount levels
- The proprietary candle analysis (MMMC Bias) identifies specific patterns with predictive value
- The integration of volume, momentum, and multi-timeframe analysis creates a comprehensive market context
- The Hot/Cold classification system helps traders distinguish between sustainable moves and overextended conditions
What makes this indicator particularly valuable is how it synthesizes multiple technical factors into clear visual signals and classifications. Instead of leaving traders to interpret numerous conflicting indicators, it presents an organized dashboard of market conditions with straightforward action zones.
## Core Components
### MMPD (Max Maserati Premium and Discount)
- Normalizes price movement on a 0-100 scale:
- **Premium (>50)**: Bullish conditions
- **Discount (<50)**: Bearish conditions
- **Extreme values (>90 or <10)**: Potential reversal zones
### MMMC (Max Maserati Model Candle) Bias
- Analyzes candle patterns to predict behavior:
- **Bullish/Bearish Body Close**: Price closes beyond previous candle's high/low
- **Bullish/Bearish Affinity**: Shows tendency toward continuation
- **Seek & Destroy**: Tests previous levels then breaks in new direction
- **Close Inside**: Closes within previous candle's range with directional bias
- **Plus/Minus**: Indicates slight tendency toward bulls/bears
### PC Strength (Previous Candle Strength)
- Measures percentage power of recent candlesticks
- Analyzes strength across multiple previous candles (PC1, PC2, PC3)
### MVM (Market Volatility Momentum)
- Adaptive moving averages system analyzing multiple timeframes:
- **Short context (8 bars)**: Immediate direction
- **Medium context (21 bars)**: Intermediate validation
- **Long context (55 bars)**: Primary trend confirmation
- **Higher timeframe**: Additional confirmation
### Volume Intelligence System
- Adaptive algorithm comparing current volume to 20-period average
- Identifies significant volume events and thresholds
### Hot/Cold Momentum Classification
- **Strong Bullish/Bearish (Hot)**: Potentially overextended
- **Strong Bullish/Bearish (Cold)**: Strong with room to continue
- **Bullish/Bearish Momentum**: Clear directional bias
- **Mild Bullish/Bearish**: Weak directional bias
### HVC (Highest Volume Candles) Detection
- Triangle markers and sequential stars indicate significant volume-confirmed movements
- Signals potential trend changes and continuation setups
## Dashboard Interface
The customizable dashboard displays:
1. **MMMC Bias**: Candle pattern analysis and direction
2. **Delta MA**: Buy/sell pressure with directional arrows
3. **PC Strength**: Percentage strength of previous candles
4. **Current Trend**: Overall market bias state
5. **MMPD Bias**: Premium/discount context
6. **Short/Medium/Long Term**: Price change percentages
7. **Trend Quality**: Reliability rating
8. **Volume Strength**: Classification (High/Medium/Low)
9. **MMPD Values**: Current level with direction indicator
10. **HTF Trend**: Higher timeframe confirmation
11. **Trend Strength**: Overall momentum measurement
12. **Action Zone**: Trading zone classification
13. **Momentum Strength**: Hot/Cold status
## MMPD Value Classifications
- **EXTREME PREMIUM (>90) ⚠️**: Extremely overbought
- **HIGH PREMIUM (80-90) ↗**: Strong bullish (caution)
- **PREMIUM (65-80) ↗**: Healthy bullish zone
- **LIGHT PREMIUM (50-65) →**: Mild bullish territory
- **LIGHT DISCOUNT (35-50) →**: Mild bearish territory
- **DISCOUNT (20-35) ↘**: Healthy bearish zone
- **HIGH DISCOUNT (10-20) ↘**: Strong bearish (caution)
- **EXTREME DISCOUNT (<10) ⚠️**: Extremely oversold
## Action Zone Classifications
- **MASSIVE BUY/SELL ZONE ★★★**: Very strong bias (Strength >5.0)
- **STRONG BUY/SELL ZONE ★★**: Strong bias (Strength >3.0)
- **MEDIUM BUY/SELL ZONE ★**: Moderate bias (Strength >2.0)
- **LIGHT BUY/SELL ZONE ⋆**: Mild bias (Strength >1.0)
- **SUPER LIGHT BUY/SELL ZONE ·**: Weak bias (Strength <1.0)
- **NEUTRAL ZONE**: No clear directional bias
## Visual Signals
1. **Triangle Markers**: HVC system directional signals (up/down)
2. **Sequential Stars (★)**: Advanced confirmation signals following trend changes
3. **High Volume Highlighting**: Optional candle emphasis for volume events
## Entry Conditions
### Strong Buy Setup
- MMPD Values: PREMIUM or LIGHT PREMIUM
- Hot/Cold Status: "⚠️ Strong Bullish (Cold)" or "↗️ Bullish Momentum"
- Action Zone: MASSIVE or STRONG BUY ZONE
- Volume Strength: High or Medium
- Current Trend: Strong Bullish or Bullish
### Strong Sell Setup
- MMPD Values: DISCOUNT or LIGHT DISCOUNT
- Hot/Cold Status: "⚠️ Strong Bearish (Cold)" or "↘️ Bearish Momentum"
- Action Zone: MASSIVE or STRONG SELL ZONE
- Volume Strength: High or Medium
- Current Trend: Strong Bearish or Bearish
## Exit Conditions
### Exit Long Positions When
- Hot/Cold Status changes to "⚠️ Strong Bullish (Hot)" or "↘️ Bearish Momentum"
- MMPD Values shows EXTREME PREMIUM or HIGH PREMIUM
- Action Zone changes to NEUTRAL ZONE or any SELL ZONE
- Current Trend shows "Bearish Reversal" or "Exiting Overbought"
### Exit Short Positions When
- Hot/Cold Status changes to "⚠️ Strong Bearish (Hot)" or "↗️ Bullish Momentum"
- MMPD Values shows EXTREME DISCOUNT or HIGH DISCOUNT
- Action Zone changes to NEUTRAL ZONE or any BUY ZONE
- Current Trend shows "Bullish Reversal" or "Exiting Oversold"
## Position Sizing Guidelines
- **Full Position (100%)**: Action Zone ★★★/★★, normal momentum, High volume
- **Reduced Position (50-75%)**: "Cold" signal, Action Zone ★, Medium volume
- **Small Position (25-50%)**: Action Zone ⋆, Medium/Low volume, mixed signals
- **No Position**: "Hot" signal, NEUTRAL zone, Low volume
## Special Trade Setups
### Reversal Setups
- **Bullish Reversal**: Transition from EXTREME DISCOUNT, Hot→Cold change, emerging buy signal, high volume
- **Bearish Reversal**: Transition from EXTREME PREMIUM, Hot→Cold change, emerging sell signal, high volume
### Continuation Setups
- **Bullish Continuation**: PREMIUM range, "Cold" signal, strong volume, timeframe alignment, clear Action Zone
- **Bearish Continuation**: DISCOUNT range, "Cold" signal, strong volume, timeframe alignment, clear Action Zone
## Sequential Stars System
- **Sequential Buy Signal**: Bullish star after bearish trend, volume confirmation
- **Sequential Sell Signal**: Bearish star after bullish trend, volume confirmation
## Best Practices
- Check multiple timeframes (prioritize when all align)
- Validate with volume (High >2.5x, Medium >1.2x)
- Assess trend quality (Strong ★★★, Confirmed ★★, Warning ⚠, Transition ↕)
- Handle inside bars/consolidation with additional confirmation
## Technical Considerations
- Based on closed candles for calculations
- Requires reliable volume data
- Higher sensitivity settings may produce more frequent signals
- Extreme readings indicate potential turning points
- Sequential stars require proper trend changes for activation
## Indicator Applicability
- **Markets**: Forex, Crypto, Stocks, Futures, Commodities
- **Timeframes**: 1H+ recommended, 4H/Daily for primary analysis
*Intended for use with the full MMM system. Trading decisions require proper knowledge and risk management.*
Black Tie Report FrameworkThe Black Tie Report Framework indicator is a market structure and bias analysis tool designed to provide traders with key price levels, session insights, and trend classification.
Key Features:
- Daily Separators: Automatically marks the start of each trading day for better session tracking.
- Bias Framework: Allows users to set a custom timeframe (e.g., daily, weekly, or monthly) to establish bullish, bearish, or neutral bias based on price action.
- Session Markers: Highlights key trading sessions such as Asia, London, and New York to identify volume shifts.
- Liquidity Levels: Plots significant highs and lows from different timeframes, helping traders focus on key liquidity zones.
- Automated Trend Identification: Uses predefined conditions to classify market direction and potential reversal points.
This framework is useful for traders looking to integrate objective market structure analysis into their strategy, eliminating noise and providing clear, actionable price levels for decision-making.
Shark 32 Pattern ProHello Traders!
The Shark32 pattern comprises multiple inside bars —each candle’s high/low is contained within the previous candle’s range—creating a tight consolidation zone. Once price breaks out, volatility frequently expands, producing sharper moves. The pattern is known for its relatively high continuation rate and the ability to offer tight risk/reward setups. It also calculates statistics, highlights stop/target levels, and offers fully customizable visuals so you can adapt the tool to your trading style.
Key Features :
Detects Shark 32 With Unlimited Inside Bars:
Automatically spots consecutive inside candles (not limited to just two), enabling you to catch more nuanced patterns.
Highlights Breakout:
Clear visual lines and labels mark where price breaks above/below the pattern boundary.
Stop-Loss & Profit Targets:
Draws a suggested stop-loss line and a projected target line, helping you manage risk and set profit objectives quickly.
Statistics & Analysis:
A built-in statistics table tracks pattern frequency, breakouts, stop-hits, target-hits, and more—helping you refine your strategy over time.
Fully Customizable Visuals:
Control line styles, colors, breakout labels, box fill, and more to fit your preference or chart theme.
Quick Resolutions:
This pattern forms fast and typically resolves within just a few bars, appealing to short-term traders.
Statistics at a Glance (based on Bulkowski's studies):
Continuation Bias : ~60% continuation bias.
Measured Move : 70%+ of bullish breakouts (in bull markets) reach the measured move.
Throwback : ~64% chance price retraces to the breakout level after an upside break.
Trend Alignment : Historically, success rates improve when trading in line with the larger trend.
How to Trade with This Indicator :
Identifying the Pattern : Wait till a Shark 32 pattern is formed.
Entry Rule : Enter on a confirmed close above the pattern high (for bullish) or below the pattern low (for bearish).
Stop Placement : Place stops a few ticks beyond the opposite side of the pattern. Tight ranges = small risk. Or use the mid-range of the pattern as a stop level.
Target Options : Aim for Risk/Reward Ratio of 2R or 3R to capture a strong follow-through. Alternatively, use the measured move of the first bar's height as a target.
Tips for Better Reliability:
Trend Alignment : Shark 32 breakouts usually work best in the direction of the broader market or trend.
Confirmation : Look for a significant volume increase at the breakout—helps filter out “fake” moves.
Throwback Awareness : ~64% of upside breakouts retest the pattern boundary; stay patient if you see a pullback.
Risk Management : Maintain tight stops and consider using alerts for activation/breakout signals.
Why This Indicator?
Clear Visuals : Highlights the pattern boundary, breakout lines, and potential stop/target levels.
Customizable : Lets you adjust line styles, risk parameters, alerts, and statistics display.
Statistical Edge : Built-in table aggregates pattern counts, success/failure rates, and average durations.
Final Thoughts:
This Shark 32 Pro indicator gives you a systematic way to spot—and trade—a compact yet powerful three-candle formation. Combine it with solid risk management and trend analysis for best results. Monitor volume and confirm breakouts with a candle close beyond the pattern’s range. While the pattern can fail, tight stops and clear targets help keep your trading efficient and disciplined.
LineReg Candles with Hma filterOverview
Purpose:
The indicator creates “LinReg Candles” by recalculating OHLC values using linear regression (to smooth out noise) and overlays additional features such as a customizable signal line and an HMA (Hull Moving Average) filter for trend detection. It also plots buy/sell signals and supports alerts.
Customization:
Users can adjust settings for signal smoothing (choosing SMA, EMA, or WMA), HMA periods (preset for Scalping/Intraday or custom values), linear regression length, colors, display options, and alert messages. Inputs are organized into groups for clarity.
Input Definitions
Signal Settings:
signal_length and smoothingType define the period and method used to smooth the close price, creating a signal line.
HMA Filter Settings:
A dropdown (t_type) lets you choose between Scalping, Intraday, or Custom. Based on this, three HMA periods (hma1, hma2, hma3) are set either to fixed values or user-defined custom inputs.
LinReg Settings:
Users can toggle linear regression for OHLC values (lin_reg) and set its period (linreg_length) to reduce price noise.
Color and Display Settings:
These control the colors for buy/sell candles, default bullish/bearish candles, markers, and background highlighting. Display toggles decide whether to show the background, signal line, HMA filter, and the recalculated candles.
Alert and Plot Customization:
Alerts can be enabled with custom messages. Additionally, line width and transparency for the plotted signal and HMA lines are adjustable.
Function Definitions
calcOHLC Function:
Computes OHLC values using linear regression if enabled. Otherwise, it returns the raw price values. This helps in reducing noise.
calcSignalLine Function:
Applies the chosen moving average (SMA, EMA, or WMA) to smooth the recalculated close values and generate a signal line.
getBaseCandleColor Function:
Determines the candle’s base color. It assigns buy/sell colors if specific crossover conditions are met; if not, it defaults to bullish (green) or bearish (red) based on the open/close relationship.
HMA Filter Calculations
HMA Computation:
The script calculates three HMAs (ma1, ma2, ma3) for different periods.
Trend Determination:
It sets a bullish condition (bcn) when ma3 is lower than both ma1 and ma2 with ma1 above ma2. Conversely, a bearish condition (scn) is set when ma3 is higher and the order of the HMAs indicates a downtrend.
Color Coding:
The HMA filter line color changes dynamically (green for bullish, red for bearish) based on these conditions.
Main Calculations
LinReg Candles:
Using the calcOHLC function, the script calculates the new open, high, low, and close values that reduce price noise.
Signal Line:
The signal line is computed on the basis of the smoothed close values using the selected moving average.
Buy/Sell Conditions:
Initial conditions are determined by checking if the recalculated close price crosses over (buy) or under (sell) the signal line.
The base candle color is then adjusted: if the HMA filter confirms the trend (bullish for buy or bearish for sell), the respective buy/sell colors are enforced.
A change in candle color compared to the previous bar triggers a buy or sell signal.
Plotting and Alerts
Visual Elements:
Background: Highlights the chart with a custom color when buy or sell conditions are met.
HMA Filter Line: Plotted (if enabled) with the dynamic color determined earlier.
Candles: The recalculated LinReg candles are drawn with colors based on the combined conditions.
Signal Line: Plotted over the candles with adjustable transparency and width.
Markers: Buy and sell markers are added to visually indicate signal points on the chart.
Alerts:
Alert conditions are set to trigger with predefined messages when a buy or sell signal is generated.
Modularity & Flexibility:
The code is structured with modular functions and clear grouping of inputs, making it highly customizable and user-friendly for open-source TradingView users.
Important how to track the real price on chart:
Locate the Chart Type Menu:
At the top of your TradingView chart, you’ll see a button showing the current chart type (likely a candlestick icon).
Select “Line” from the Dropdown:
Click that button and choose “Line” in the dropdown menu. This changes the main chart to a line chart of the real price.
Screenshots:
Volatility-Driven CandleThis indicator identifies and highlights "volatility-driven candles" on a price chart, based on their body size relative to market volatility. It calculates the Average True Range (ATR) over a 14-period window to measure volatility. A candle is considered "volatility-driven" if its body (the difference between the close and open prices) exceeds a user-defined threshold, which is specified as a multiple of the ATR.
The script distinguishes between bullish and bearish volatility-driven candles:
Bullish volatility-driven candles (where the close is greater than the open) are marked with a blue label.
Bearish volatility-driven candles (where the close is less than the open) are marked with an orange label.
Additionally, the background color of the chart is shaded:
Blue for bullish volatility-driven candles.
Orange for bearish volatility-driven candles.
This script helps traders easily spot significant price movements relative to volatility, highlighting potential reversal points based on candle body size.
Intrabar Volume Distribution [BigBeluga]Intrabar Volume Distribution is an advanced volume and order flow indicator that visualizes the buy and sell volume distribution within each candlestick.
🔔 Before Use:
Turn off the background color of your candles for clear visibility.
Overlay the indicator on the top layout to ensure accurate alignment with the price chart.
🔵 Key Features:
Inside Bar Volume Visualization:
Each candlestick is divided into two columns:
Left column displays the sell % volume amount.
Right column displays the buy % volume amount.
Provides a clear representation of buyer-seller activity within individual bars.
Percentage Volume Labels:
Labels above each bar show the percentage share of sell and buy volume relative to the total (100%).
Quickly assess market sentiment and volume imbalances.
Point of Control (POC) Levels:
Orange dashed lines mark the POC inside each bar, indicating the price level with the highest traded volume.
Helps identify key liquidity zones within individual candlesticks.
Multi-Timeframe Volume Analysis:
The indicator automatically uses a timeframe 20-30 times lower than the current one to gather detailed volume data.
For each higher timeframe candle, it collects 20-30 bars of lower timeframe data for precise volume mapping.
Each bar is divided into 100 volume bins to capture detailed volume distribution across the price range.
Bins are filled based on the aggregated volume from the lower timeframe data.
Lookback Period:
Allows traders to select how many bars to display with delta and volume information.
The beginning of the selected lookback period is marked with a gray line and label for quick reference.
Indicator displays up to 80 bars back
🔵 Usage:
Order Flow Analysis: Monitor buy/sell volume distribution to spot potential reversals or continuations.
Liquidity Identification: Use POC levels to locate areas of strong market interest and potential support/resistance.
Volume Imbalance Detection: Pay attention to percentage labels for quick recognition of buyer or seller dominance.
Scalping & Intraday Trading: Ideal for traders seeking real-time insight into order flow and volume behavior.
Historical Analysis: Adjust the lookback period to analyze past price action and volume activity.
Intrabar Volume Distribution is a powerful tool for traders aiming to gain deeper insight into market sentiment through detailed volume analysis, allowing for more informed trading decisions based on real-time order flow dynamics.
Hidden Order BlockThe Crystal Order Block Indicator is designed to help traders identify institutional order blocks with precision and reliability. By analyzing price action and volume behavior, this tool highlights high-probability zones where smart money has likely placed orders.
🔹 Key Features:
✅ Automated Order Block Detection – Identifies valid bullish & bearish order blocks based on price structure and volume dynamics.
✅ Unmitigated Order Block Filtering – Highlights fresh order blocks that haven’t been tapped, helping traders find high-probability trade setups.
✅ Smart Money Concepts (SMC) & ICT-Based Logic – Uses institutional trading principles to refine entry and exit points.
✅ Multi-Timeframe Compatibility – Works effectively on all timeframes, making it suitable for scalping, intraday, and swing trading.
✅ Customizable Alerts – Stay notified when a new order block forms, ensuring you never miss an opportunity.
✅ Risk Management Enhancement – Helps traders set precise stop-loss and take-profit levels based on institutional trading zones.
📌 How It Works:
The indicator scans price movements and detects areas where significant buying or selling pressure occurred, forming institutional order blocks. It then checks for mitigated vs. unmitigated order blocks, ensuring only the most relevant zones are displayed.
✔️ Bullish Order Blocks: Marked when a strong buying zone is detected, often acting as support.
✔️ Bearish Order Blocks: Identified in areas of strong selling pressure, often acting as resistance.
The indicator is optimized for Smart Money trading strategies, making it a valuable tool for traders who follow ICT, SMC, and VSA concepts.
🎯 How to Use It Effectively:
🔹 Entry Strategy: Wait for price to retest a fresh order block and confirm entry with additional confluences (e.g., volume spikes, price action signals).
🔹 Exit Strategy: Use order blocks as take-profit targets or stop-loss levels, improving risk-reward ratios.
🔹 Timeframe Recommendation: Best results on M30 and higher, but can be used on lower timeframes with additional confirmations.
🚀 What’s New in the Updated Version?
🔹 More Accurate Order Block Detection – Improved filtering for better precision.
🔹 Mitigation Tracking – Helps traders focus on fresh order blocks for higher success rates.
🔹 Better Visualization – Enhanced clarity for quick decision-making.
This indicator is a must-have for traders who want to trade like institutions and refine their trading strategy using smart money concepts.
CountdownsDisplays a table of countdowns of the current bar on different time frames.
It shows how much time is left until candle close if we were to change the chart to that time frame, but without the need to do so.
An adaptation of 'Countdown Candle RRS' by reza9300 (), including up to 10 customizable time frames, plus some additional table styling options.
Usage:
Add the indicator to your chart to see a table of countdown timers.
Adjust the settings to customize the appearance and to check / uncheck which time frames to include.
Notes:
Updates are based on price changes, so counters may appear 'frozen' or 'lagging' when there is no real time tick update in price.
SMA Crossover with RSI ConfirmationThis is a sniper entry indicator that provides Buy and Sell signals using other Indicators to give the best possible Entries
Moving Average Crossovers:
The indicator uses two moving averages: a short-term SMA (Simple Moving Average) and a long-term SMA.
When the short-term SMA crosses above the long-term SMA, it generates a buy signal (indicating potential upward momentum).
When the short-term SMA crosses below the long-term SMA, it generates a sell signal (indicating potential downward momentum).
RSI Confirmation:
The indicator incorporates RSI (Relative Strength Index) to confirm the buy and sell signals generated by the moving average crossovers.
RSI is used to gauge the overbought and oversold conditions of the market.
A buy signal is confirmed if RSI is below a specified overbought level, indicating potential buying opportunity.
A sell signal is confirmed if RSI is above a specified oversold level, indicating potential selling opportunity.
Dynamic Take Profit and Stop Loss:
The indicator calculates dynamic take profit and stop loss levels based on the Average True Range (ATR).
ATR is used to gauge market volatility, and the take profit and stop loss levels are adjusted accordingly.
This feature helps traders to manage their risk effectively by setting appropriate profit targets and stop loss levels.
Combining the information provided by these, the indicator will provide an entry point with a provided take profit and stop loss. The indicator can be applied to different asset classes. Risk management must be applied when using this indicator as it is not 100% guaranteed to be profitable.
OHLC OLHC - Monthly, Weekly, Daily and HourlyThis indicator plots the previous day's (or any selected timeframe’s) Open, High, Low, and Close (OHLC) levels on the current chart. It helps traders analyze historical price levels to identify support and resistance zones.
Key Features:
Multi-Timeframe Support:
Users can select a timeframe (D, W, M, etc.) to fetch previous OHLC data.
The script requests OHLC values from the selected timeframe and overlays them on the current chart.
Customizable Display Options:
Users can choose to display only the last OHLC levels instead of all past session levels.
Users can extend the OHLC lines across the chart.
Background Highlighting:
The script fills the background only for the Previous Open and Previous Close levels, making them visually distinct.
Previous High and Low levels do not have background color.
This script is particularly useful for day traders and swing traders who rely on key price levels to make trading decisions. Let me know if you need further refinements!
Trading Sessions with TableTrading Sessions with Table is a dynamic TradingView indicator that displays the status of major global trading sessions directly on your chart. The script features a customizable table listing key sessions—Sydney, Tokyo, London, and New York—along with their open and close times and current status ("Open" or "Closed").
Key features include:
Custom Time Inputs: Easily set your session times by entering HH:MM formatted strings.
Dynamic Timestamps: The script calculates session timestamps for the current day and automatically adjusts for sessions that span midnight.
Visual Cues: Active sessions are highlighted with distinct background colors for quick reference.
Alert Conditions: Built-in alerts notify you when each session starts and ends, so you can stay informed of market shifts.
Ideal for traders managing multi-market strategies, this tool offers a clear, at-a-glance overview of session activity and helps streamline your trading decisions across different time zones.
candle stats v1Objective:
Capture sequential/subsequent candle's relative properties
Average observations to represent the landscape of the marketplace
Parameters:
"range" : high-low
"overlap" : range - range
"wick_body_ratio" : (range - abs(open-close))/range
"up_count" for "period" : number of occurrences where consecutive candles have low>low . (note: the values are not cumulative over period)
*"down_count" for "period" : number of occurrences where consecutive candles have high<high . (note: the values are not cumulative over period)
** the last counter includes the value for "period" and all above
Basic inferences:
mean_range could be used to derive at an appropriate hard-stoploss
high wick to body ratio indicates healthy buzzing market, ie, each candle has a high frequency standing wave within it. a lower value indicates that the timeframe is ordered and highly directional
low overlap indicates trend definition/resolution
the counters show how likely or unlikely a run up or run down of a particular length is
a combination of counter and mean_range could be used to derive at an appropriate take profit
Use case:
to determine the appropriate timeframe to develop or apply a strategy
Future enhancements:
more complex relationships such as higher highs and lower lows
frequency of oscillations
Gap Detector RSTThis script detects and visualizes price gaps in the market using customizable settings. It identifies bullish and bearish gaps over a specified lookback period and marks them with clearly defined boxes. Users can adjust the minimum gap percentage threshold and customize colors for better visibility.
Advanced Candlestick Pattern DetectorWhat Does This Indicator Do?
This indicator looks at the way price moves in the market using candlesticks (those red and green bars you see on charts). It tries to find special patterns like Bullish Engulfing, Hammer, Doji, and others. When one of these patterns shows up, the indicator checks a bunch of filters to decide if the pattern is strong enough to be a signal to buy or sell.
The Main Parts of the Indicator
1. Candlestick Pattern Detection
Bullish Engulfing:
Imagine you see a small down candle (red) and then a big up candle (green) that completely “covers” the red one. That’s a bullish engulfing pattern. It can signal that buyers are taking over.
Bearish Engulfing:
The opposite of bullish engulfing. A small up candle (green) is followed by a big down candle (red) that covers the previous candle. This suggests sellers might be in control.
Hammer & Shooting Star:
Hammer: A candle with a very short body and a long shadow at the bottom. It shows that buyers stepped in after a drop.
Shooting Star:
Similar to the hammer but with a long shadow on top. It can indicate that sellers are starting to push the price down.
Doji:
A candle with almost no body. This means the opening and closing prices are very close. It shows indecision in the market.
Harami Patterns (Bullish & Bearish):
These are two-candle patterns where the second candle is completely inside the body of the first candle. They signal that the previous trend might be about to change.
Morning Star & Evening Star:
These are three-candle patterns.
Morning Star:
Often seen at the bottom of a downtrend, it can signal a reversal to an uptrend.
Evening Star:
Seen at the top of an uptrend, it can signal that the price may soon go down.
2. Filters: Making the Signals Smarter
The indicator doesn’t just rely on patterns. It uses several “filters” to decide if a pattern is strong enough to trade on. Here’s what each filter does:
a. Adaptive Thresholds (ATR-Based)
What It Is:
The indicator uses something called ATR (Average True Range) to see how much the price is moving (volatility).
How It Works:
Instead of using fixed numbers to decide if a candle is a Hammer or a Doji, it adjusts these numbers based on current market activity.
User Settings:
Use Adaptive Thresholds: Turn this on to let the indicator adjust automatically.
Body Factor, Shadow Factor, Doji Factor: These numbers are multipliers that decide how small or big the body and shadows of the candle should be. You can change them if you want the indicator to be more or less sensitive.
b. Volume Filter
What It Is:
Volume shows how many trades are happening.
How It Works:
The filter checks if the current volume is higher than the average volume (multiplied by a set factor). This helps ensure that the signal isn’t coming from a very quiet market.
User Settings:
Use Volume Filter: Turn this on if you want to ignore signals when there’s not much trading.
Volume MA Period & Volume Multiplier: These settings determine what “normal” volume is and how much higher the current volume must be to count.
c. Multi-Timeframe Trend Filter
What It Is:
This filter looks at a bigger picture by using a moving average (MA) from a higher timeframe (for example, daily charts).
How It Works:
For a bullish (buy) signal, the indicator checks if the price is above this MA.
For a bearish (sell) signal, the price must be below the MA.
User Settings:
Use Multi-Timeframe Trend Filter: Enable or disable this filter.
Higher Timeframe for Trend: Choose which timeframe (like Daily) to use.
Trend MA Type (SMA or EMA) & Trend MA Period: Choose the type of moving average and how many candles to average.
d. Additional Trend Filters (ADX & RSI)
ADX Filter:
What It Is:
ADX stands for Average Directional Index. It measures how strong a trend is.
How It Works:
If the ADX is above a certain threshold, it means the trend is strong.
User Setting:
ADX Threshold: Set the minimum strength the trend should have.
RSI Filter:
What It Is:
RSI (Relative Strength Index) tells you if the price is overbought (too high) or oversold (too low).
How It Works:
For a buy signal, RSI should be low (under a set threshold).
For a sell signal, RSI should be high (above a set threshold).
User Settings:
RSI Buy Threshold & RSI Sell Threshold: These set the levels for buying or selling.
3. How the Final Signal Is Determined
For a signal (buy or sell) to be generated, the indicator first checks if one of the candlestick patterns is present. Then it goes through all these filters (trend, volume, ADX, RSI). Only if everything is in line will it show:
A BUY signal when all bullish conditions are met.
A SELL signal when all bearish conditions are met.
4. Visual Elements on the Chart
Trend MA Line:
A blue line is drawn on your chart showing the moving average from the higher timeframe (if you enable the trend filter). This helps you see the overall direction of the market.
Labels on the Chart:
When a signal is detected, you’ll see:
A BUY label below the candle (green).
A SELL label above the candle (red).
Background Colors:
The chart background might change slightly (green for bullish and red for bearish) to give you a quick visual cue.
Histogram:
At the bottom, there is a histogram that shows +1 for bullish signals, -1 for bearish signals, and 0 when there’s no clear signal.
5. Alerts
Alerts are built into the indicator so you can get a notification when a signal appears. The alert messages are fixed strings, meaning they always say something like “BUY signal on at price .” You can set up these alerts in TradingView to be notified via sound, email, or pop-up.
How to Use and Adjust the Filters
Deciding on Patterns:
You can choose which candlestick patterns you want to detect by toggling the options (e.g., Bullish Engulfing, Hammer, etc.).
Adjusting Adaptive Thresholds:
If you feel that the indicator is too sensitive (or not sensitive enough) during volatile times, adjust the Body Factor, Shadow Factor, and Doji Factor. These change how the indicator recognizes different candle shapes based on market movement.
Volume Filter Settings:
Use Volume Filter:
Turn this on if you want to ignore signals when there’s not enough trading activity.
Adjust the Volume MA Period and Volume Multiplier to change what “normal” volume is for your chart.
Multi-Timeframe Trend Filter Settings:
Choose a higher timeframe (like Daily) to see the bigger picture trend. Select the type of moving average (SMA or EMA) and its period. This filter ensures you only trade in the direction of the overall trend.
ADX & RSI Filters:
ADX:
Adjust the ADX Threshold if you want to change the minimum strength of the trend needed for a signal.
RSI:
Set the RSI Buy Threshold (for oversold conditions) and RSI Sell Threshold (for overbought conditions) to refine when a signal is valid.
Summary
This indicator is like having a smart assistant that not only looks for specific price patterns (candlesticks) but also checks if the overall market conditions are right using several filters. By combining:
Pattern Detection
Adaptive thresholds (based on ATR)
Volume Checks
Multi-Timeframe Trend Analysis
Additional Trend Strength and Overbought/Oversold Indicators (ADX & RSI)
...it helps you decide if it might be a good time to buy or sell. You can customize each part to fit your trading style, and with the built-in alerts, you can be notified when everything lines up.
Feel free to adjust the settings to see how each filter changes the signals on your chart. Experimenting with these will help you learn how the market behaves and how you can best use the indicator for your own strategy!
Daily True Range (DTR) vs Average True Range (ATR)Overview
The "DTR vs ATR with Color-Coded Percentage" indicator is a powerful volatility analysis tool designed for traders who want to understand daily price movements in the context of historical volatility. It calculates the Daily True Range (DTR)—the raw measure of a single day’s volatility—and compares it to the Average True Range (ATR), which smooths volatility over a user-defined period (default 14 days). The indicator presents this data in an intuitive table, featuring a color-coded percentage that visually represents how the current day’s move (DTR) stacks up against the average volatility (ATR). This helps traders quickly assess whether the current day’s price action is unusually volatile, average, or subdued relative to recent history.
Purpose
Volatility Comparison: Visualize how the current day’s price range (DTR) relates to the average range (ATR) over a specified period.
Decision Support: Identify days with exceptional movement (e.g., breakouts or reversals) versus normal or quiet days, aiding in trade entry/exit decisions.
Risk Management: Gauge daily volatility to adjust position sizing or stop-loss levels based on whether the market is exceeding or falling short of typical movement.
Features
Daily True Range (DTR) Calculation:
Computes the True Range for the current day as the greatest of:
Current day’s High - Low
High - Previous Close
Low - Previous Close
Aggregates data on any timeframe to ensure accurate daily values.
Average True Range (ATR):
Calculates the smoothed average of DTR over a customizable period (default 14 days) using Wilder’s smoothing method.
Updates in real-time as the day progresses.
Timeframe Flexibility: Works on any chart timeframe (e.g., 1-minute, 1-hour) while always calculating DTR and ATR based on daily data.
Color-Coded Display in either compact or table mode
The percentage value is color-coded in the table based on configurable thresholds:
Safe (default 75): Normal range, within typical volatility
Warning: (default 75-125): Above-average volatility.
Danger (default 125): Exceptionally high volatility
Oracle Ema : sma simple Indicator: Gradient Moving Average with Table
Overview
The Gradient Moving Average with Table is a visual-enhanced moving average indicator that dynamically changes its color based on price movements. It provides a smooth gradient effect on the moving average line and includes a table that indicates whether the price is above or below the MA, using turquoise and pink colors for clear visibility.
🔹 Key Features
✅ Dynamic Gradient Effect on EMA/SMA
The moving average line gradually changes color based on price movement.
Fuchsia (pink) when the MA is decreasing.
Blue when the MA is increasing.
✅ Price Position Table (Top-Right Corner)
Displays whether the price is above (turquoise) or below (pink/fuchsia) the moving average.
Adapts automatically based on EMA or SMA selection.
✅ Customizable Inputs
Choose EMA or SMA as the base moving average.
Adjust gradient intensity to control color transparency.
Toggle the table display ON/OFF.
📊 How It Works
1️⃣ The script calculates a moving average (SMA or EMA).
2️⃣ It determines price movement (uptrend or downtrend) based on price difference.
3️⃣ A gradient color effect is applied dynamically:
The more volatile the movement, the stronger the gradient effect.
Less transparency for strong trends, more transparency for stable zones.
4️⃣ A real-time table shows whether the price is above or below the MA, with colors:
Turquoise (Above)
Pink/Fuchsia (Below)
🛠 Customization Options
Moving Average Type: Select EMA or SMA.
Gradient Intensity: Adjust the transparency and color effect strength.
Table Display: Toggle the table ON or OFF.
🎯 Ideal For
Traders who want a clear visual representation of market trends.
Scalpers and swing traders needing quick trend recognition.
Users who prefer color-coded visual aids over complex charts.
This indicator enhances traditional moving averages with a modern gradient effect and real-time status updates for quick decision-making. 🚀
Three Bar Reversal Pattern [ActiveQuants]This indicator identifies bullish and bearish three-bar reversal patterns , offering traders a visual tool to spot potential trend reversals. By analyzing consecutive candlesticks, volume trends, and candlestick morphology, it highlights signals while filtering out false patterns. Ideal for traders using price action strategies, it simplifies pattern recognition and enhances decision-making with customizable parameters.
█ KEY FEATURES
Pattern Detection Logic :
Bullish Reversals : Detects two consecutive bearish candles followed by a bullish candle that closes above the open of the first bearish candle .
Bearish Reversals : Identifies two consecutive bullish candles followed by a bearish candle that closes below the open of the first bullish candle .
Volume Confirmation :
Filters signals using a Volume SMA (user-defined length) to ensure reversals occur with above-average volume, adding validity to the pattern.
Candlestick Filtering :
Shooting Star Filter : Discards bullish patterns if the third candle is a Shooting Star (body confined to the lower portion of the candle’s range, adjustable via Shooting Star Body Limit ).
Hammer Filter : Discards bearish patterns if the third candle is a Hammer (body confined to the upper portion of the candle’s range, adjustable via Hammer Body Limit ).
Customizable Display :
Toggle visibility of bullish/bearish patterns and customize their colors.
Adjust the Show Last parameter to limit plotted labels to recent bars.
Alerts Integration :
Separate Bullish/Bearish Alerts : Generate independent alerts for bullish and bearish patterns. Traders can selectively enable one or both alerts via TradingView’s alert system.
Real-time notifications ensure you never miss a potential reversal signal.
█ CONCLUSION
The Three Bar Reversal Pattern Indicator streamlines the identification of reversal setups by combining candlestick patterns, volume analysis, and customizable filters. Its focus on price action dynamics makes it invaluable for traders seeking to capitalize on trend exhaustion or market sentiment shifts.
█ IMPORTANT NOTES
⚠ Use with Confluence : Reversal signals should be validated with additional tools like support/resistance levels, trendlines, or momentum oscillators.
⚠ Adapt Parameters : Adjust Volume SMA Length , Show Last , and body limits ( Shooting Star Body Limit and Hammer Body Limit ) to suit your timeframe and asset volatility.
█ RISK DISCLAIMER
Trading involves significant risk, and you may lose capital. Past performance is not indicative of future results. This tool provides informational signals only and does not constitute financial advice. Use it at your own risk and consult a qualified financial professional before making trading decisions.
Incorporate this indicator into your strategy to refine reversal entries, manage risk, and align with market momentum.
📈 Happy trading! 🚀
TRI IndicatorTRI Indicator Description for TradingView
Overview:
The TRI (Trend Reversal Indicator) is a simple yet effective trend-following indicator designed to highlight potential trend reversals in the market. It dynamically changes the color of candles to visually indicate the start of an uptrend or downtrend, helping traders identify potential trade opportunities.
How It Works:
Uptrend Detection:
An uptrend is confirmed when the current closing price is above the previous high.
The high and low of the current candle must also be higher than the previous candle.
When this condition is met for the first time, the candle turns blue to indicate the beginning of an uptrend.
Downtrend Detection:
A downtrend is confirmed when the current closing price is below the previous low.
The high and low of the current candle must also be lower than the previous candle.
When this condition is met for the first time, the candle turns orange to indicate the beginning of a downtrend.
Candle Coloring Logic:
The first candle that meets the uptrend condition is colored blue.
The first candle that meets the downtrend condition is colored orange.
Subsequent candles remain unchanged until a new trend starts.
Key Features:
✅ Trend Reversal Detection: Helps traders spot potential shifts in market direction.
✅ Clear Visual Representation: Blue candles for new uptrends and orange candles for new downtrends.
✅ No Repainting: The indicator applies logic to ensure stable signals without repainting historical data.
✅ User-Friendly: No complicated inputs—works out of the box for traders of all levels.
How to Use:
Use the indicator on any timeframe (works best on higher timeframes for trend confirmation).
Combine with other indicators (like RSI, MACD, or volume analysis) for better trade decisions.
Apply it to different assets, including stocks, forex, and crypto markets.
ICT Liquidity Levels [TakingProphets]Overview
This indicator is designed to dynamically identify and display key liquidity levels—areas where market participants are likely to engage. By analyzing price swing points, it highlights potential support and resistance zones that can signal reversals or breakouts. The script distinguishes between buyside and sellside liquidity levels, presenting them with customizable visual cues and labels for immediate clarity.
How It Works
Swing Point Detection:
The indicator uses a pivot-based method (with a configurable “Base Swing Strength”) to detect swing highs and lows. Each detected swing is evaluated for its “swing size” (percentage price movement), and if it exceeds a user-defined threshold, the level is classified as major.
Level Creation and Classification:
Overview
Built on core ICT principles, this indicator identifies key liquidity zones—areas where market imbalances can lead to liquidity sweeps. By dynamically analyzing swing points, it offers traders a real-time view of where liquidity is clustering, allowing for a deeper understanding of market structure. 🚀
How It Works
Swing Point Detection 🔍
• Uses a pivot-based method with a configurable “Base Swing Strength” to detect significant price swings.
• Calculates the swing size (percentage change) to flag zones that exceed the “Major Level Threshold” as major liquidity zones.
Level Creation & Classification 🛠️
• Buyside Liquidity Levels (BSL):
Identified from swing highs, marking zones where buying liquidity clusters.
• Sellside Liquidity Levels (SSL):
Identified from swing lows, highlighting zones of concentrated selling liquidity.
• Each zone is stored with its price, bar index, and classification (major or standard) before being drawn as a horizontal line on the chart.
Dynamic Level Management 🔄
• Extension: Liquidity lines automatically extend from their detection point to the current bar.
• Consolidation: When levels are close in price, the script merges them—updating labels (e.g., “REQH” or “REQL”) to denote unified liquidity zones.
• Traded-Through Detection: Adjusts or removes levels if the market moves beyond them, based on your settings.
• Age-Based Cleanup: Inactive zones are automatically removed after a set number of bars to maintain clarity.
Customization Options ⚙️
Visual Settings:
• Choose from solid, dashed, or dotted line styles and adjust line width.
• Option to display labels with customizable placement (left or right) for optimal clarity.
Color & Opacity:
• Set distinct colors for buyside and sellside liquidity zones.
• Configure opacity for zones that have been traded through, keeping them visible yet de-emphasized.
Detection & Cleanup Parameters:
• Adjust “Base Swing Strength” to control pivot detection sensitivity.
• Set the “Major Level Threshold %” to filter for significant liquidity zones.
• Decide whether to retain or remove zones once price moves through them.
• Define how many bars should pass before inactive zones are automatically deleted.
How to Use 🚀
Apply the Indicator:
Simply add the script to your chart—it automatically detects and marks key liquidity zones based on recent price action.
Adjust Inputs:
Fine-tune parameters like swing strength, threshold percentages, and visual settings to match the asset’s characteristics and your trading strategy.
Interpret the Visuals:
• Major Liquidity Zones:
Highlighted with thicker lines and distinct labels (e.g., “Major BSL/SSL”), indicating areas of heightened liquidity concentration.
• Consolidated Zones:
Merged labels (e.g., “REQH/REQL”) denote unified liquidity zones where clustering is significant.
• Traded-Through Zones:
Changes in opacity signal that the market has moved beyond a previously identified liquidity zone.
Underlying ICT Concepts 💡
Liquidity Pools & Sweeps:
Focused on identifying where liquidity is concentrated, the indicator aligns with ICT methodologies that highlight zones crucial for liquidity sweeps.
Pivot Analysis for Liquidity:
Enhances traditional pivot detection to spotlight liquidity clusters, providing a deeper insight into market structure.
Real-Time Adaptation:
With continuous updates and built-in cleanup, the indicator ensures that liquidity zones accurately reflect current market conditions.