Trend Continuation RatioThis TradingView indicator calculates the likelihood of consecutive bullish or bearish days over a specified period, giving insights into day-to-day continuation patterns within the market.
How It Works
Period Length Input:
The user sets the period length (e.g., 20 days) to analyze.
After each period, the counts reset, allowing fresh data for each new interval.
Bullish and Bearish Day Definitions:
A day is considered bullish if the closing price is higher than the opening price.
A day is considered bearish if the closing price is lower than the opening price.
Count Tracking:
Within each specified period, the indicator tracks:
Total Bullish Days: The number of days where the close is greater than the open.
Total Bearish Days: The number of days where the close is less than the open.
Bullish to Bullish Continuations: Counts each instance where a bullish day is followed by another bullish day.
Bearish to Bearish Continuations: Counts each instance where a bearish day is followed by another bearish day.
Calculating Continuation Ratios:
The Bullish Continuation Ratio is calculated as the percentage of bullish days that were followed by another bullish day:
Bullish Continuation Ratio = (Bullish to Bullish Continuations /Total Bullish Days)×100
Bullish Continuation Ratio=( Total Bullish Days/Bullish to Bullish Continuations )×100
The Bearish Continuation Ratio is the percentage of bearish days followed by another bearish day:
Bearish Continuation Ratio = (Bearish to Bearish Continuations/Total Bearish Days)×100
Bearish Continuation Ratio=( Total Bearish Days/Bearish to Bearish Continuations )×100
Display on Chart:
The indicator displays a table in the top-right corner of the chart with:
Bullish Continuation Ratio (%): Percentage of bullish days that led to another bullish day within the period.
Bearish Continuation Ratio (%): Percentage of bearish days that led to another bearish day within the period.
Usage Insights
High Ratios: If the bullish or bearish continuation ratio is high, it suggests a trend where bullish/bearish days often lead to similar days, indicating possible momentum.
Low Ratios: Low continuation ratios indicate frequent reversals, which could suggest a range-bound or volatile market.
This indicator is helpful for assessing short-term trend continuation tendencies, allowing traders to gauge whether they are more likely to see follow-through on bullish or bearish days within a chosen timeframe.
Chart patterns
Average Up and Down Candles Streak with Predicted Next CandleThis indicator is designed to analyze price trends by examining the patterns of up and down streaks (consecutive bullish or bearish candles) over a defined period. It uses this data to provide insights on whether the next candle is likely to be bullish or bearish, and it visually displays relevant information on the chart.
Here’s a breakdown of what the indicator does:
1. Inputs and Parameters
Period (Candles): Defines the number of candles used to calculate the average length of bullish and bearish streaks. For example, if the period is set to 20, the indicator will analyze the past 20 candles to determine average up and down streak lengths.
Bullish/Bearish Bias Signal Toggle: These options allow users to show or hide visual signals (green or red circles) when there’s a bullish or bearish bias in the trend based on the indicator’s calculations.
2. Streak Calculation
The indicator looks at each candle within the period to identify if it closed up (bullish) or down (bearish).
Up Streak: The indicator counts consecutive bullish candles. When there’s a bearish candle, it resets the up streak count.
Down Streak: Similarly, it counts consecutive bearish candles and resets when a bullish candle appears.
Averages: Over the defined period, the indicator calculates the average length of up streaks and average length of down streaks. This provides a baseline to assess whether the current streak is typical or extended.
3. Current and Average Streak Display
The indicator displays the current up and down streak lengths alongside the average streak lengths for comparison. This data appears in a table on the chart, allowing you to see at a glance:
The current streak length (for both up and down trends)
The average streak length for up and down trends over the chosen period
4. Trend Prediction for the Next Candle
Next Candle Prediction: Based on the current streak and its comparison to the average, the indicator predicts the likely direction of the next candle:
Bullish: If the current up streak is shorter than the average up streak, suggesting that the bullish trend could continue.
Bearish: If the current down streak is shorter than the average down streak, indicating that the bearish trend may continue.
Neutral: If the current streak length is near the average, which could signal an upcoming reversal.
This prediction appears in a table on the chart, labeled as “Next Candle.”
5. Previous Candle Analysis
The Previous Candle entry in the table reflects the last completed candle (directly before the current candle) to show whether it was bullish, bearish, or neutral.
This data gives a reference point for recent price action and helps validate the next candle prediction.
6. Visual Signals and Reversal Zones
Bullish/Bearish Bias Signals: The indicator can plot green circles on bullish bias and red circles on bearish bias to highlight points where the trend is likely to continue.
Reversal Zones: If the current streak length reaches or exceeds the average, it suggests the trend may be overextended, indicating a potential reversal zone. The indicator highlights these zones with shaded backgrounds (green for possible bullish reversal, red for bearish) on the chart.
Summary of What You See on the Chart
Bullish and Bearish Bias Signals: Green or red circles mark areas of expected continuation in the trend.
Reversal Zones: Shaded areas in red or green suggest that the trend might be about to reverse.
Tables:
The Next Candle prediction table displays the trend direction of the previous candle and the likely trend of the next candle.
The Streak Information table shows the current up and down streak lengths, along with their averages for easy comparison.
Practical Use
This indicator is helpful for traders aiming to understand trend momentum and potential reversals based on historical patterns. It’s particularly useful for swing trading, where knowing the typical length of bullish or bearish trends can help in timing entries and exits.
Implied Fair Value Gap (IFVG) ICT [TradingFinder] Hidden FVG OTE🔵 Introduction
The Implied Fair Value Gap (IFVG) is distinctive due to its unique three-candlestick formation, which differentiates it from conventional Fair Value Gaps.
Implied fair value represents an estimated worth of an asset—often a business or its goodwill—based on the price likely to be received in a structured transaction between market participants at a specific point in time.
In the ever-evolving world of technical analysis, pinpointing price reversal points and market anomalies can significantly enhance trading strategies and decision-making for traders and investors. Among the advanced concepts gaining traction in this field is the Implied Fair Value Gap (IFVG), introduced by the renowned analyst Inner Circle Trader (ICT).
This tool has proven to be an effective method for identifying hidden supply and demand zones in financial markets, offering a unique edge to traders looking for high-probability setups.
Unlike traditional gaps that are visible on price charts, IFVG is a hidden gap that doesn’t appear explicitly on the chart and thus requires specialized technical analysis tools for accurate identification.
This hidden gap can signal potential price reversals and offers traders insight into high-liquidity areas where price is likely to react. This article will guide you through using the ICT Implied Fair Value Gap Indicator effectively, covering its settings, usage strategies, and key features to help you make informed decisions in the market.
🟣 Bullish Implied FVG
🟣 Bearish Implied FVG
🔵 How to Use
The IFVG indicator is designed to assist traders in recognizing hidden support and resistance zones by identifying Bullish and Bearish IFVG patterns. With this tool, traders can make better-informed decisions about suitable entry and exit points for their trades based on these patterns.
🟣 Bullish Implied Fair Value Gap
This pattern occurs in an uptrend when a large bullish candlestick forms, with the wicks of the previous and following candles overlapping the body of the central candlestick.
This overlap creates a demand zone or a hidden support level, which can act as an ideal entry point for buy trades. Often, when the price returns to this area, it is likely to resume its upward trend, presenting a profitable buying opportunity.
🟣 Bearish Implied Fair Value Gap
This pattern is similar but forms in downtrends. Here, a large bearish candlestick appears on the chart, with the wicks of adjacent candles overlapping its body. This overlap defines a supply zone or a hidden resistance level and serves as a signal for potential sell trades.
When the price returns to this zone, it often continues its downward trend, providing an optimal point for entering sell trades.
The IFVG indicator also includes various filters that traders can use to refine their analysis based on market conditions. These filters, including Very Aggressive, Aggressive, Defensive, and Very Defensive, allow users to customize the IFVG zones' width, offering flexibility according to the trader’s risk tolerance and trading style.
🟣 Example Trading Scenarios
Suppose you’re in a strong uptrend and the IFVG indicator identifies a Bullish IFVG zone. In this scenario, you could consider entering a buy trade when the price retraces to this zone, expecting the uptrend to resume. Conversely, in a downtrend, a Bearish IFVG zone can signal a favorable entry point for short trades when the price revisits this area.
🔵 Settings
Implied Block Validity Period: This parameter specifies the validity period of each identified block, taking into account the number of bars that have passed since its formation. Proper adjustment of this period helps traders focus only on relevant zones, increasing the accuracy of the analysis.
Mitigation Level OB : This option defines the mitigation level for supply and demand blocks (Order Blocks), with settings including Proximal, 50% OB, and Distal.
Depending on the selected level, the indicator will focus on closer, mid-range, or farther points for block identification, allowing traders to adjust for the level of precision required.
Implied Filter : Activating this filter allows traders to apply conditions based on the width of the IFVG zones. With options like Very Aggressive and Very Defensive, traders can control the width of IFVG zones to suit their risk management strategy—whether they prefer high-risk setups or low-risk setups.
Display and Color Settings : This section enables users to customize the appearance of the IFVG zones on their charts. Traders can set different colors for Bullish and Bearish zones, allowing for easier distinction and improved visualization.
Alert Settings : One of the standout features of the IFVG indicator is the alert system. By setting up alerts, users can be notified whenever the price approaches a demand or supply zone.
Alerts can be customized to trigger Once Per Bar (one alert per bar) or Per Bar Close (alert at the close of each bar), ensuring that traders stay updated on critical price movements without needing to monitor the chart continuously.
🔵 Conclusion
The ICT Implied Fair Value Gap (IFVG) indicator is a powerful and sophisticated tool in technical analysis, allowing professional traders to identify hidden supply and demand zones and use them as entry and exit points for buy and sell trades.
This indicator’s automatic detection of IFVG zones helps traders uncover hidden trading opportunities that can enhance their analysis.
While the IFVG indicator offers numerous advantages, it is important to use it in conjunction with other technical analysis tools and sound risk management practices.
IFVG alone does not guarantee profitability in trading; it works best when combined with other indicators such as volume analysis and trend-following indicators for a comprehensive trading strategy.
Globex Trap ZoneGlobex Trap Indicator
A powerful tool designed to identify potential trading opportunities by analyzing the relationship between Globex session ranges and Supply & Demand zones during regular trading hours.
Key Features
Tracks and visualizes Globex session price ranges
Identifies key Supply & Demand zones during regular trading hours
Highlights potential trap areas where price might experience significant reactions
Fully customizable time ranges and visual settings
Clear labeling of Globex highs and lows
How It Works
The indicator tracks two key periods:
Globex Session (Default: 6:00 PM - 9:30 AM)
Monitors overnight price action
Marks session high and low
Helps identify potential range breakouts
Supply & Demand Zone (Default: 8:00 AM - 11:00 AM)
Tracks price action during key market hours
Identifies potential reaction zones
Helps spot institutional trading areas
Best Practices for Using This Indicator
Use on 1-hour timeframe or lower for optimal visualization
Best suited for futures and other instruments traded during Globex sessions
Pay attention to areas where Globex range and Supply/Demand zones overlap
Use in conjunction with your existing trading strategy for confirmation
Recommended minimum of 10 days of historical data for context
Settings Explanation
Globex Session: Customizable time range for overnight trading session
Supply & Demand Zone: Adjustable time range for regular trading hours
Days to Look Back: Number of historical days to display (default: 10)
Visual Settings: Customizable colors and transparency for both zones
Important Notes
All times are based on exchange timezone
The indicator respects overnight sessions and properly handles timezone transitions
Historical data requirements: Minimum 10 days recommended
Performance impact: Optimized for smooth operation with minimal resource usage
Disclaimer
Past performance is not indicative of future results. This indicator is designed to be used as part of a comprehensive trading strategy and should not be relied upon as the sole basis for trading decisions.
Updates and Support
I actively maintain this indicator and welcome feedback from the trading community. Please feel free to leave comments or suggestions for improvements.
Previous 4-Hour and Previous Hourly High/LowDescription:
This script is designed to help traders identify recent support and resistance levels by displaying the Previous 4-Hour and Previous Hourly High/Low prices on the chart. By tracking the highs and lows of both the last completed 4-hour and hourly candles, this indicator provides a clear view of price action on short-term timeframes, useful for intraday analysis.
Functionality:
Previous 4-Hour High and Low: The script captures the highest and lowest prices of the last fully closed 4-hour candle, updating these levels at the beginning of each new 4-hour period.
Previous Hourly High and Low: Similarly, it records the high and low of the most recent completed hourly candle, refreshing at the start of each hour.
How to Use: With these levels displayed, traders can quickly spot areas of potential support and resistance, making this tool valuable for gauging short-term price action trends. The indicator is especially useful for those trading within shorter timeframes, such as scalpers or day traders, who benefit from knowing where prices have recently ranged.
The Previous 4-Hour High/Low is marked with Green and Red lines, while the Previous Hourly High/Low uses Blue and Orange lines, making each timeframe’s levels easily distinguishable.
This script offers a simple yet powerful addition to short-term trading setups, giving traders multi-timeframe insights to inform their trading decisions.
Dynamic Trading Strategy with Key Levels, Entry/Exit ManagementThis indicator provides a complete rule-based trading system, combining key levels, entry conditions, stop loss (SL), and take profit (TP) management. It’s designed to dynamically adapt to market conditions by identifying crucial support and resistance zones, determining entry points based on price action and volume, and calculating risk-based exit targets.
Key Features
Key Level Identification:
The indicator automatically identifies support and resistance levels based on recent price highs and lows within a customizable lookback period.
It adds a dynamic buffer around these levels using the Average True Range (ATR) to account for market volatility, ensuring the zones adjust to changing conditions.
Entry Conditions:
Bullish Entry: Triggers near the support zone when there’s upward price action, confirmed by volume spikes and bullish candlestick patterns (e.g., hammers, engulfing candles).
Bearish Entry: Triggers near the resistance zone when signs of rejection appear, confirmed by volume spikes and bearish candlestick patterns (e.g., shooting stars, bearish engulfing).
Entry zones are highlighted visually on the chart using green (bullish) and red (bearish) shaded boxes.
Stop Loss (SL) and Take Profit (TP):
Stop Loss: Calculated based on ATR multipliers, allowing you to set a volatility-adjusted risk level beyond the entry range.
Take Profit: Includes two profit-taking levels (TP1 and TP2), allowing for partial position exits. TP levels are calculated based on a reward-to-risk ratio, ensuring consistent profitability targets.
SL and TP levels are clearly marked with horizontal lines and labeled as SL, TP1, and TP2, helping you manage trade exits effectively.
Market Context Adaptability:
The indicator adapts to both trending and ranging market conditions. In trending markets, it favors trades that follow the trend, while in ranging markets, it focuses on reversals within the range boundaries.
Visual Aids:
Entry zones are highlighted with shaded boxes to indicate potential buy/sell regions.
SL, TP1, and TP2 levels are clearly drawn with labels, allowing for easy identification of exit points.
How to Use
Identify Key Levels: Look for support and resistance zones highlighted by the indicator on your chart.
Wait for Entry Conditions: When the price enters the entry range (marked by green or red boxes), wait for confirmation signals—such as volume spikes and candlestick patterns.
Manage Exits: Use the SL, TP1, and TP2 levels for structured trade management. Consider scaling out partially at TP1 and exiting fully at TP2.
Ideal For:
This indicator is suitable for traders who prefer a systematic approach to trading, with clear entry and exit rules. It is particularly helpful for those looking to balance risk and reward with well-defined take profit and stop loss levels.
Delta Volume-ATR ChangeDelta Volume-ATR Change Indicator
The Delta Volume-ATR Change Indicator is designed to analyze the effectiveness of volume in relation to price volatility by comparing the percentage change in volume with the percentage change in ATR over the last two bars. This indicator provides insights into how volume changes impact price movement, allowing traders to gauge the strength or weakness of market momentum based on volume efficiency.
Formula:
% Volume Change = (Volume - Volume ) / Volume * 100
% ATR Change = (ATR - ATR ) / ATR * 100
Delta = % Volume Change - % ATR Change
The result, Delta, shows the difference between the volume change and ATR change, with positive delta indicating a stronger volume impact and negative delta suggesting weaker volume support relative to price movement.
Features:
Multiple Display Styles: Choose from three visualization styles — Histogram, Line, or Columns — to display delta values in a way that best fits your analysis style.
Delta Smoothing: The smoothed Delta line (using an SMA with customizable length) provides a clearer trend of volume efficiency over time.
Color Coding: Delta bars change color based on direction — green for positive values and red for negative, allowing for quick visual assessment of volume effectiveness.
Applications:
Identify market conditions where high volume is driving price effectively (positive Delta).
Detect instances of low volume efficiency, where price changes may not be fully supported by volume (negative Delta).
Useful for short-term and swing traders looking to understand volume patterns in relation to volatility.
This indicator is a valuable tool for traders seeking to gain insights into volume and volatility interplay, helping improve timing and reliability in market entries and exits.
Uphorico Candle RangesThis script allows you to see the high and low prices of a specific previous timeframe directly on your TradingView chart. You can choose which previous period to view—previous month, week, day, or last Monday—and the script will plot two horizontal lines for the high and low prices of that period. These lines help you quickly identify key levels based on past performance.
Features of the Script:
1. Select Previous Timeframe: You can choose between:
• Month: Shows the high and low of the previous month.
• Week: Shows the high and low of the previous week.
• Day: Shows the high and low of the previous day.
• Monday: Shows the high and low of the most recent Monday.
2. Line Customization:
• Color: Choose different colors for the high and low lines.
• Thickness: Adjust the line thickness (1–5).
• Style: Choose from solid, dashed, or dotted lines.
3. Touch Source Candle Option:
• If enabled, the lines will start directly at the last candle of the selected timeframe (e.g., at the last candle of the previous month or week).
• If disabled, the lines will start from the current bar and extend to the right.
How It Works:
• The script retrieves the high and low prices from your selected previous timeframe and draws two horizontal lines (one for the high and one for the low).
• These lines provide a quick visual reference for key support and resistance levels based on past periods, making it easier to spot potential price action zones.
This tool is designed to be simple and customizable, helping you analyze past levels and make better trading decisions.
TrendWave VWAP Indicator with ATR-based SignalsThe TrendWave VWAP Indicator with ATR-Based Signals is a robust TradingView tool for traders who prioritize precision and adaptability. This indicator combines the Volume-Weighted Average Price (VWAP) with the Average True Range (ATR) to provide actionable entry and exit signals while dynamically filtering out sideways market conditions. Designed with flexibility in mind, the indicator offers extensive customization options to tailor signals and filtering to individual trading styles.
Key Features and Customizable Settings
VWAP Integration
VWAP offers a volume-weighted benchmark, ideal for tracking price trends in relation to average trading levels. Customization: Traders can enable or disable VWAP functionality via a toggle, allowing easy adjustments based on market conditions or strategy preferences.
ATR-Based Signal Levels
ATR provides volatility-based levels for precise entry and exit points by measuring average price range. Customization: Traders can set the ATR length (default: 14) and the multiplier (default: 1.5) for adjusting sensitivity. A sideways threshold can be set to control the ATR value at which the indicator pauses signals, helping to avoid low-volatility markets.
Signal Cooldown
To reduce noise in choppy conditions, a signal cooldown enforces a minimum number of bars between signals. Customization: The cooldown period (default: 10 bars) can be adjusted to match preferred trading frequency and discipline requirements.
Signal Logic
Long Entry: Activated when price crosses above the VWAP in a trending market. Cooldown applies to avoid consecutive signals.
Long Exit: Triggered when price crosses below the VWAP.
Short Entry: Initiated when price crosses below the VWAP, in non-sideways conditions.
Short Exit: Occurs when price crosses back above the VWAP following a short position.
Visual Indicators
The VWAP is displayed as a line on the chart for easy trend reference. Entry and exit signals are clearly marked with color-coded shapes, enhancing readability without clutter.
Practical Application
The TrendWave VWAP Indicator with ATR-Based Signals provides tailored entries and exits for trending markets. Its customization options make it suitable for traders who require flexibility and precision in varying market conditions. By adjusting VWAP, ATR, and cooldown parameters, users can fine-tune the indicator to suit different trading styles, making it an essential tool for disciplined trading in dynamic markets.
HBK Price Action Strategy HBKPrice Action Strategy for XAUUSD with a Favorable Risk-Reward Ratio
Understanding the Strategy:
This strategy leverages price action principles to identify potential entry and exit points for XAUUSD on a 5-minute timeframe. The core idea is to identify price action patterns that suggest a high probability of a particular direction, and then to set stop-loss and take-profit levels to manage risk and reward.
Key Price Action Patterns to Watch:
Pin Bar: A pin bar is a candlestick with a long wick in one direction and a small body in the opposite direction. It often signals a reversal in the current trend.
Inside Bar: An inside bar forms when the current candle's high is lower than the previous candle's high, and the current candle's low is higher than the previous candle's low. It often indicates indecision or a potential breakout.
Engulfing Pattern: An engulfing pattern occurs when the current candle completely engulfs the previous candle. A bullish engulfing pattern signals a potential uptrend, while a bearish engulfing pattern signals a potential downtrend.
Risk-Reward Ratio:
A favorable risk-reward ratio is crucial for long-term trading success. Aim for a minimum risk-reward ratio of 1:2, meaning you risk $1 to potentially gain $2.
Entry and Exit Signals:
Long Entry:
Identify a bullish pin bar or engulfing pattern.
Wait for a confirmation candle to close above the pin bar's high or the engulfing pattern's high.
Place a stop-loss below the recent swing low.
Set a take-profit target at a key resistance level or a multiple of the stop-loss distance.
Short Entry:
Identify a bearish pin bar or engulfing pattern.
Wait for a confirmation candle to close below the pin bar's low or the engulfing pattern's low.
Place a stop-loss above the recent swing high.
Set a take-profit target at a key support level or a multiple of the stop-loss distance.
Additional Tips:
Use Support and Resistance Levels: Identify key support and resistance levels to set your stop-loss and take-profit targets.
Consider Market Sentiment: Pay attention to market sentiment and news events that may impact gold prices.
Manage Risk: Always use stop-loss orders to limit potential losses.
Be Patient: Don't force trades. Wait for high-probability setups.
Practice Discipline: Stick to your trading plan and avoid impulsive decisions.
Remember:
Price action trading requires practice and patience.
Backtest your strategy on historical data to refine your approach.
Always adapt to changing market conditions.
By following these guidelines and practicing disciplined risk management, you can increase your chances of success in trading XAUUSD on a 5-minute timeframe.
Polygonal Pivot Bands [FXSMARTLAB]The Polygonal Pivot Bands highlights key price pivots, dynamic support and resistance levels, and recent price action on a trading chart. This indicator connects pivot highs and lows with a zigzag line, extends a real-time dashed line to the latest price point, and plots diagonal support/resistance levels that adapt to price movement. These elements together provide traders with a view of significant price zones and potential trend shifts.
Key Components of the Indicator
Pivots are calculated based on user-defined lengths, specifying how many bars on either side of a high or low are required to validate it as a pivot.
Adjustable left and right pivot lengths allow traders to control the sensitivity of pivot detection, with higher values resulting in fewer, more prominent pivots, and lower values increasing sensitivity to price changes.
Zigzag Line
The zigzag line connects consecutive pivot points, filtering out smaller fluctuations and emphasizing the broader direction of price movement.
Users can customize the line's color and thickness to match their preferences, helping them focus on larger trends and potential reversal points.
By linking pivot highs and lows, the zigzag pattern highlights the overall trend and potential points of reversal.
Real-Time Connector Line
A dashed line extends from the last confirmed pivot to the latest price point, providing a real-time, bar-by-bar update of the current price relative to the previous pivot.
This line does not project future price direction but maintains an up-to-date connection with the current price, showing the distance from the last pivot.
Its color and thickness are customizable for improved visibility on the chart.
Dynamic Support and Resistance Levels
The indicator plots dynamic support and resistanc e levels by connecting recent pivot highs and lows, resulting in lines that may appear diagonal rather than strictly horizontal.
These levels move in line with price action, adapting to the natural direction of trends, and offer visual cues where price may encounter support or resistance.
Colors and thickness of these lines can be set individually, allowing traders to adjust visibility according to their preferences.
Enabling these lines gives traders an ongoing reference for critical price boundaries that align more closely with the overall trend.
US 30 Daily Breakout Strategy The US 30 Daily Breakout Strategy (Single Trade Per Breakout/Breakdown) is a trading approach for the US 30 (Dow Jones Industrial Average) that aims to capture breakout or breakdown moves based on the previous day’s high and low levels. The strategy includes mechanisms to take only one trade per breakout (or breakdown) each day and ensures that each trade is executed only when no other trade is open.
Entry Conditions:
Long Trade (Breakout): The strategy initiates a long position if the current candle closes above the previous day's high, indicating an upward breakout. Only one breakout trade can occur per day, regardless of whether the price remains above the previous high.
Short Trade (Breakdown): The strategy initiates a short position if the current candle closes below the previous day's low, indicating a downward breakdown. Similarly, only one breakdown trade can occur per day.
Risk Management:
Take Profit and Stop Loss: Each trade has a take profit and stop loss of 50 points, aiming to cap profit and limit loss effectively for each position.
Daily Reset Mechanism:
At the start of each new day (based on New York time), the strategy resets its flags, allowing it to look for new breakout or breakdown trades. This reset ensures that only one trade can be taken per breakout or breakdown level each day.
Execution Logic
Flags for Trade Limitation: Flags (breakout_traded and breakdown_traded) are used to ensure only one breakout or breakdown trade is taken per day. These flags reset daily.
Dynamic Plotting: The previous day’s high and low are plotted on the chart, providing a visual reference for potential breakout or breakdown levels.
Overall Objective
This strategy is designed to capture single-directional daily moves by identifying significant breakouts or breakdowns beyond the previous day’s range. The fixed profit and loss limits ensure the trades are managed with controlled risk, while the daily reset feature prevents overtrading and limits each trade opportunity to one breakout and one breakdown attempt per day.
Range Detect SystemTechnical analysis indicator designed to identify potential significant price ranges and the distribution of volume within those ranges. The system helps traders calculate POC and show volume history. Also detecting breakouts or potential reversals. System identifies ranges with a high probability of price consolidation and helps screen out extreme price moves or ranges that do not meet certain volatility thresholds.
⭕️ Key Features
Range Detection — identifies price ranges where consolidation is occurring.
Volume Profile Calculation — indicator calculates the Point of Control (POC) based on volume distribution within the identified range, enhancing the analysis of market structure.
Volume History — shows where the largest volume was traded from the center of the range. If the volume is greater in the upper part of the range, the color will be green. If the volume is greater in the lower part, the color will be red.
Range Filtering — Includes multi-level filtering options to avoid ranges that are too volatile or outside normal ranges.
Visual Customization — Shows graphical indicators for potential bullish or bearish crossovers at the upper and lower range boundaries. Users can choose the style and color of the lines, making it easier to visualize ranges and important levels on the chart.
Alerts — system will notify you when a range has been created and also when the price leaves the range.
⭕️ How it works
Extremes (Pivot Points) are taken as a basis, after confirming the relevance of the extremes we take the upper and lower extremes and form a range. We check if it does not violate a number of rules and filters, perform volume calculations, and only then is the range displayed.
Pivot points is a built-in feature that shows an extremum if it has not been updated N bars to the left and N bars to the right. Therefore, there is a delay depending on the bars specified to check, which allows for a more accurate range. This approach allows not to make unnecessary recalculations, which completely eliminates the possibility of redrawing or range changes.
⭕️ Settings
Left Bars and Right Bars — Allows you to define the point that is the highest among the specified number of bars to the left and right of this point.
Range Logic — Select from which point to draw the range. Maximums only, Minimums only or both.
Use Wick — Option to consider the wick of the candles when identifying Range.
Breakout Confirmation — The number of bars required to confirm a breakout, after which the range will close.
Minimum Range Length — Sets the minimum number of candles needed for a range to be considered valid.
Row Size — Number of levels to calculate POC. *Larger values increase the script load.
% Range Filter — Dont Show Range is than more N% of Average Range.
Multi Filter — Allows use of Bollinger Bands, ATR, SMA, or Highest-Lowest range channels for filtering ranges based on volatility.
Range Hit — Shows graphical labels when price hits the upper or lower boundaries of the range, signaling potential reversal or breakout points.
Range Start — Show points where Range was created.
Bullish B's - RSI Divergence StrategyThis indicator strategy is an RSI (Relative Strength Index) divergence trading tool designed to identify high-probability entry and exit points based on trend shifts. It utilizes both regular and hidden RSI divergence patterns to spot potential reversals, with signals for both bullish and bearish conditions.
Key Features
Divergence Detection:
Bullish Divergence: Signals when RSI indicates momentum strengthening at a lower price level, suggesting a reversal to the upside.
Bearish Divergence: Signals when RSI shows weakening momentum at a higher price level, indicating a potential downside reversal.
Hidden Divergences: Looks for hidden bullish and bearish divergences, which signal trend continuation points where price action aligns with the prevailing trend.
Volume-Adjusted Entry Signals:
The strategy enters long trades when RSI shows bullish or hidden bullish divergence, indicating an upward momentum shift.
An optional volume filter ensures that only high-volume, high-conviction trades trigger a signal.
Exit Signals:
Exits long positions when RSI reaches a customizable overbought level, typically indicating a potential reversal or profit-taking opportunity.
Also closes positions if bearish divergence signals appear after a bullish setup, providing protection against trend reversals.
Trailing Stop-Loss:
Uses a trailing stop mechanism based on ATR (Average True Range) or a percentage threshold to lock in profits as the price moves in favor of the trade.
Alerts and Custom Notifications:
Integrated with TradingView alerts to notify the user when entry and exit conditions are met, supporting timely decision-making without constant monitoring.
Customizable Parameters:
Users can adjust the RSI period, pivot lookback range, overbought level, trailing stop type (ATR or percentage), and divergence range to fit their trading style.
Ideal Usage
This strategy is well-suited for trend traders and swing traders looking to capture reversals and trend continuations on medium to long timeframes. The divergence signals, paired with trailing stops and volume validation, make it adaptable for multiple asset classes, including stocks, forex, and crypto.
Summary
With its focus on RSI divergence, trailing stop-loss management, and volume filtering, this strategy aims to identify and capture trend changes with minimized risk. This allows traders to efficiently capture profitable moves and manage open positions with precision.
This Strategy BEST works with GLD!
Custom Fibonacci StrategyCustom Fibonacci Strategy:
This strategy relies on analyzing Fibonacci levels to identify entry points for trades. It works by identifying peaks and troughs over a specified time period (50 bars in this code). Here are the steps of the strategy:
Identifying Peaks and Troughs:
The highest peak and lowest trough over the last 50 bars are identified.
If the price exceeds the previous peak, it is considered a break of the peak.
If the price falls below the previous trough after breaking the peak, it is considered a break of the trough.
Calculating Fibonacci Levels:
The 50% level (midway point) between the identified peak and trough is calculated.
Buy Signals:
When a trough is broken, and the price trades at or below the 50% level, the risk-to-reward ratio is evaluated.
If the risk-to-reward ratio is greater than or equal to 2, a buy signal is generated.
Displaying Levels:
Horizontal lines are displayed on the chart to illustrate the peak, trough, and Fibonacci level.
Summary
This strategy provides a systematic approach to trading based on Fibonacci retracement levels and price action, allowing traders to make informed decisions about entry points and manage risk effectively.
First 1-Minute Candle High/Low After Specific TimeDescription:
This indicator captures and marks the high and low of the first 1-minute candle after a specified time (default: 9:30 AM) and tracks the highs and lows of the first five candles. The levels marked by these initial candles are often critical in determining early session support and resistance, providing a visual guide for traders monitoring price action in the opening minutes of a trading session.
Key Features and Usage
1-Minute Candle High/Low: The indicator captures the high and low of the first 1-minute candle after the specified session start time. This level is marked with horizontal lines and labels, providing traders with an immediate reference for early-session price extremes.
5-Candle Range High/Low: After the first five candles, the indicator also highlights the highest and lowest levels within this range, offering additional support/resistance lines to aid in understanding early price movements.
Custom Labels and Dynamic Line Extension:
Labels update dynamically and display whether the 1-minute high/low coincides with the 5-minute range high/low, combining these labels if they match.
Horizontal lines extend to the current bar to remain visible throughout the session for consistent reference.
Customization Options
Colors and Label Text: Users can adjust colors for the 1-minute and 5-minute high/low lines and the label text for optimal readability.
Label Position Offset: Labels are placed slightly above or below their respective lines to avoid overlap with price action, maintaining clarity on the chart.
Intended Use
This indicator is especially useful for intraday traders focusing on opening range breakout strategies, scalping, or short-term trend analysis. It is intended for use on intraday charts (such as 1-minute or 5-minute intervals) and provides straightforward levels to assess early market structure.
Technical Details
Customization of Start Time: Users can change the default start time to any desired session opening time, adapting it to various markets or trading sessions.
Dynamic Line and Label Updates: Both lines and labels dynamically extend with the chart, while labels remain easy to read as they shift based on recent price action.
This script is designed to be simple yet powerful, offering key insights into session open levels without relying on predictive or lookahead features. It is useful for real-time analysis and adds value by helping traders identify critical levels in the market's early stages.
Vertical Line on Custom DateThis Pine Script code creates a custom indicator for TradingView that draws a vertical line on the chart at a specific date and time defined by the user.
User Input: Allows the user to specify the day, hour, and minute when the vertical line should appear.
Vertical Line Drawing: When the current date and time match the user’s inputs, a vertical line is drawn on the chart at the corresponding bar, offset by one bar to align properly.
Customizable Color and Width: The vertical line is displayed in purple with a customizable width.
Overall, this indicator helps traders visually mark important dates and times on their price charts.
Monday Open StrategyYear Range Inputs:
start_year and end_year allow you to define the range of years in which the strategy will execute.
You can adjust these values in the script’s settings panel in TradingView.
Entry Condition:
The strategy checks that the current year falls within the specified range before entering a trade on Monday’s open.
Exit Condition:
Similarly, it only exits on Tuesday’s close if the current year is within the specified range.
This setup ensures that trades only take place between the defined years, effectively filtering out unwanted trades outside this timeframe.
Volume/Price Divergence v2The "Volume/Price Divergence v2" indicator is designed to analyze the relationship between volume and price movements in a financial market. It helps traders identify potential divergences that may indicate a change in market trends. Here’s a breakdown of how it works:
### Key Components
1. **Volume Calculation**:
- **Buying Volume**: This is calculated based on the relationship between the closing price and the high/low range. If the closing price is closer to the low, more volume is attributed to buying.
- **Selling Volume**: Conversely, if the closing price is closer to the high, more volume is considered selling.
The formulas used are:
```pinescript
buyVolume = high == low ? 0 : volume * (close - low) / (high - low)
sellVolume = high == low ? 0 : volume * (high - close) / (high - low)
```
2. **Plotting Volume**:
- The total volume is plotted in red and buying volume is plotted in teal. This helps visualize the volume distribution during different price movements.
3. **Rate of Change (ROC)**:
- The indicator calculates the rate of change for both volume and price over a specified period. This allows traders to see how volume and price are changing relative to each other.
```pinescript
roc = source / source
roc2 = source2 / source2
```
4. **Volume/Price Divergence (VPD)**:
- The VPD is derived from the ratio of the ROC of volume to the ROC of price. This ratio helps identify divergences:
- A VPD significantly above 10 may indicate strong divergence, suggesting that price movements are not supported by volume.
- A VPD around 1 indicates that volume and price are moving in harmony.
5. **Horizontal Lines**:
- The indicator includes horizontal lines at levels 10 (high divergence) and 1 (low divergence), serving as visual cues for traders to assess the market's state.
### Interpretation
- **Divergence**: If price makes a new high but volume does not follow (or vice versa), it may signal a potential reversal or weakness in the trend.
- **Volume Trends**: Analyzing the buying vs. selling volume can provide insights into market sentiment, helping traders make informed decisions.
- **Potential for a Strong Move**: A high VPD during a breakout indicates that while volume is increasing, the price isn’t moving significantly, suggesting that a big price move could be imminent.
- **Caution Before Entry**: Traders should be aware that the lack of price movement relative to high volume may signal an impending volatility spike, which could lead to a rapid price change in either direction.
Overall, this indicator is useful for traders looking to gauge the strength of price movements and identify potential reversals or breakouts based on volume trends.
MMRI Chart (Primary)The **Mannarino Market Risk Indicator (MMRI)** is a financial risk measurement tool created by financial strategist Gregory Mannarino. It’s designed to assess the risk level in the stock market and economy based on current bond market conditions and the strength of the U.S. dollar. The MMRI considers factors like the U.S. 10-Year Treasury Yield and the Dollar Index (DXY), which indicate investor confidence in government debt and the dollar's purchasing power, respectively.
The formula for MMRI uses the 10-Year Treasury Yield multiplied by the Dollar Index, divided by a constant (1.61) to normalize the risk measure. A higher MMRI score suggests increased market risk, while a lower score indicates more stability. Mannarino has set certain thresholds to interpret the MMRI score:
- **Below 100**: Low risk.
- **100–200**: Moderate risk.
- **200–300**: High risk.
- **Above 300**: Extreme risk, indicating market instability and potential downturns.
This tool aims to provide insight into economic conditions that may affect asset classes like stocks, bonds, and precious metals. Mannarino often updates MMRI scores and risk analyses in his public market updates.
The Pattern-Synced Moving Average System (PSMA)Description:
The Pattern-Synced Moving Average System (PSMA) is a comprehensive trading indicator that combines the reliability of moving averages with automated candlestick pattern detection, real-time alerts, and dynamic risk management to enhance both trend-following and reversal strategies. The PSMA system integrates key elements of trend analysis and pattern recognition to provide users with configurable entry, stop-loss, and take-profit levels. It is designed for all levels of traders who seek to trade in alignment with market context, using signals from trend direction and established candlestick patterns.
Key Functional Components:
Multi-Type Moving Average:
Provides flexibility with multiple moving average options: SMA, EMA, WMA, and SMMA.
The selected moving average helps users determine market trend direction, with price positions relative to the MA acting as a trend confirmation.
Automatic Candlestick Pattern Detection:
Identifies pivotal patterns, including bullish/bearish engulfing and reversal signals.
Helps traders spot potential market turning points and adjust their strategies accordingly.
Configurable Entry, Stop-Loss, and Take-Profit:
Risk management is customizable through risk/reward ratios and risk tolerance settings.
Entry, stop-loss, and take-profit levels are automatically plotted when patterns appear, facilitating rapid trade decision-making with predefined exit points.
Higher Timeframe Trend Confirmation:
Optional feature to verify trend alignment on a higher timeframe (e.g., checking a daily trend on an intraday chart).
This added filter improves signal reliability by focusing on patterns aligned with the broader market trend.
Real-Time Alerts:
Alerts can be set for key pattern detections, allowing traders to respond promptly without constant chart monitoring.
How to Use PSMA:
Set Moving Average Preferences:
Choose the preferred moving average type and length based on your trading strategy. The MA acts as a foundational trend indicator, with price positions indicating potential uptrends (price above MA) or downtrends (price below MA).
Adjust Risk Management Settings:
Set a Risk/Reward Ratio for defining take-profit levels relative to the entry and stop-loss levels.
Modify the Risk Tolerance Percentage to adjust stop-loss placement, adding flexibility in managing trades based on market volatility.
Activate Higher Timeframe Confirmation (Optional):
Enable higher timeframe trend confirmation to filter out counter-trend trades, ensuring that detected patterns are in sync with the larger market trend.
Review Alerts and Trade Levels:
With PSMA’s real-time alerts, traders receive notifications for detected patterns without having to continuously monitor charts.
Visualized entry, stop-loss, and take-profit lines simplify trade execution by highlighting levels directly on the chart.
Execute Based on Entry and Exit Levels:
The entry line suggests the potential entry price once a bullish or bearish pattern is detected.
The stop-loss line is based on your set risk tolerance, establishing a predefined risk level.
The take-profit line is calculated according to your preferred risk/reward ratio, providing a clear profit target.
Example Strategy:
Ensure price is above or below the selected moving average to confirm trend direction.
Await a PSMA signal for a bullish or bearish pattern.
Review the plotted entry, stop-loss, and take-profit lines, and enter the trade if the setup aligns with your risk/reward criteria.
Activate alerts for continuous monitoring, allowing PSMA to notify you of emerging trade opportunities.
Release Notes:
Line Color and Style Customization: Customizable colors and line styles for entry, stop-loss, and take-profit levels.
Dynamic Trade Tracking: Tracks trade statistics, including total trades, win rate, and average P/L, displayed in the data window for comprehensive trade performance analysis.
Summary: The PSMA indicator is a powerful, user-friendly tool that combines trend detection, pattern recognition, and risk management into a cohesive system for improved trade decision-making. Suitable for stocks, forex, and futures, PSMA offers a unique blend of adaptability and precision, making it valuable for day traders and long-term investors alike. Enjoy this tool as it enhances your ability to execute timely, well-informed trades on TradingView.
SMC Order Block & Liquidity EntryThe SMC Order Block and Liquidity Trap Entry Strategy script uses Smart Money Concepts (SMC), which analyze institutional actions in the market, to assist traders in identifying high-probability trades. In order to help traders match their entry with institutional activity, this script highlights important regions of interest, including order blocks, liquidity zones, and indications for Break of Structure (BOS) or Change of Character (CHoCH).
The fundamental ideas of this approach, which focuses on regions where institutions frequently make sizable orders or sweep liquidity, are based on SMC principles. Order blocks, which are frequently important support or resistance zones when institutions are involved, are the final bullish or bearish candle before a significant price move in the other direction. There are liquidity zones that show where retail stop-loss orders build up (above recent highs or below recent lows), such as Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL). Before changing the direction of the price, institutions could target these zones, giving traders possible chances.
The script depicts liquidity levels above or below recent highs and lows, automatically finds order blocks within a specified lookback time, and looks for BOS (a continuation signal) or CHoCH (a reversal signal). When liquidity retests inside an order block coincide with BOS or CHoCH circumstances, entry signals are produced. While short entries are triggered when the price breaks below the order block and SSL, long entry alerts are triggered when the price breaks above the order block and BSL.
FS Scorpion TailKey Features & Components:
1. Custom Date & Chart-Based Controls
The software allows users to define whether they want signals to start on a specific date (useSpecificDate) or base calculations on the visible chart’s range (useRelativeScreenSumLeft and useRelativeScreenSumRight).
Users can input the number of stocks to buy/sell per signal and decide whether to sell only for profit.
2. Technical Indicators Used
EMA (Exponential Moving Average): Users can define the length of the EMA and specify if buy/sell signals should occur when the EMA is rising or falling.
MACD (Moving Average Convergence Divergence): MACD crossovers, slopes of the MACD line, signal line, and histogram are used for generating buy/sell signals.
ATR (Average True Range): Signals are generated based on rising or falling ATR.
Aroon Indicator: Buy and sell signals are based on the behavior of the Aroon upper and lower lines.
RSI (Relative Strength Index): Tracks whether the RSI and its moving average are rising or falling to generate signals.
Bollinger Bands: Buy/sell signals depend on the basis, upper, and lower band behavior (rising or falling).
3. Signal Detection
The software creates arrays for each indicator to store conditions for buy/sell signals.
The allTrue() function checks whether all conditions for buy/sell signals are true, ensuring that only valid signals are plotted.
Signals are differentiated between buy-only, sell-only, and both buy and sell (dual signal).
4. Visual Indicators
Vertical Lines: When buy, sell, or dual signals are detected, vertical lines are drawn at the corresponding bar with configurable colors (green for buy, red for sell, silver for dual).
Buy/Sell Labels: Visual labels are plotted directly on the chart to denote buy or sell signals, allowing for clear interpretation of the strategy.
5. Cash Flow & Metrics Display
The software maintains an internal ledger of how many stocks are bought/sold, their prices, and whether a profit is being made.
A table is displayed at the bottom right of the chart, showing:
Initial investment
Current stocks owned
Last buy price
Market stake
Net profit
The table background turns green for profit and red for loss.
6. Dynamic Decision Making
Buy Condition: If a valid buy signal is generated, the software decrements the cash balance and adds stocks to the inventory.
Sell Condition: If the sell signal is valid (and meets the profit requirement), stocks are sold, and cash is incremented.
A fallback check ensures the sell logic prevents selling more stocks than are available and adjusts stock holding appropriately (e.g., sell half).
Customization and Usage
Indicator Adjustments: The user can choose which indicators to activate (e.g., EMA, MACD, RSI) via input controls. Each indicator has specific customizable parameters such as lengths, slopes, and conditions.
Signal Flexibility: The user can adjust conditions for buying and selling based on various technical indicators, which adds flexibility in implementing trading strategies. For example, users may require the RSI to be higher than its moving average or trigger sales only when MACD crosses under the signal line.
Profit Sensitivity: The software allows the option to sell only when a profit is assured by checking if the current price is higher than the last buy price.
Summary of Usage:
Indicator Selection: Enable or disable technical indicators like EMA, MACD, RSI, Aroon, ATR, and Bollinger Bands to fit your trading strategy.
Custom Date/Chart Settings: Choose whether to calculate based on specific time ranges or visible portions of the chart.
Dynamic Signal Plotting: Once buy or sell conditions are met, the software will visually plot signals on your chart, giving clear entry and exit points.
Investment Tracking: Real-time tracking of stock quantities, investments, and profit ensures a clear view of your trading performance.
Backtesting: Use this software for backtesting your strategy by analyzing how buy and sell signals would have performed historically based on the chosen indicators.
Conclusion
The FS Scorpion Tail software is a robust and flexible trading tool, allowing traders to develop custom strategies based on multiple well-known technical indicators. Its visual aid, coupled with real-time investment tracking, makes it valuable for systematic traders looking to automate or refine their trading approach.