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.
Educational
RSI & ADX [deepakks444]This Pine Script is designed to provide a comprehensive view of market conditions by combining the Relative Strength Index (RSI) and the Average Directional Index (ADX) indicators. The script offers a range of customizable features to help traders analyze trends, identify overbought and oversold conditions, and make informed trading decisions.
Key Features:
RSI and ADX Calculation:
The script calculates the RSI and ADX values based on user-defined lengths.
The RSI indicator helps identify overbought and oversold conditions.
The ADX indicator measures the strength of the trend.
Trend Identification:
The script uses the Directional Movement Index (DMI) to determine bullish and bearish trends.
It highlights strong trends by changing the background color.
Customizable Colors:
Users can choose to color candles based on ADX or RSI values.
The RSI line can be displayed in a single color or change color based on its value.
Overbought and Oversold Zones:
The script visually represents overbought and oversold zones with fading color effects.
This helps traders quickly identify potential reversal points.
Dynamic Midline:
The midline (50) of the RSI changes color based on the trend direction, providing additional visual cues.
Side Panel for ADX and RSI Values:
A side panel displays the current RSI and ADX values with color-coded boxes for easy reference.
Customizable Parameters:
Users can adjust various parameters such as RSI length, ADX length, ADX threshold, and levels for overbought and oversold zones.
Usage:
Trend Analysis: Use the ADX and DMI to identify strong trends and their direction.
Overbought/Oversold Conditions: Monitor the RSI to spot potential reversal points.
Visual Aids: Utilize the color-coded candles, background, and fading zones to quickly assess market conditions.
This script is designed to be user-friendly and highly customizable, allowing traders to tailor the indicators to their specific trading strategies and preferences. By combining the strengths of RSI and ADX, this script provides a powerful tool for technical analysis.
JL Swing Signal - {UT}Hello all, This signal is created based on Jesse Livermore's formula, I have tried to enhance it by including other elements to make the experience better and rewarding.
1. Swing Highs and Swing Lows:
>Identifies a swing high when the current high is higher than the highs of the specified number of bars to its left and right.
>Identifies a swing low when the current low is lower than the lows of the specified number of bars to its left and right.
>Also marks the confirmed swing highs (SH) and swing lows (SL) on the chart for visual reference.
2. Breakout Confirmation:
> Finds out when the closing price crosses above the last confirmed swing high.
> Ensures that the breakout is sustained for the defined number of confirmation bars to filter out false breakouts.
>BuySignal: A buy signal is generated only when both the breakout and hold conditions are met.
3. Trend Filter:
>EMA Calculation: A 50-period EMA is used to filter trades in the direction of the existing trend. Trades are only taken in the direction of the trend.
>Ensures buy signals are only triggered if the price is above the EMA, indicating an uptrend.
4. Volume Confirmation:
Volume Moving Average: A 20-period Simple Moving Average (SMA) of volume is calculated to compare current volume levels.
5. Profit Target:
ATR-Based Profit Target: A dynamic profit target is set based on a multiple of the ATR. This helps capture profits when the market moves in the trade's favor.
6. Exit Strategy:
Stop Loss and Profit Target: The script exits the trade if the price hits the stop loss or the profit target.
Interpretaion:
Buy Signals: Displayed with a green "BUY" label.
Stop Loss and Profit Target: Plotted as orange and green lines, respectively.
Exit Signals: Displayed with a red "EXIT" label when the exit conditions are met.
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.
Volume Trap By IT Wala
Version 1.0
1. Purpose
Objective:
The "IT WALA - VOLUME TRAP" indicator is designed to identify potential bullish and bearish volume traps in the market. Volume traps occur when the market shows a misleading volume pattern that could trap traders into making incorrect decisions, such as buying into a false breakout or selling during a fake breakdown.
Target Audience:
This indicator is ideal for day traders and swing traders looking to improve their entry and exit points by identifying potential traps in price and volume dynamics. It is especially useful in volatile markets where volume analysis plays a critical role.
2. Key Features
Main Functionalities:
Volume-Price Relationship Analysis: The indicator analyzes the relationship between volume and price movement to detect situations where price action might mislead traders, typically referred to as volume traps.
Bullish and Bearish Volume Traps: It identifies both bullish and bearish volume traps and visually represents them on the chart with labels and colored boxes.
Customizable Lookback Period: Users can adjust the lookback period to refine the sensitivity of the trap detection based on their trading strategy.
Customization Options:
Lookback Period: The indicator allows users to adjust the lookback period, which influences how the highest highs and lowest lows are calculated for detecting volume traps.
Visual Elements:
Color-coded Bars: The indicator uses green, red, and yellow bars to visually distinguish between different volume-price relationships:
Green: Volume up, price up.
Red: Volume up, price down.
Yellow: Volume down, price either up or down, indicating a potential trap.
Labels and Boxes: The indicator marks detected bullish traps with a green label and bearish traps with a red label. Additionally, green and red boxes are drawn around these traps to highlight them on the chart.
3. Inputs
Explanation of Inputs:
Lookback Period (Default: 3): This input determines the number of bars to look back when calculating the highest high and lowest low for trap detection. Increasing the lookback period might help in identifying more significant traps, while a shorter period may detect more frequent but less significant traps.
Customization:
Users can adjust the lookback period to align with their specific trading strategy. The default is set to 3, but it can be increased or decreased depending on the desired sensitivity.
4. Output Interpretation
Signal Explanation:
Bullish Trap: A bullish trap is detected when, within the lookback period, the volume decreases while the price increases. This scenario often misleads traders into buying, thinking the market is strong, while it might be ready to reverse.
Bearish Trap: A bearish trap occurs when the volume decreases while the price decreases, potentially misleading traders into selling, expecting further decline, while the market could be about to turn bullish.
Visual Cues:
Green Label "Bullish Trap": Placed near the lowest low in the lookback period, indicating a potential buying trap.
Red Label "Bearish Trap": Placed near the highest high in the lookback period, indicating a potential selling trap.
Boxes: Green and red boxes are drawn around the bars where the traps are detected, helping traders quickly identify and interpret the signals.
5. Usage Guidelines
Timeframes and Markets:
This indicator works well on various timeframes but is most effective on intraday charts (e.g., 15-minute, 1-hour) and daily charts. It can be applied across different markets, including stocks, forex, and cryptocurrencies.
Integration with Other Indicators:
For better trade confirmation, consider using this indicator in conjunction with momentum indicators like RSI or MACD. This can help filter out false signals and provide more robust trading decisions.
Setup Tips:
Ensure that your chart settings allow for the display of labels and boxes. Adjust the lookback period based on the volatility of the market you are trading.
6. Performance and Limitations
Past Performance:
While the "IT WALA - VOLUME TRAP" indicator has shown effectiveness in backtesting, users should note that past performance does not guarantee future results. Market conditions can change, and the indicator may not perform as expected in all scenarios.
Repainting Issues:
This indicator does not repaint. Once a signal is generated, it remains fixed, providing traders with reliable historical data for analysis.
7. Disclaimers
Risk Warning:
Trading financial instruments involves significant risk, and it is possible to lose more than your initial investment. The "IT WALA - VOLUME TRAP" indicator is provided for educational purposes only and should not be considered financial advice.
Liability:
The creator, WOH_IT_WALA, is not liable for any financial losses incurred by users of this indicator. Users are encouraged to conduct their own research and use this tool as part of a comprehensive trading strategy.
8. Additional Information
Version and Updates:
This is version 1.0 of the "IT WALA - VOLUME TRAP" indicator. Future updates may include additional customization options and enhanced signal detection methods.
Support and Feedback:
For support, feedback, or suggestions, please contact the author through the TradingView messaging system or leave a comment in the indicator’s section.
Conclusion:
The "IT WALA - VOLUME TRAP" indicator is a valuable tool for traders looking to identify potential traps in volume and price action. By providing clear visual signals and customizable options, it empowers traders to make more informed decisions. However, users should always apply this indicator with caution and in conjunction with other analysis tools, maintaining a clear understanding of its limitations.
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.
Market Momentum @MaxMaseratiThe Market Momentum Indicator plots two essential lines on your chart: the Momentum Line and the Momentum Signal, enabling you to visualize price direction and detect potential shifts in that direction.
Momentum Line:
The Momentum Line is calculated by finding the highest and lowest prices over the last 14 periods and then determining the midpoint between them. This midpoint is what we call the Momentum Line.
Momentum Signal:
The Momentum Signal is simply the Momentum Line shifted upward by a small fixed amount called the tick_size, which is set to 0.25 in this script.
Why 0.25?: The 0.25 tick size is a standard increment in many markets. It creates a small but noticeable difference between the Momentum Line and the Momentum Signal, making it easier to spot changes in market momentum. It’s small enough to reflect minor shifts without distorting the indicator’s usefulness.
NB: The indicator was originally created to be use without smoothing, but I add it as an option for smoothing and moving average lovers.
Smoothing:
You have the option to smooth these lines using different types of moving averages, like SMA or EMA. Smoothing makes the lines less jagged and more gradual.
If you apply smoothing, the Momentum Line and Momentum Signal might cross each other depending on the market’s movement.
How to use it:
When both lines are below price, it might indicates a Bullish Momentum
When both lines are above the price, it could suggest a Bearish Momentum.
When the lines are within the price range, it indicates the market is in a consolidation phase, signaling the potential for a move in either direction.
snapshot
Users can view Momentum Line and Momentum Signal for two specific time frames of their choice. Additionally, they have the option to smooth the lines separately for each time frame. For example, if "TF1" is set to 15 minutes and the current chart time frame is 5 minutes, the table will display "TF1: 15" alongside "Current TF: 5." Another option, "TF2," could be set to 60 minutes. Both time frames will be plotted on the chart if selected.
This indicator can be use as a supporting tool alongside your chosen strategy. It’s not designed to be used on its own and should be part of a broader confluence approach.
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.
v01 remindersTrading requires focus, discipline, and sometimes a reminder to stay on track.
Many of us know how to take trades and make money - but sometimes struggle to hold on to the gains. By knowing not only when to trade, but also when NOT to trade, we can begin to build better habits.
I built this indicator for my own needs, but I hope this indicator can help someone save money by reminding them when to step away, size down or stay on track.
Inspired by trading psychologists like Mark Douglas, David Paul and others, I decided to make an indicator that deals with the mental aspect of trading.
Dr. David Paul said that you can be 10-15 trades away from the trader you want to be. All it takes is 10-15 trades of doing only the right thing (erasing bad habits). After that time the resistance to execute the trades properly will improve even more.
Good trading should be boring and repetitive. If the trading is exciting and varied it is likely unprofitable (more akin to impulsive gambling).
Perhaps you know how to trade, yet keep trading impulsively sometimes, getting "the itch" to trade or gambling with your gains? Set some reminders and see if you can build better habits. Over time it could make a difference.
You can enable up to 10 different reminders with each instance of the indicator. You can select days of the week and time of day. The visibility is fully customizable to suit any colour theme you may want. They dont actually alert - its a silent visual reminder, which is less intrusive and stays on screen for as long as you want.
Remind yourself when CPI releases or bond auctions are about to hit.
Don't get caught off guard by FED speakers or FOMC announcements.
Manage your emotions by writing a motivational reminder.
Build better habits and stay disciplined with reminders not to gamble.
Remind yourself to stay away from the markets when there is low liquidity, and trade during your best hours.
Wait for the market to establish balance and let the text show when to either wait or when to start trading.
Some basic inspiration:
"FOMC - No trading!"
"CPI Data - Expect Volatility"
"Markets closed tomorrow - Plan ahead"
"Take it slow, it's a marathon, not a sprint." - Dakota
"Wait for cheap risk" - HOAG
"Don't diddle in the middle!" - Brian Watts
You can of course write anything you want. Maybe you would like to remind yourself of a specific algo in crude oil or gold, or have other motivational reminders that work for you. If you have any good suggestions put them in the comments for others to use.
You can also use the script to watermark or put a web link on your charts. The indicator is empty by default - the image is just an example of the different types of labels it can show.
Customize the reminders for specific days, times, and events. Position them anywhere on your chart to suit your workflow. Whether you're a day trader or a long-term investor, theres always things to improve. This lets you keep those reminders right on your charts. You can go into the object tree settings and drag the indicator to the top if you want it to hide the candlesticks, and size up the text to really make it cover the chart for when to really stay away, as in the "FOMC" example in the image. The sample image shows a couple of different labels - but the script has no texts by default. It is up to you what to write and what colours to use. Please share it with others that may benefit.
You can add the script more than once if you need more than 10 alerts. You can also use it on multiple panels in TradingView, and it will remember the reminders for each panel. You can use spaces when positioning text in the top and bottom left corners of the screen, where there is sometimes a logo or ticker name obscuring the text. If two reminders display in the same location it will default to show the higher number of the two. Use specific times to change the reminders to make sure they dont overlap if they have the same position and put them on multiple charts if needed.
This script is dedicated to Brian Watts, who started something in me when he kept repeating "Don't diddle in the middle!" and "Where is purple?". IYKYK. I would like to thank him for the inspiration to better myself.
As above, so below.
v01
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.
Liquidity tool [Influxum]One of the most widespread concepts that can give you an edge when trading in the markets is liquidity. There are several ways to identify and plot liquidity. This indicator aims to show how liquidity can be plotted entirely objectively, thus laying the foundation for a consistent trading system.
Pivot
One of the ways to identify liquidity is using pivots. Pivots are candles that are locally the highest or the lowest. We identify them using strength, which is a number that determines how many candles to the left and right of the pivot candle are lower for a pivot high and higher for a pivot low. It is important to keep in mind that a pivot candle is only confirmed when the last candle to the right closes. If I have the pivot number set to 10, it means that a pivot high is a candle that has 10 lower candles on the left and 10 lower candles on the right. Only after the 10th candle to the right closes is the pivot candle confirmed as a pivot high. Within this indicator, the liquidity line is drawn at this moment.
Tip for traders:
If you work with liquidity from both lower and higher timeframes, try adding two Liquidity Tool indicators to your chart: set a lower pivot number, for example, 5 for one, and a higher pivot number, for example, 20 for the other. At the same time, adjust the line width for liquidity with a higher pivot number to a higher value. This way, you achieve a combination of liquidity from significant higher timeframe structures and lower timeframe structures.
Gann Swing
The Gann swing is another objective way to mark liquidity in the market. Unlike pivot liquidity, which is based on the highest highs or lowest lows of candles, the Gann swing is based on the highest or lowest closes. We then mark liquidity when the current candle closes above the highest close of the last few candles or below the lowest close of the last few candles. While a pivot high might only show a local extreme in price development, the Gann swing deals with the actual closing of the price. Liquidity points determined by the Gann swing may thus be more indicative of where the price actually wants to go, not just where it was at a particular moment before sharply rebounding (as with pivot liquidity).
Percent Change
One of the most objective ways to identify liquidity is the percentage change in price. We plot liquidity only in places where there has been a sufficiently large swing/significant price movement. This can be particularly relevant for filtering out moments when the price is moving within a narrow range. In such a situation, many pivot highs and lows or Gann swings can occur, which may be only a few pips or fractions of a percent apart. If you set it so that you want liquidity to be plotted only on a swing of 0.1% (for forex, where this is a sufficiently large movement), you can easily filter out moments when the price was moving in a narrow range.
Liquidity Session
For Pivot, Gann, and Percentage liquidity, you have the option to set a trading session. This determines the time period for which you want liquidity to be plotted. You might want to see only the liquidity from the Asian session, for example. Check the checkbox with BG. This will display the background for the currently selected session. You can then check if you are working only with the liquidity of your intended session.
Note:
Sometimes you may notice that liquidity lines start even outside the selected session. This is not a mistake. As mentioned above with pivot liquidity, if the pivot number (strength) is 10, we wait for the tenth candle to close before liquidity is confirmed. The pivot candle itself is thus located 10 candles back, and that is where the liquidity line also begins. However, the crucial moment for this indicator is when the liquidity point is confirmed.
Visual Settings
To customize the indicator to your preferences as much as possible, you have the option to set the style of the liquidity line, its color, and its thickness. The analyses you share will then match your exact vision.
Delete Grabbed Liquidity
Check this option when you want to see only uncrossed liquidity on the charts, meaning liquidity lines that have not yet been crossed by the price.
Display Liquidity Grab Point
When you check this option, it highlights the points on the candles where liquidity was grabbed.
Liquidity Duration
Some strategies require that only internal liquidity be taken, meaning liquidity that was created recently. To accommodate this, we have embedded several options in the indicator to work with the validity duration of liquidity.
Delete Liquidity End of Day
This option deletes the liquidity line at the end of the calendar day. This way, you can display only intraday liquidity.
Tip for traders: If you check both "delete liquidity end of day" and "delete grabbed liquidity," only the liquidity of the current day will be displayed on the chart.
Delete Liquidity End of Next Day
This option works similarly to the above. By deleting liquidity only at the end of the next day, you can work with yesterday's liquidity. Many strategies use the liquidity of the previous day (or the high and low of the previous day), allowing you to focus exclusively on yesterday's and today's liquidity.
Liquidity Duration in Bars
The final option allows you to delete liquidity after a certain time has elapsed. For the purposes of the indicator, we have set the time in terms of the number of bars. So, if you are on a 5-minute timeframe and want liquidity to be deleted after an hour, set the liquidity duration to 12 bars (12 x 5 minutes is 60 minutes).
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.
EMA+ATR Scalping Indicator by TradeTechIndicator Description: “EMA+ATR Scalping Indicator by Tradetech”
The “EMA+ATR Scalping Indicator” is a powerful tool designed to help traders identify optimal entry and exit points in the market, focusing on high-probability scalping opportunities. This indicator combines the strength of the Exponential Moving Average (EMA) with the Average True Range (ATR) to generate precise signals, aiming to maximize profits while minimizing risk.
Key Features:
• Sensitivity Key Value: Allows customization of the ATR multiplier, fine-tuning the trailing stop level for different market conditions.
• ATR Calculation: Measures market volatility over a specified period, dynamically adjusting the trailing stop to capture significant price moves while reducing noise.
• EMA for Confirmation: The 20-period EMA is used as a trend filter, ensuring that trades are aligned with the prevailing market direction.
• Trade Cooldown Period: Prevents over-trading by enforcing a minimum number of bars between consecutive trades, reducing the likelihood of whipsaws.
• Flat ATR Threshold: Identifies periods of low volatility (flat ATR), during which trading is avoided to protect against false signals.
Trading Logic:
• Entry Signals: The indicator generates long signals when the price crosses above the ATR trailing stop or breaks out consecutively in an uptrend, with the EMA confirming the bullish trend. Short signals are generated when the price crosses below the ATR trailing stop or consecutively breaks out in a downtrend, with the EMA confirming the bearish trend.
• Exit Signals: The exit points are defined by the ATR trailing stop, which adjusts dynamically with market conditions, ensuring that profits are locked in as the trend evolves.
• No Trading Zone: When the ATR is flat, indicating low volatility, the indicator displays a “No Trading Zone” to prevent taking positions in uncertain market conditions.
Why Combine EMA + ATR?
The combination of EMA and ATR in this indicator is crucial for several reasons:
1. Trend Identification (EMA): The EMA acts as a reliable trend filter, ensuring that trades are taken in the direction of the prevailing trend. By doing so, the indicator avoids taking trades against the momentum, which could result in lower probability setups.
2. Volatility-Based Trailing Stop (ATR): The ATR provides a volatility-adjusted stop-loss level, which is essential in scalping strategies where market conditions can change rapidly. This allows the trailing stop to widen during periods of high volatility and tighten during low volatility, optimizing the trade management process.
3. Enhanced Accuracy: By combining the EMA and ATR, the indicator filters out noise and avoids entering trades during flat market conditions, where the probability of false signals is higher. This synergy between trend and volatility creates a more robust and accurate scalping tool.
4. Dynamic Trade Management: The use of ATR for setting trailing stops ensures that the trade exits are dynamic and adaptable to current market conditions, maximizing the potential for capturing significant moves while minimizing drawdowns.
Overall, the EMA + ATR combination within the “EMA+ATR Scalping Indicator” provides a well-rounded approach to scalping, balancing trend-following with volatility management for more consistent trading results.
Super RSI: Multi-Timeframe, Multi-RSI-MA, Multi Symbol [DucTri]█ Overview
RSI is a very popular indicator that almost every trader knows about. I created this indicator with the goal of helping you use RSI more conveniently and effectively.
█ Uses
Monitor the RSI of 10 currency pairs simultaneously.
The first column shows the RSI of the current currency pair.
RSI below 30 will have a Red background, and above 70 will have a Green background.
Display multiple RSI lines with different lengths (or timeframes).
Displays 3 RSI with 3 different lengths 7, 14 and 21
Displays two RSI lines with two different timeframes. The purple line shows RSI (14) for the 1H timeframe, and the blue line shows RSI (14) for the 4H timeframe.
Display MA and Bollinger Band lines for RSI.
Shows the RSI line along with two MA lines of the RSI: EMA (9) in blue and WMA (45) in red.
Identify RSI Divergence with custom settings
█ Input
- You can have up to three RSI lines, with customizable lengths and timeframes.
- You also have up to three RSI-MA lines, where you can customize the MA type and length.
- You can track RSI for up to 10 currency pairs at the same time.
- Additionally, you can change how the top (or bottom) is determined when identifying divergence.
█ Alerts
Send alerts when two RSI lines cross. For example, when the RSI 14 crosses above the RSI 21, or the RSI on the 1H timeframe crosses above the RSI on the 4H timeframe.*
Send alerts when RSI crosses above or below the RSI-MA line.
Send alerts when two RSI-MA lines cross. For example, when the RSI-EMA (9) crosses above the RSI-WMA (45).*
Send alerts when Divergence (Convergence) appears.
Send alerts when any currency pair in the monitored list shows an Overbought or Oversold signal.