Change in State of Delivery CISD ICT [TradingFinder] Liquidity 1🔵 Introduction
🟣 What is CISD ?
Change in State of Delivery (CISD) is a key concept in technical analysis, similar to Change of Character (ChoCh) and Market Structure Shift (MSS) in the ICT (Inner Circle Trader) and Smart Money trading styles. Like ChoCh and MSS, CISD helps traders identify critical changes in market structure and make timely entries into trades.
To determine the CISD Level, traders typically review the last 1 to 4 candles to identify the first positive or negative candle. The CISD Level is then set using the opening price of the next candle.
In this version of the indicator, support and resistance levels are defined based on liquidity, which includes patterns such as SFP (Swing Failure Pattern), fake breakout, and false breakout.
Bullish CISD :
Bearish CISD :
🔵 How to Use
🟣 Bullish CISD (Change in State of Delivery Upward)
In Bullish CISD, the trend shifts from bearish to bullish after the price hits a liquidity zone, typically indicated by patterns such as SFP, fake breakout, or false breakout.
The steps to identify Bullish CISD are as follow s:
Identify the liquidity zone (SFP, fake breakout).
Review the candles and find the first positive candle.
Set the CISD Level using the opening price of the next candle after the positive candle.
Confirm the change in state of delivery when the price closes above the CISD Level.
Enter the trade after CISD confirmation.
🟣 Bearish CISD (Change in State of Delivery Downward)
In Bearish CISD, the trader looks for a shift from a bullish to a bearish trend. This change typically occurs when the price hits a liquidity level, indicated by patterns such as SFP or false breakout.
The steps to identify Bearish CISD are :
Identify the liquidity zone.
Review the candles and find the first negative candle.
Set the CISD Level using the opening price of the next candle after the negative candle.
Confirm the change in state of delivery when the price closes below the CISD Level.
Enter a short trade after CISD confirmation.
🟣 CISD Compared to ChoCh and MSS (CISD Vs ChoCh/ MSS)
CISD, ChoCh, and MSS are all tools for identifying trend changes in the market, but they have some differences :
CISD: Focuses on a change in the state of delivery and uses liquidity patterns (SFP, fake breakout) and key candles to confirm trend reversals.
ChoCh: Identifies a change in the market’s character, often signaling rapid shifts in trend direction.
MSS: Focuses on changes in market structure and identifies the breaking of key levels as a signal of trend shifts.
🔵 Settings
🟣 CISD Logical settings
Bar Back Check : Determining the return of candles to identify the CISD level.
CISD Level Validity : CISD level validity period based on the number of candles.
🟣 SFP Logical settings
Swing period : You can set the swing detection period.
Max Swing Back Method : It is in two modes "All" and "Custom". If it is in "All" mode, it will check all swings, and if it is in "Custom" mode, it will check the swings to the extent you determine.
Max Swing Back : You can set the number of swings that will go back for checking.
🟣 CISD Display settings
Displaying or not displaying swings and setting the color of labels and lines.
🟣 SFP Display settings
Displaying or not displaying swings and setting the color of labels and lines.
🔵 Conclusion
CISD is a powerful tool for identifying trend reversals using liquidity patterns and key candle analysis. Traders can use the CISD Level to detect trend changes and find optimal entry and exit points.
This concept is similar to ChoCh and MSS but stands out with its focus on confirming trend changes through liquidity and specific patterns. With the right approach, CISD helps traders capitalize on market movements more effectively.
Educational
Volume-Price PercentileDescription:
The "Volume-Price Percentile Live" indicator is designed to provide real-time analysis of the relationship between volume percentiles and price percentiles on any given timeframe. This tool helps traders assess market activity by comparing how current volume levels rank relative to historical volume data and how current price movements (specifically high-low ranges) rank relative to historical price data. The indicator visualizes the ratio of volume percentile to price percentile as a histogram, allowing traders to gauge the relative strength of volume against price movements in real time.
Functionality:
Volume Percentile: Calculates the percentile rank of the current volume within a user-defined rolling period (default is 30 bars). This percentile indicates where the current volume stands in comparison to historical volumes over the specified period.
Price Percentile: Calculates the percentile rank of the current candle's high-low difference within a user-defined rolling period (default is 30 bars). This percentile reflects the current price movement's strength relative to past movements over the specified period.
Percentile Ratio (VP Ratio): The indicator plots the ratio of the volume percentile to the price percentile. This ratio helps identify periods when volume is significantly higher or lower relative to price movement, providing insights into potential market imbalances or strength.
Real-Time Data: By fetching data from a lower timeframe (e.g., 1-minute), the indicator updates continuously within the current timeframe, offering live, intra-candle updates. This ensures that traders can see the histogram change in real-time as new data becomes available, without waiting for the current candle to close.
How to Use:
Adding the Indicator: To use this indicator, add it to your chart on TradingView by selecting it from the Indicators list once it is published publicly.
Setting Parameters:
Volume Period Length: This input sets the rolling window length for calculating the volume percentile (default is 30). You can adjust it based on the desired sensitivity or historical period relevance.
Candle Period Length: This input sets the rolling window length for calculating the price percentile based on the high-low difference of candles (default is 30). Adjust this to match your trading style or analysis period.
Interpreting the Histogram:
The histogram represents the volume percentile divided by the price percentile.
Above 1: A value greater than 1 indicates that volume is relatively strong compared to price movement, which may suggest high activity or potential accumulation/distribution phases.
Below 1: A value less than 1 suggests that price movement is relatively stronger than volume, indicating potential weakness in volume relative to price moves.
Near 1: Values close to 1 suggest a balanced relationship between volume and price movement.
Application: Use this indicator to identify potential breakout or breakdown scenarios, assess the strength of price movements, and confirm trends. When volume percentile consistently leads price percentile, it might signal sustained interest and support for the current price trend. Conversely, if volume percentile lags significantly, it might warn of potential trend weakness.
Best Practices:
Multiple Timeframe Analysis: While the indicator provides real-time updates on any timeframe, consider using it alongside higher timeframe analysis to confirm trends and volume behavior across different periods.
Customization: Adjust the period lengths based on the asset’s typical volume and price behavior, as well as your trading strategy (e.g., short-term scalping vs. long-term trend following).
Complement with Other Indicators: Use this indicator in conjunction with other volume-based tools, trend indicators, or momentum oscillators to gain a comprehensive view of market dynamics.
Swing Failure Pattern SFP [TradingFinder] SFP ICT Strategy🔵 Introduction
The Swing Failure Pattern (SFP), also referred to as a "Fake Breakout" or "False Breakout," is a vital concept in technical analysis. This pattern is derived from classic technical analysis, price action strategies, ICT concepts, and Smart Money Concepts.
It’s frequently utilized by traders to identify potential trend reversals in financial markets, especially in volatile markets like cryptocurrencies and forex. SFP helps traders recognize failed attempts to breach key support or resistance levels, providing strategic opportunities for trades.
The Swing Failure Pattern (SFP) is a popular strategy among traders used to identify false breakouts and potential trend reversals in the market. This strategy involves spotting moments where the price attempts to break above or below a previous high or low (breakout) but fails to sustain the move, leading to a sharp reversal.
Traders use this strategy to identify liquidity zones where stop orders (stop hunt) are typically placed and targeted by larger market participants or whales.
When the price penetrates these areas but fails to hold the levels, a liquidity sweep occurs, signaling exhaustion in the trend and a potential reversal. This strategy allows traders to enter the market at the right time and capitalize on opportunities created by false breakouts.
🟣 Types of SFP
When analyzing SFPs, two main variations are essential :
Real SFP : This occurs when the price breaks a critical level but fails to close above it, then quickly reverses. Due to its clarity and strong signal, this SFP type is highly reliable for traders.
Considerable SFP : In this scenario, the price closes slightly above a key level but quickly declines. Although significant, it is not as definitive or trustworthy as a Real SFP.
🟣 Understanding SFP
The Swing Failure Pattern, or False Breakout, is identified when the price momentarily breaks a crucial support or resistance level but cannot maintain the movement, leading to a rapid reversal.
The pattern can be categorized as follows :
Bullish SFP : This type occurs when the price dips below a support level but rebounds above it, signaling that sellers failed to push the price lower, indicating a potential upward trend.
Bearish SFP : This pattern forms when the price surpasses a resistance level but fails to hold, suggesting that buyers couldn’t maintain the higher price, leading to a potential decline.
🔵 How to Use
To effectively identify an SFP or Fake Breakout on a price chart, traders should follow these steps :
Identify Key Levels: Locate significant support or resistance levels on the chart.
Observe the Fake Breakout: The price should break the identified level but fail to close beyond it.
Monitor Price Reversal: After the breakout, the price should quickly reverse direction.
Execute the Trade: Traders typically enter the market after confirming the SFP.
🟣 Examples
Bullish Example : Bitcoin breaks below a $30,000 support level, drops to $29,000, but closes above $30,000 by the end of the day, signaling a Real Bullish SFP.
Bearish Example : Ethereum surpasses a $2,000 resistance level, rises to $2,100, but then falls back below $2,000, forming a Bearish SFP.
🟣 Pros and Cons of SFP
Pros :
Effective in identifying strong reversal points.
Offers a favorable risk-to-reward ratio.
Applicable across different timeframes.
Cons :
Requires experience and deep market understanding.
Risk of encountering false breakouts.
Should be combined with other technical tools for optimal effectiveness.
🔵 Settings
🟣 Logical settings
Swing period : You can set the swing detection period.
SFP Type : Choose between "All", "Real" and "Considerable" modes to identify the swing failure pattern.
Max Swing Back Method : It is in two modes "All" and "Custom". If it is in "All" mode, it will check all swings, and if it is in "Custom" mode, it will check the swings to the extent you determine.
Max Swing Back : You can set the number of swings that will go back for checking.
🟣 Display settings
Displaying or not displaying swings and setting the color of labels and lines.
🟣 Alert Settings
Alert SFP : Enables alerts for Swing Failure Pattern.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵 Conclusion
The Swing Failure Pattern (SFP), or False Breakout, is an essential analytical tool that assists traders in identifying key market reversal points for successful trading.
By understanding the nuances between Real SFP and Considerable SFP, and integrating this pattern with other technical analysis tools, traders can make more informed decisions and better manage their trading risks.
Buy script for stocks mathematical calculation chart. it is totally based on the square root calculation of previous day + 66.66% of Square root. ( last dat sqrt+66.66% of Sqrt). buy above the value. best for stock in intraday
Open-Close Price DifferenceInput time A (open time) and time B (closing time)
do not do anything with the year-month-date, it's there because I don't know how to fix it and it needs to be in such format.
the difference of price will be shown on the indicator window one candle after the closing time (opening at such time)
For research purpose only, no other intended purposes.
Greer BuyZone toolGreer BuyZone Tool
Description:
The Greer BuyZone Tool is a custom Pine Script indicator designed to help identify potential long-term investment opportunities by marking BuyZones on the chart. This tool utilizes the Aroon indicator in combination with Fibonacci numbers to define periods where the asset might be a good candidate for dollar-cost averaging.
Features:
BuyZone Detection: The script identifies and marks the beginning and end of a BuyZone with vertical lines and labels.
Visual Markers: A red vertical line and label indicate the start of a BuyZone, while a green vertical line and label mark the end of a BuyZone.
Aroon Indicator Calculation: Utilizes the Aroon indicator with a Fibonacci length (233) to determine key price levels.
How to Use:
Setup: Add the Greer BuyZone Tool to your TradingView chart. It will display vertical lines and labels marking the BuyZone periods.
BuyZone Identification: Use the red lines and labels ("BZ Begins ->>") to identify the start of a BuyZone, and the green lines and labels ("<<- BZ Ends") to determine when the BuyZone ends.
Long-Term Investment: This tool is intended for long-term investing and dollar-cost averaging strategies, not for day trading.
Disclaimer:
This script is provided for informational purposes only and is not intended as financial advice. The Greer BuyZone Tool is designed to assist in identifying potential long-term investment opportunities and is not suitable for day trading. The use of this tool involves risk, and there is no guarantee of profitability. Users are advised to conduct their own research and consult with a qualified financial advisor before making any investment decisions. The creator of this script assumes no liability for any losses or damages resulting from the use of this indicator.
Author: Sean Lee Greer
Date: 9/1/2024
Dynamic Trailing Stop with Trend ChangeKey features of this script:
Trend Identification: Uses previous day's high/low breaks to identify trend changes.
Uptrend starts when price closes above the previous day's high.
Downtrend starts when price closes below the previous day's low.
Dynamic Trailing Stop:
In an uptrend, the stop is set to the previous day's low and trails higher.
In a downtrend, the stop is set to the previous day's high and trails lower.
Visual Indicators:
Green triangle for uptrend start, red triangle for downtrend start.
Green/red line for the trailing stop.
Background color changes to light green in uptrends, light red in downtrends.
Alerts:
Trend change alerts when a new trend is identified.
Stop hit alerts when price crosses the trailing stop, suggesting a potential exit.
This implementation allows you to:
Identify trend changes based on previous day's high/low breaks.
Trail your stop loss dynamically as the trend progresses.
Get visual and alert-based signals for trend changes and potential exit points.
For swing trading, you could:
Enter long when an uptrend starts (green triangle).
Set your initial stop loss to the trailing stop (green line).
Exit if the price closes below the trailing stop or a downtrend starts (red triangle).
(Reverse for short trades)
Remember, while this strategy can be effective, it's important to combine it with other forms of analysis and proper risk management. The effectiveness can vary depending on the volatility of the asset and overall market conditions. Always test thoroughly before using in live trading.
Bat Harmonic Pattern [TradingFinder] Bat Chart Indicator🔵 Introduction
The Bat Harmonic Pattern, created by Scott Carney in the 1990s, is a sophisticated tool in technical analysis, used to identify potential reversal points in price movements by leveraging Fibonacci ratios.
This pattern is classified into two primary types: the Bullish Bat Pattern, which signals the end of a downtrend and the beginning of an uptrend, and the Bearish Bat Pattern, which indicates the conclusion of an uptrend and the onset of a downtrend.
🟣 Bullish Bat Pattern
The Bullish Bat Pattern is designed to identify when a downtrend is likely to end and a new uptrend is about to begin. The key feature of this pattern is Point D, which typically aligns near the 88.6% Fibonacci retracement of the XA leg.
This point is considered a strong buy zone. When the price reaches Point D after a significant downtrend, it often indicates a potential reversal, presenting a buying opportunity for traders anticipating the start of an upward movement.
🟣 Bearish Bat Pattern
In contrast, the Bearish Bat Pattern forms when an uptrend is nearing its conclusion. Point D, which also typically aligns near the 88.6% Fibonacci retracement of the XA leg, serves as a critical point for traders.
This point is regarded as a strong sell zone, signaling that the uptrend may be ending, and a downtrend could be imminent. Traders often open short positions when they identify this pattern, aiming to capitalize on the anticipated downward movement.
🔵 How to Use
The Bat Pattern consists of five key points: X, A, B, C, and D, and four waves: XA, AB, BC, and CD. Fibonacci ratios play a crucial role in this pattern, helping traders pinpoint precise entry and exit points. In both the Bullish and Bearish Bat Patterns, the 88.6% retracement of the XA leg is a critical level for identifying potential reversal points.
🟣 Bullish Bat Pattern
Traders typically enter buy positions after Point D forms, expecting the downtrend to end and a new uptrend to start. This point, located near the 88.6% retracement of the XA leg, serves as a reliable buy signal.
🟣 Bearish Bat Pattern
Traders usually open short positions after identifying Point D, expecting the uptrend to end and a downtrend to begin. This point, also near the 88.6% retracement of the XA leg, acts as a valid sell signal.
🟣 Trading Tips for the Bat Pattern
Accurate Fibonacci Point Identification : Accurately identify Points X, A, B, C, and D, and calculate the Fibonacci ratios between these points. Point D should ideally be near the 88.6% retracement of the XA leg.
Signal Confirmation with Other Tools : To enhance the pattern's accuracy, avoid trading solely based on the Bat Pattern.
Risk Management : Always use stop-loss orders. In a Bullish Bat Pattern, place the stop-loss below Point X, and in a Bearish Bat Pattern, above Point X. This helps limit potential losses if the pattern fails.
Wait for Price Movement Confirmation : After identifying Point D, wait for the price to move in the anticipated direction to confirm the pattern's validity before entering a trade.
Set Realistic Profit Targets : Use Fibonacci retracement levels to set realistic profit targets, such as 38.2%, 50%, and 61.8% retracement levels of the CD leg. This strategy helps maximize profits and prevents premature exits.
🔵 Setting
🟣 Logical Setting
ZigZag Pivot Period : You can adjust the period so that the harmonic patterns are adjusted according to the pivot period you want. This factor is the most important parameter in pattern recognition.
Show Valid Forma t: If this parameter is on "On" mode, only patterns will be displayed that they have exact format and no noise can be seen in them. If "Off" is, the patterns displayed that maybe are noisy and do not exactly correspond to the original pattern.
Show Formation Last Pivot Confirm : if Turned on, you can see this ability of patterns when their last pivot is formed. If this feature is off, it will see the patterns as soon as they are formed. The advantage of this option being clear is less formation of fielded patterns, and it is accompanied by the latest pattern seeing and a sharp reduction in reward to risk.
Period of Formation Last Pivot : Using this parameter you can determine that the last pivot is based on Pivot period.
🟣 Genaral Setting
Show : Enter "On" to display the template and "Off" to not display the template.
Color : Enter the desired color to draw the pattern in this parameter.
LineWidth : You can enter the number 1 or numbers higher than one to adjust the thickness of the drawing lines. This number must be an integer and increases with increasing thickness.
LabelSize : You can adjust the size of the labels by using the "size.auto", "size.tiny", "size.smal", "size.normal", "size.large" or "size.huge" entries.
🟣 Alert Setting
Alert : On / Off
Message Frequency : This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone : The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
🔵 Conclusion
The Bat Harmonic Pattern is a powerful tool in technical analysis, offering traders the ability to identify critical reversal points using Fibonacci ratios. By recognizing the Bullish and Bearish Bat Patterns, traders can anticipate potential trend reversals and make informed trading decisions.
However, it is essential to combine the Bat Pattern with other technical analysis tools and confirm signals for better trading outcomes. With proper use, this pattern can help traders minimize risk and optimize their entry and exit points in the market.
Market Sessions - by Alexander RottasMarket Sessions - Alexander Rottas
This TradingView indicator displays market sessions for USA, EUROPE, and ASIA on your chart. It provides a clear and intuitive way to identify the active market periods, making it easier to plan your trades.
Features:
Session Display: Optionally show market sessions for USA, EUROPE, and ASIA.
Customizable Timings: Set start and end times in UTC for each market session.
Visual Indicators: Color-coded squares indicate active sessions and their combinations:
USA Session: Blue
EUROPE Session: Purple
ASIA Session: Dull Orange
Combined Sessions: Lighter shades to show overlapping sessions
Session Labels: Dynamic labels at the start of each session to easily identify session beginnings on weekdays.
User-Friendly Design: This indicator is designed to be non-intrusive and easy to use, with a simple setup and clear visual cues. Unlike other complex tools, it integrates seamlessly into your chart without overwhelming your view, making it an ideal choice for traders seeking a straightforward way to track market sessions.
DISCLAIMER: This script is provided for educational purposes only. It cannot be used for commercial purposes or plagiarized. All rights reserved by the author. Unauthorized use or distribution of this script is prohibited. For more details, please contact the author directly.
Volatility with Power VariationVolatility Analysis using Power Variation
The "Volatility with Power Variation" indicator is designed to measure market volatility. It focuses on providing traders with a clear understanding of how much the market is moving and how this movement changes over time.. This indicator helps in identifying potential periods of market expansion or contraction, based on volatility.
What the indicator does:
This indicator analyzes volatility which refers to the degree of variation in the returns of a financial instrument over time. It's an important measure to understand how much the price and returns of a asset fluctuates. High volatility means large price swings, meanwhile low volatility indicates smaller and consolidating movements. Realized (Historical) Volatility refers to volatility based on past price data.
Power Variation
Power Variation is an extension of the traditional methods used to calculate realized volatility. Instead of simply summing up squared returns (as done in calculating variance), Power Variation raises the magnitude of returns to a power p . This allows the indicator to capture different types of market behavior depending on the chosen value of p .
When P = 2, the Power variation behaves like a traditional variance measure. Lower values of p (e.g., p=1) make the indicator more sensitive to smaller price changes, meanwhile higher values make it more responsive to large jumps, but smaller price moves wont affect the measure that much or won't most likely.
Bipower Variation
Bipower variation is another method used to analyze the changes in price. It specifically isolates the continuous part of price movements from the jumps, which can help by understanding whether volatility is coming from regular market activity or from sharp, sudden moves.
How to Use the Indicator.
Understand Realized and Historical Volatility. Volatility after periods of low volatility you can eventually expect a expansion or an increase in volatility. Conversely, after periods of high volatility, the market often contracts and volatility decreases. If the variation plot is really low and you start seeing it increasing, shown by the standard deviation channels and moving average and you see it trending and increasing then that means you can expect for volatility to increase which means more price moves and expansions. Also if the scaling seems messed up, then use the logarithmic chart scale.
Ticker Tape█ OVERVIEW
This indicator creates a dynamic, scrolling display of multiple securities' latest prices and daily changes, similar to the ticker tapes on financial news channels and the Ticker Tape Widget . It shows realtime market information for a user-specified list of symbols along the bottom of the main chart pane.
█ CONCEPTS
Ticker tape
Traditionally, a ticker tape was a continuous, narrow strip of paper that displayed stock prices, trade volumes, and other financial and security information. Invented by Edward A. Calahan in 1867, ticker tapes were the earliest method for electronically transmitting live stock market data.
A machine known as a "stock ticker" received stock information via telegraph, printing abbreviated company names, transaction prices, and other information in a linear sequence on the paper as new data came in. The term "ticker" in the name comes from the "tick" sound the machine made as it printed stock information. The printed tape provided a running record of trading activity, allowing market participants to stay informed on recent market conditions without needing to be on the exchange floor.
In modern times, electronic displays have replaced physical ticker tapes. However, the term "ticker" remains persistent in today's financial lexicon. Nowadays, ticker symbols and digital tickers appear on financial news networks, trading platforms, and brokerage/exchange websites, offering live updates on market information. Modern electronic displays, thankfully, do not rely on telegraph updates to operate.
█ FEATURES
Requesting a list of securities
The "Symbol list" text box in the indicator's "Settings/Inputs" tab allows users to list up to 40 symbols or ticker Identifiers. The indicator dynamically requests and displays information for each one. To add symbols to the list, enter their names separated by commas . For example: "BITSTAMP:BTCUSD, TSLA, MSFT".
Each item in the comma-separated list must represent a valid symbol or ticker ID. If the list includes an invalid symbol, the script will raise a runtime error.
To specify a broker/exchange for a symbol, include its name as a prefix with a colon in the "EXCHANGE:SYMBOL" format. If a symbol in the list does not specify an exchange prefix, the indicator selects the most commonly used exchange when requesting the data.
Realtime updates
This indicator requests symbol descriptions, current market prices, daily price changes, and daily change percentages for each ticker from the user-specified list of symbols or ticker identifiers. It receives updated information for each security after new realtime ticks on the current chart.
After a new realtime price update, the indicator updates the values shown in the tape display and their colors.
The color of the percentages in the tape depends on the change in price from the previous day . The text is green when the daily change is positive, red when the value is negative, and gray when the value is 0.
The color of each displayed price depends on the change in value from the last recorded update, not the change over a daily period. For example, if a security's price increases in the latest update, the ticker tape shows that price with green text, even if the current price is below the previous day's closing price. This behavior allows users to monitor realtime directional changes in the requested securities.
NOTE: Pine scripts execute on realtime bars when new ticks are available in the chart's data feed. If no new updates are available from the chart's realtime feed, it may cause a delay in the data the indicator receives.
Ticker motion
This indicator's tape display shows a list of security information that incrementally scrolls horizontally from right to left after new chart updates, providing a dynamic visual stream of current market data. The scrolling effect works by using a counter that increments across successive intervals after realtime ticks to control the offset of each listed security. Users can set the initial scroll offset with the "Offset" input in the "Settings/Inputs" tab.
The scrolling rate of the ticker tape display depends on the realtime ticks available from the chart's data feed. Using the indicator on a chart with frequent realtime updates results in smoother scrolling. If no new realtime ticks are available in the chart's feed, the ticker tape does not move. Users can also deactivate the scrolling feature by toggling the "Running" input in the indicator's settings.
█ FOR Pine Script™ CODERS
• This script utilizes dynamic requests to iteratively fetch information from multiple contexts using a single request.security() instance in the code. Previously, `request.*()` functions were not allowed within the local scopes of loops or conditional structures, and most `request.*()` function parameters, excluding `expression`, required arguments of a simple or weaker qualified type. The new `dynamic_requests` parameter in script declaration statements enables more flexibility in how scripts can use `request.*()` calls. When its value is `true`, all `request.*()` functions can accept series arguments for the parameters that define their requested contexts, and `request.*()` functions can execute within local scopes. See the Dynamic requests section of the Pine Script™ User Manual to learn more.
• Scripts can execute up to 40 unique `request.*()` function calls. A `request.*()` call is unique only if the script does not already call the same function with the same arguments. See this section of the User Manual's Limitations page for more information.
• This script converts a comma-separated "string" list of symbols or ticker IDs into an array . It then loops through this array, dynamically requesting data from each symbol's context and storing the results within a collection of custom `Tape` objects . Each `Tape` instance holds information about a symbol, which the script uses to populate the table that displays the ticker tape.
• This script uses the varip keyword to declare variables and `Tape` fields that update across ticks on unconfirmed bars without rolling back. This behavior allows the script to color the tape's text based on the latest price movements and change the locations of the table cells after realtime updates without reverting. See the `varip` section of the User Manual to learn more about using this keyword.
• Typically, when requesting higher-timeframe data with request.security() using barmerge.lookahead_on as the `lookahead` argument, the `expression` argument should use the history-referencing operator to offset the series, preventing lookahead bias on historical bars. However, the request.security() call in this script uses barmerge.lookahead_on without offsetting the `expression` because the script only displays results for the latest historical bar and all realtime bars, where there is no future information to leak into the past. Instead, using this call on those bars ensures each request fetches the most recent data available from each context.
• The request.security() instance in this script includes a `calc_bars_count` argument to specify that each request retrieves only a minimal number of bars from the end of each symbol's historical data feed. The script does not need to request all the historical data for each symbol because it only shows results on the last chart bar that do not depend on the entire time series. In this case, reducing the retrieved bars in each request helps minimize resource usage without impacting the calculated results.
Look first. Then leap.
Candlestick based on volume
This code is an indicator for drawing custom candle charts based on volume and analyzing price fluctuations and trends. A specific description is provided below:
Main functions and analysis details
Cumulative Volume Calculation
Accumulates the volume of all bars and calculates the cumulative volume. This gives an idea of the total volume of volume.
Counter Calculation
The value of the counter is determined by continuously dividing the accumulated volume by 2. This counter shows the change in volume.
Calculation of Counter Change and Duration
When the value of the counter changes, the duration of the change is calculated. This tells us how long the change in volume lasted.
Calculation of slope and angle
The slope is calculated from the amount of change in the counter and the period of time it took for the counter to change, and the angle is calculated from the slope. This allows you to visualize the trend of the volume change and the direction of the trend.
Setting Counter Color and Background Color
Set the color of the counter based on the period of change. Longer periods are displayed in red, and shorter periods in green. The background color also changes based on the angle, indicating the strength and direction of the trend.
Drawing Custom Candles
Draw custom candles based on volume changes. As the counter changes, a new candle is formed, highlighting the price movement.
Display of simple moving averages (SMA)
Calculates the average of prices over a selected period of time and displays that average. This smoothes out price trends and fluctuations and clearly shows the direction of the trend.
Comparison of the upper and lower lengths of candles
Calculates the upper and lower lengths of each candle (lower half and upper half) and changes the color of the SMA based on which is longer. This visualizes the effect of price fluctuations due to the shape of the candles.
Key Points of Use
Trend Analysis: Analyze the direction and strength of a trend using custom candles based on volume, background color, and tilt angle.
Change highlighting: Visually highlight important points with counter changes and flags.
Price Averaging: Use SMA to smooth price trends, reduce noise, and determine trend direction.
Unicorn ICT Signals [TradingFinder] Breaker Block + FVG Zones🔵 Introduction
The "ICT Unicorn Model" trading strategy in the "Inner Circle Trader" (ICT) style is one of the well-known strategies in the world of Forex and financial market trading.
The ICT methodology was developed by Michael Huddleston and is based on technical analysis and Price Action concepts.
This style focuses specifically on interpreting price movements and identifying optimal entry and exit points in the market.
In the Unicorn strategy, traders seek points where the probability of price reversal or trend continuation is high. This strategy is primarily based on recognizing and analyzing Price Action patterns and market structure.
By understanding"ICT Unicorn Model", traders can make more informed decisions about where to enter or exit trades, thereby increasing their chances of success in the market.
🟣 Understanding the Breaker Block
A Breaker Block is a specialized form of an Order Block that changes its role after a key market level is broken. Typically, an Order Block is an area on the chart where large institutional orders are likely to be placed, providing strong support or resistance.
However, when this area is breached, and the price moves in the opposite direction, it transforms into what is known as a Breaker Block. This shift indicates a reversal in market sentiment, turning the previous support into resistance or vice versa, thereby signaling a potential trend change to traders.
🟣 The Significance of the Fair Value Gap (FVG)
The Fair Value Gap (FVG) refers to an area on a price chart where the price rapidly moves through a level, leaving behind a gap. This gap represents an imbalance between supply and demand and is often seen as a potential area for price to return and fill the gap.
These zones are crucial for traders as they can indicate future price movements, providing opportunities to enter or exit trades.
🟣 Defining the ICT Unicorn Model
When an FVG overlaps with a Breaker Block, it forms a highly significant trading area known as a Unicorn. This overlap creates an ideal zone for traders to enter the market, as it combines two powerful technical signals.
The Unicorn Model is therefore considered an optimal strategy for identifying precise entry and exit points in the financial markets.
Demand ICT Unicorn Model :
Supply ICT Unicorn Model :
🔵 How to Use
🟣 Bullish ICT Unicorn
The Bullish ICT Unicorn model is applicable when the market is in an uptrend, and traders are seeking buying opportunities.
Follow these steps to identify Bullish ICT Unicorn :
Identify the Bullish Breaker Block : Locate an area where the price moved upward after breaking an Order Block. This area now acts as a Breaker Block.
Identify the Bullish FVG : Look for a Fair Value Gap near the Breaker Block.
Confirm the Unicorn : When the Bullish Breaker Block and Bullish FVG overlap, a Bullish Unicorn is confirmed. Traders can enter a buy position when the price returns to this zone.
🟣Bearish ICT Unicorn
The Bearish ICT Unicorn model is used when the market is in a downtrend, and traders are looking for selling opportunities.
To identify Bearish ICT Unicorn, follow these steps :
Identify the Bearish Breaker Block : Find an area where the price moved downward after breaking an Order Block. This area now acts as a Breaker Block.
Identify the Bearish FVG : Check if a Fair Value Gap has formed near the Breaker Block.
Confirm the Unicorn : When the Bearish Breaker Block and Bearish FVG overlap, a Bearish Unicorn is confirmed. Traders can enter a sell position when the price returns to this zone.
🔵 Setting
🟣 Global Setting
Pivot Period of Order Blocks Detector : Enter the desired pivot period to identify the Order Block.
Order Block Validity Period (Bar) : You can specify the maximum time the Order Block remains valid based on the number of candles from the origin.
Mitigation Level Breaker Block : Determining the basic level of a Breaker Block. When the price hits the basic level, the Breaker Block due to mitigation.
Mitigation Level FVG : Determining the basic level of a FVG. When the price hits the basic level, the FVG due to mitigation.
Mitigation Level Unicorn : Determining the basic level of a Unicorn Block. When the price hits the basic level, the Unicorn Block due to mitigation.
🟣 Unicorn Block Display
Show All Unicorn Block : If it is turned off, only the last Order Block will be displayed.
Demand Unicorn Block : Show or not show and specify color.
Supply Unicorn Block : Show or not show and specify color.
🟣 Breaker Block Display
Show All Breaker Block : If it is turned off, only the last Breaker Block will be displayed.
Demand Main Breaker Block : Show or not show and specify color.
Demand Sub (Propulsion & BoS Origin) Breaker Block : Show or not show and specify color.
Supply Main Breaker Block : Show or not show and specify color.
Supply Sub (Propulsion & BoS Origin) Breaker Block : Show or not show and specify color.
🟣 Fair Value Gap Display
Show Bullish FVG : Toggles the display of demand-related boxes.
Show Bearish FVG : Toggles the display of supply-related boxes.
🟣 Logic Settings
🟣 Order Block Refinement
Refine Order Blocks : Enable or disable the refinement feature. Mode selection.
🟣 FVG Filter
FVG Filter : This refines the number of identified FVG areas based on a specified algorithm to focus on higher quality signals and reduce noise.
Types of FVG filters :
Very Aggressive Filter: Adds a condition where, for an upward FVG, the last candle's highest price must exceed the middle candle's highest price, and for a downward FVG, the last candle's lowest price must be lower than the middle candle's lowest price. This minimally filters out FVGs.
Aggressive Filter: Builds on the Very Aggressive mode by ensuring the middle candle is not too small, filtering out more FVGs.
Defensive Filter: Adds criteria regarding the size and structure of the middle candle, requiring it to have a substantial body and specific polarity conditions, filtering out a significant number of FVGs.
Very Defensive Filter: Further refines filtering by ensuring the first and third candles are not small-bodied doji candles, retaining only the highest quality signals.
🟣 Alert
Alert Name : The name of the alert you receive.
Alert ICT Unicorn Model Block Mitigation :
On / Off
Message Frequency :
This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone :
The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
🔵Conclusion
The Unicorn Model in ICT, utilizing the concepts of Breaker Blocks and Fair Value Gaps, provides an effective tool for identifying entry and exit points in financial markets. By offering more precise signals, this model helps traders make better decisions and minimize trading risks.
Success in applying this model requires practice and a deep understanding of market structure, but it can significantly improve trading performance.
Trade Scoreboard [JD]A utility to manually track your trades. Also allows you to specify a RR and $ risk per trade if you trade with that kind of system. Double click to get to the settings to update as you make trades.
Can be used for back/forward testing and while live trading.
Modified and republished with permission from Knighted21
Average Down CalculatorAverage Down Calculator is an indicator for investors looking to manage their portfolio. It aids in calculating the average share price, providing insights into optimizing investment strategies. Averaging down is a strategy investors use when the price of a security they own goes down. Instead of selling at a loss, they buy more shares at the lower price to reduce the average cost per share.
There are situations where a stock's price moves contrary to your expectations. The market moves downward. Despite this, your faith in the stock persists. This indicator allowing you to strategically add more stocks to lower the average price. But You must remember, it’s not without risks, as it involves investing more money in a losing position.
This Indicator allowing you to quickly understand your new position and make informed decisions. It’s designed for easy use, regardless of your experience level with investing.
Steps to use it:
1.put buy fee from your securitas
2.next put the price of the emiten from your portofolio
3.and how many lot you have
4.next is the the taget of percentage you want it become.
5 the last you can choose, the price that you want to buy for average.
this calculator is designed to help you navigate your investment better, choose it wisely.Be aware of the risks of investing more in a declining asset and consider diversification to manage potential losses.
United Kingdom Real Private GDP per CapitaThis is the first in a set of indicators I will be publishing.
Quite simply, my aim is to demystify GDP.
Lots of what is discussed in economic circles revolves around nominal GDP and evaluations of GDP that are skewed by government spending, inflation and often, sheer population.
In the same way that a country with lots of people might have a big GDP (even if the people are very poor and unproductive!), then the same can be said of government spending. After all, a country can have a very large GDP simply by juicing the economy up with government spending.
Yet, population and government spending by themselves are not indicators of productivity, innovation, or economic wealth.
Similarly, GDP is often juiced up by inflation and of course, a country with big inflation might have big GDP, but inflation can hardly be said to make anyone or any country wealthy.
So, my indicator for REAL PRIVATE GDP PER CAPITA aims to show GDP in a more honest light by adjustiing it for inflation, government spending, and population.
I hope it proves illuminating.
Signal Tester (v1.2)This is an automation test Strategy, which helps you to get Strategy Alerts quickly on the 1m chart.
This is useful when you want to start automating Strategies but first you want to see if the connection between TradingView and your automation tool works properly.
This Strategy sends LONG Buy/Sell signals every 1 minute so you don't have to wait for a long time to see if your integration with an automation tool works.
How it works:
It works on the 1m chart
Every 1 minute it will send a BUY or a SELL signal (alternating between them forever)
Breaker Blocks + Order Blocks confirm [TradingFinder] BBOB Alert🔵 Introduction
In the realm of technical analysis, various tools and concepts are employed to identify key levels on price charts. These tools assist traders in analyzing market trends with greater precision, enabling them to optimize their trading decisions. Among these tools, the Order Block and Breaker Block hold a significant place, serving as effective instruments for analyzing market structure.
🟣 Order Block
An Order Block refers to zones on a chart where large financial institutions and high-volume traders place their orders. Due to the substantial volume of buy or sell orders in these areas, they are often regarded as pivotal points for potential price reversals or temporary pauses in a trend. Order Blocks are particularly crucial when prices react to these zones after a strong market move, acting as strong support or resistance levels.
🟣 Breaker Block
On the other hand, a Breaker Block refers to areas on a chart that previously functioned as Order Blocks but where the price has managed to break through and continue in the opposite direction. These zones are typically recognized as key points where market trends might shift, helping traders identify potential reversal points in the market.
🟣 Overlapping Block (BBOB)
Now, imagine a scenario where these two essential concepts in technical analysis—Order Blocks and Breaker Blocks—overlap on a chart. Although this overlap is not specifically discussed within the ICT (Inner Circle Trader) trading framework, exploring and utilizing this overlap can provide traders with powerful insights into strong support and resistance zones. The combination of these two robust concepts can highlight critical areas in trading, potentially offering significant advantages in making informed trading decisions.
In this article, we will delve into the concept of this overlap, explaining how to utilize it in trading strategies. Additionally, we will analyze the potential outcomes and benefits of incorporating this concept into your trading decisions.
Bullish Overlapping Block (BBOB) :
Bearish Overlapping Block (BBOB) :
🔵 How to Use
The overlap between Order Blocks and Breaker Blocks is a compelling and powerful concept that can help traders identify key levels on the chart with a high probability of success. This overlap is particularly valuable because it combines two well-regarded concepts in technical analysis—zones of high order volume and critical market shifts.
🟣 Here’s how to effectively use this overlap in your trading
1. Dentifying the Overlapping Block : To make the most of the overlap between Order Blocks and Breaker Blocks, begin by identifying these zones separately. Order Blocks are areas where price typically reacts and reverses after a strong market move.
Breaker Blocks are areas where a previous Order Block has been breached, and the price continues in the opposite direction. When these two zones overlap on a chart, it’s crucial to pay close attention to this area, as it represents a high-probability reaction zone.
2. Analyzing the Overlapping Block : After identifying the overlap zone, carefully analyze price action within this region. Candlestick patterns and price behavior can provide essential clues.
If the price reaches this overlap zone and strong reversal patterns such as Pin Bars or Engulfing patterns are observed, it’s likely that this zone will act as a pivotal reversal point. In such cases, entering a trade with confidence becomes more feasible.
3. Entering the Trade : When sufficient signs of price reaction are present in the overlap zone, you can proceed to enter the trade. If the overlap zone is within an uptrend and bullish reversal signals are evident, a long position might be appropriate.
Conversely, if the overlap zone is in a downtrend and bearish reversal signals are observed, a short position would be more suitable.
4. Risk Management : One of the most critical aspects of trading in overlap zones is managing risk. To protect your capital, place your stop loss near the lowest point of the Order Block (for buy trades) or the highest point (for sell trades). This approach minimizes potential losses if the overlap zone fails to hold.
5. Price Targets : After entering the trade, set your price targets based on other key levels on the chart. These targets could include other support and resistance zones, Fibonacci levels, or pivot points.
Bullish Overlapping Block :
Bearish Overlapping Block :
🟣 Benefits of the Overlapping Block Between Order Block and Breaker Block
1. Enhanced Precision in Identifying Key Levels : The overlap between these two zones usually acts as a highly reliable area for price reactions, increasing the accuracy of identifying entry and exit points.
2. Reduced Trading Risk : Given the high importance of the overlap zone, the likelihood of making incorrect decisions is reduced, contributing to overall lower trading risk.
3. Increased Probability of Success : The overlap between Order Blocks and Breaker Blocks combines two powerful concepts, enhancing the likelihood of success in trades, as multiple indicators confirm the importance of the area.
4. Creation of Better Trading Opportunities : Overlap zones often provide traders with more robust trading opportunities, as these areas typically represent strong reversal points in the market.
5. Compatibility with Other Technical Tools : This concept seamlessly integrates with other technical analysis tools such as Fibonacci retracements, trend lines, and chart patterns, offering a more comprehensive market analysis.
🔵 Setting
🟣 Global Setting
Pivot Period of Order Blocks Detector : Enter the desired pivot period to identify the Order Block.
Order Block Validity Period (Bar) : You can specify the maximum time the Order Block remains valid based on the number of candles from the origin.
Mitigation Level Order Block : Determining the basic level of a Order Block. When the price hits the basic level, the Order Block due to mitigation.
Mitigation Level Breaker Block : Determining the basic level of a Breaker Block. When the price hits the basic level, the Breaker Block due to mitigation.
Mitigation Level Overlapping Block : Determining the basic level of a Overlapping Block. When the price hits the basic level, the Overlapping Block due to mitigation.
🟣 Overlapping Block Display
Show All Overlapping Block : If it is turned off, only the last Order Block will be displayed.
Demand Overlapping Block : Show or not show and specify color.
Supply Overlapping Block : Show or not show and specify color.
🟣 Order Block Display
Show All Order Block : If it is turned off, only the last Order Block will be displayed.
Demand Main Order Block : Show or not show and specify color.
Demand Sub (Propulsion & BoS Origin) Order Block : Show or not show and specify color.
Supply Main Order Block : Show or not show and specify color.
Supply Sub (Propulsion & BoS Origin) Order Block : Show or not show and specify color.
🟣 Breaker Block Display
Show All Breaker Block : If it is turned off, only the last Breaker Block will be displayed.
Demand Main Breaker Block : Show or not show and specify color.
Demand Sub (Propulsion & BoS Origin) Breaker Block : Show or not show and specify color.
Supply Main Breaker Block : Show or not show and specify color.
Supply Sub (Propulsion & BoS Origin) Breaker Block : Show or not show and specify color.
🟣 Order Block Refinement
Refine Order Blocks : Enable or disable the refinement feature. Mode selection.
🟣 Alert
Alert Name : The name of the alert you receive.
Alert Overlapping Block Mitigation :
On / Off
Message Frequency :
This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone :
The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
🔵 Conclusion
The overlap between Order Blocks and Breaker Blocks represents a critical and powerful area in technical analysis that can serve as an effective tool for determining entry and exit points in trading.
These zones, due to the combination of two key concepts in technical analysis, hold significant importance and can help traders make more confident trading decisions.
Although this concept is not specifically discussed in the ICT framework and is introduced as a new idea, traders can achieve better results in their trades through practice and testing.
Utilizing the overlap between Order Blocks and Breaker Blocks, in conjunction with other technical analysis tools, can significantly improve the chances of success in trading.
Volume DiffusionIndicator Overview
This indicator calculates potential volume (volume) based on the highest and lowest prices within a specified time period and displays it on the chart. This allows you to visually analyze the relationship between price fluctuations and volume.
How to use
Enter set values:.
setlength: Specify the period of time. The default value is 20. The calculation is based on the highest and lowest prices within this period.
sample_interval: Specifies the sampling interval. The default value is 1, sampling is done every bar. This is used to adjust the amount of data.
Display on chart:.
Blue line: highprice_ (highest price during the period).
Red line: Displays the lowprice_ (lowest price in the period).
Green line: Displays the potential volume (Potential_volume). It is the total volume at which the price changed.
Orange/purple step line: Displays volume_cal (calculated volume). This is the calculated volume change based on historical volume.
Interpretation:.
Change in highs and lows: As highs and lows change, the potential volume is updated accordingly. This allows us to track volume changes at key price levels.
volume_cal changes: Track volume changes and analyze how volume changes when prices reach highs and lows.
Reasons why smaller time frames work better
Data Density:.
Smaller timeframes (e.g., 1-minute and 5-minute timeframes) provide more bars, so price fluctuations and volume changes can be observed in detail. This allows the indicator to update more frequently and accurately reflect the relationship between price and volume.
Quick Reaction:.
With shorter time frames, price fluctuations and volume changes are captured more quickly, making the indicator calculations more sensitive. This allows for immediate analysis of short-term volume changes.
High-precision calculations:.
With longer time frames, there is less data to calculate and volume changes may not be fully reflected. With shorter time frames, the relationship between price changes and volume can be more precisely determined.
Cautions
Data volume limitations: Pine Script™ has limitations on the amount of data that can be used. If you are working with data over a long period of time, errors may occur when attempting to process large amounts of data. It is important to set the sampling interval (sample_interval) appropriately to control the amount of data.
Calculation performance: Even when using small time periods, performance can be affected by the complexity of the calculation. Pay attention to the sampling interval and the efficiency of the calculation.
The indicator can be used to better understand the relationship between price fluctuations and volume to help analyze and improve trading strategies. In particular, it allows for more accurate analysis on shorter time frames.
Money Flow DivergenceThe Money Flow Divergence indicator is designed to help traders identify periods when there is a significant divergence between the growth of the U.S. M2 money supply and the S&P 500 index (SPX).
This divergence can provide insights into potential market turning points, making it a valuable tool for long-term investors and traders looking to capitalize on macroeconomic trends.
How It Works:
Data Sources:
S&P 500 Index (SPX) and U.S. M2 Money Supply.
Calculating Growth Rates:
SPX Growth: The script calculates the percentage growth of the S&P 500 index by comparing the current closing price with the previous period's closing price.
M2 Growth: Similarly, it calculates the percentage growth of the U.S. M2 money supply by comparing the current value with the previous period's value.
Growth Gap/Delta:
Growth Gap: The core of the indicator is the "growth gap" or "delta," which is the difference between the M2 money supply growth and the SPX growth. This gap indicates whether liquidity in the economy (represented by M2) is outpacing or lagging behind the performance of the stock market.
Interpretation:
Positive Gap (Green Bars): When the M2 growth outpaces SPX growth, the gap is positive, indicating that there is more liquidity in the system than what is being reflected in the stock market. This scenario often signals potential upward momentum in the market, making it a good time to consider buying.
Negative Gap (Red Bars): When the SPX growth outpaces M2 growth, the gap is negative, suggesting that the market may be overextended relative to the available liquidity. This can be a warning sign of potential market corrections or downturns.
Visualization:
The indicator plots the growth gap as a histogram with bars colored based on the gap value:
Green Bars: Indicate a positive gap where M2 growth is higher than SPX growth.
Red Bars: Indicate a negative gap where SPX growth is higher than M2 growth.
The bars are thickened for better visibility, and a horizontal line at zero is plotted to help users easily distinguish between positive and negative gaps.
How To Use It:
Time Frame Selection: Users can select the desired time frame (e.g., monthly, weekly) for the data. This flexibility allows traders to analyze the indicator over different periods, depending on their investment horizon.
Monthly time frames seem to work best.
Interpreting the Indicator:
Bullish Signals: Look for sustained periods of positive growth gaps (green bars), which may indicate a favorable environment for buying or holding long positions.
Bearish Signals: Be cautious during periods of negative growth gaps (red bars), which could signal overvaluation in the market or potential pullbacks.
Enjoy and let me know if you have any questions.
Dual Timeframe Williams Percent RangeThis is a dual timeframe Williams Percent Range indicator.
Function:
The idea behind this indicator is for trader to see what the Williams %r is doing on higher timeframes without the need to change the chart. I added the "Smoothing" function to take the jagged lines out of the higher timeframe. It has a better flow this way.
If we choose the 4H and the Daily timeframes for example. In this bullish situation I wait for the Daily WPR to cross above the -50 mid line. Then the faster 4H WPR will eventually hit the bottom and begin to rise again back into the trend.
This is the "Reset" of the 4H WPR and when the 4H WPR crosses up above the -50 mid line again it means price should begin to rise on the chart. I added the option to change the colour when the signal lines cross the -50. It is good to use a fast time frame so you can see the WPR hitting the bottom in an uptrend, but not too fast.
The Heiken Ashi candle sticks are a very good addition to this system. You can also use a colour changing 200 EMA if you run the "1H/Daily" in the WPR. Or the 50 EMA if you run the Daily 4H.
This system could be used on lower timeframes too but I have not tested it there.
The Dual WPR indicator, the colour changing 50 EMA and Heiken Ashi have been optimised for the 4H/Daily.
If you want to set alerts the the faster WPR line crossing the -50 is good, on candle close.
This way you will only need one alert per chart.
If you get an alert on the EURUSD 4H that the 4H WPR has crossed up then look to see what what the Daily WPR is doing. If it is also above the -50 mid line then EURUSD is probably trending up.
Thank you to TradingView for supplying the Williams %r template.
I hope this helps some other traders out there.
I combined the Supertrend and the Coloured EMA in the main screen into one indicator.
This is my first indicator published :-)
Have fun out there and good luck.
Eddie T.
Qty CalculatorThis Pine Script indicator, titled "Qty Calculator," is a customizable tool designed to assist traders in managing their trades by calculating key metrics related to risk management. It takes into account your total capital, entry price, stop-loss level, and desired risk percentage to provide a comprehensive overview of potential trade outcomes.
Key Features:
User Inputs:
Total Capital: The total amount of money available for trading.
Entry Price: The price at which the trader enters the trade.
Stop Loss: The price level at which the trade will automatically close to prevent further losses.
Risk Percentage: The percentage of the total capital that the trader is willing to risk on a single trade.
Customizable Table:
Position: The indicator allows you to choose the position of the table on the chart, with options including top-left, top-center, top-right, bottom-left, bottom-center, and bottom-right.
Size: You can adjust the number of rows and columns in the table to fit your needs.
Risk Management Calculations:
Difference Calculation: The difference between the entry price and the stop-loss level.
Risk Per Trade: Calculated as a percentage of your total capital.
Risk Levels: The indicator evaluates multiple risk levels (0.10%, 0.25%, 0.50%, 1.00%) and calculates the quantity, capital per trade, percentage of total capital, and the risk amount associated with each level.
R-Multiples Calculation:
The indicator calculates potential profit levels at 2x, 3x, 4x, and 5x the risk (R-Multiples), showing the potential gains if the trade moves in your favor by these multiples.
Table Display:
The table includes the following columns:
CapRisk%: Displays the risk percentage.
Qty: The quantity of the asset you should trade.
Cap/Trade: The capital allocated per trade.
%OfCapital: The percentage of total capital used in the trade.
Risk Amount: The monetary risk taken on each trade.
R Gains: Displays potential gains at different R-Multiples.
This indicator is particularly useful for traders who prioritize risk management and want to ensure that their trades are aligned with their capital and risk tolerance. By providing a clear and customizable table of critical metrics, it helps traders make informed decisions and better manage their trading strategies.
Shark Harmonic Pattern [TradingFinder] Shark Detector Indicator🔵 Introduction
The Shark harmonic pattern, first introduced by Scott Carney in 2011, is a recognized tool in technical analysis. Since its inception, it has been widely adopted by traders as an essential market analysis tool.
Due to its complexity, the Shark pattern can be challenging for novice traders. Therefore, we have developed the Harmonic Pattern Indicator to help analysts and traders easily identify these patterns.
🟣 Understanding the Types of Shark Pattern
In technical analysis, the Shark harmonic pattern forms at the end of trends and is categorized into two types: Bullish and Bearish Shark Patterns.
Bullish Shark Pattern : This pattern appears at the end of a downtrend, indicating a potential reversal to an uptrend. Traders can use this pattern to identify buy entry points. The image below illustrates the core components of the Bullish Shark Pattern.
Bearish Shark Pattern : Conversely, the Bearish Shark Pattern forms at the end of an uptrend, signaling a possible reversal to a downtrend. This pattern prompts traders to shift their positions from buying to selling. The image below showcases the characteristics of the Bearish Shark Pattern.
🔵 How to Use
🟣 Trading with the Bullish Shark Pattern
The Bullish Shark Pattern acts as a reversal pattern, helping traders identify the end of a downtrend and the beginning of an uptrend. It consists of five key points that indicate alternating bullish and bearish movements.
Upon the complete formation of this pattern, traders can look for opportunities to enter buy trades. To manage risk effectively, it is advisable to set a stop-loss below the lowest price point within the pattern.
🟣 Trading with the Bearish Shark Pattern
Similarly, the Bearish Shark Pattern functions as a reversal pattern but in the opposite direction. It helps traders identify the end of an uptrend and the onset of a downtrend.
After the pattern fully forms, traders can seek sell entry opportunities. As with the bullish pattern, placing a stop-loss above the highest price point within the pattern is recommended for risk management.
🔵 Setting
🟣 Logical Setting
ZigZag Pivot Period : You can adjust the period so that the harmonic patterns are adjusted according to the pivot period you want. This factor is the most important parameter in pattern recognition.
Show Valid Format : If this parameter is on "On" mode, only patterns will be displayed that they have exact format and no noise can be seen in them. If "Off" is, the patterns displayed that maybe are noisy and do not exactly correspond to the original pattern.
Show Formation Last Pivot Confirm : if Turned on, you can see this ability of patterns when their last pivot is formed. If this feature is off, it will see the patterns as soon as they are formed. The advantage of this option being clear is less formation of fielded patterns, and it is accompanied by the latest pattern seeing and a sharp reduction in reward to risk.
Period of Formation Last Pivot : Using this parameter you can determine that the last pivot is based on Pivot period.
🟣 Genaral Setting
Show : Enter "On" to display the template and "Off" to not display the template.
Color : Enter the desired color to draw the pattern in this parameter.
LineWidth : You can enter the number 1 or numbers higher than one to adjust the thickness of the drawing lines. This number must be an integer and increases with increasing thickness.
LabelSize : You can adjust the size of the labels by using the "size.auto", "size.tiny", "size.smal", "size.normal", "size.large" or "size.huge" entries.
🟣 Alert Setting
Alert : On / Off
Message Frequency : This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone : The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
🔵 Conclusion
The Shark harmonic pattern is a potent analytical tool in technical analysis that aids traders in identifying critical reversal points in financial markets. Whether in a bullish or bearish context, this pattern provides clear trend change signals, allowing traders to enter trades with greater precision and optimize their strategies.
However, as with all analytical methods, it is essential to supplement the Shark pattern with additional analyses and strict risk management to avoid potential losses. Incorporating this pattern into a comprehensive trading strategy can lead to better trade outcomes and more opportunities for success