Period Separator All TimeframesPeriod Separator All Timeframes
This script allows you to add customizable period separators on your TradingView charts. You can select the timeframe for the separators, and they will only be visible on the same or lower timeframes. This is useful for visually distinguishing different periods, such as hours, days, or weeks, directly on your chart.
How to Use:
Add the Indicator: Add the "Period Separator All Timeframes" indicator to your TradingView chart.
Configure Separator Settings:
Separator Color: Choose the color for the period separator lines.
Separator Style: Select the line style (Solid, Dashed, Dotted).
Separator Width: Set the width of the separator lines.
Separator Timeframe: Select the timeframe for the separators (e.g., 1 hour, 1 day).
View the Separators: The separators will be drawn at the start of each new period based on the selected timeframe.
They will only be visible on the same or lower timeframes.
Use this indicator to easily differentiate between trading sessions, hours, days, or any other timeframe you choose, enhancing your chart analysis and trading strategy.
Multitimeframe
Candle Wick Shadows [UkutaLabs]█ OVERVIEW
The Candle Wick Shadows Indicator identifies untested wicks in real time that occur when there is an imbalance in the number of buyers and sellers at a price-level. This imbalance occurs when a market exchange receives too many of one kind of order, and not enough of its counterpoint.
Candle Wick Shadows is a powerful trading indicator that will automatically identify and label strong ranges on traders’ charts that can be incorporated into a wide variety of different trading strategies.
█ USAGE
The script automatically identifies and measures real-time ranges of imbalance between buying and selling pressure in the market using real-time price-action information. These levels indicate potential Supply and Demand zones which serve to help the trader identify areas where price has changed direction in the past due to an imbalance of buyers and sellers.
The script also allows users to mirror higher time frame Candle Wick Shadows onto lower time frame charts to gain a stronger understanding of key levels on another scale.
█ SETTINGS
Configuration
- Show Labels: Determines whether or not identification labels are drawn on the chart.
- Max CWS Display: Determines the number of Candle Wick Shadows that will be drawn on the chart. This is for each higher timeframe option that is toggled, not the total.
Current Time Frame
-Wick Shadow (On/Off): Determines whether or not wick shadows are drawn from the current time frame chart.
- Bullish Color: Determines the color of bullish wick shadows from the current time frame.
- Bearish Color: Determines the color of bearish wick shadows from the current time frame.
5 Minute (Higher Timeframe)
-Wick Shadow (On/Off): Determines whether or not wick shadows are drawn from the 5 minute time frame chart.
- Bullish Color: Determines the color of bullish wick shadows from the 5 minute time frame.
- Bearish Color: Determines the color of bearish wick shadows from the 5 minute time frame.
15 Minute (Higher Timeframe)
-Wick Shadow (On/Off): Determines whether or not wick shadows are drawn from the 15 minute time frame chart.
- Bullish Color: Determines the color of bullish wick shadows from the 15 minute time frame.
- Bearish Color: Determines the color of bearish wick shadows from the 15 minute time frame.
30 Minute (Higher Timeframe)
-Wick Shadow (On/Off): Determines whether or not wick shadows are drawn from the 30 minute time frame chart.
- Bullish Color: Determines the color of bullish wick shadows from the 30 minute time frame.
- Bearish Color: Determines the color of bearish wick shadows from the 30 minute time frame.
60 Minute (Higher Timeframe)
-Wick Shadow (On/Off): Determines whether or not wick shadows are drawn from the 60 minute time frame chart.
- Bullish Color: Determines the color of bullish wick shadows from the 60 minute time frame.
- Bearish Color: Determines the color of bearish wick shadows from the 60 minute time frame.
240 Minute (Higher Timeframe)
-Wick Shadow (On/Off): Determines whether or not wick shadows are drawn from the 240 minute time frame chart.
- Bullish Color: Determines the color of bullish wick shadows from the 240 minute time frame.
- Bearish Color: Determines the color of bearish wick shadows from the 240 minute time frame.
Daily (Higher Timeframe)
-Wick Shadow (On/Off): Determines whether or not wick shadows are drawn from the daily time frame chart.
- Bullish Color: Determines the color of bullish wick shadows from the daily time frame.
- Bearish Color: Determines the color of bearish wick shadows from the daily time frame.
Candle Wick Retest [UkutaLabs]█ OVERVIEW
The Candle Wick Retest Indicator identifies untested wicks in real time that occur when there is an imbalance in the number of buyers and sellers at a price-level. This imbalance occurs when a market exchange receives too many of one kind of order, and not enough of its counterpoint.
Candle Wick Retest is a powerful trading indicator that will automatically identify and label strong ranges on traders’ charts that can be incorporated into a wide variety of different trading strategies.
█ USAGE
The script automatically identifies and measures real-time ranges of imbalance between buying and selling pressure in the market using real-time price-action information. These levels indicate potential Supply and Demand zones which serve to help the trader identify areas where price has changed direction in the past due to an imbalance of buyers and sellers.
The script also allows users to mirror higher time frame Candle Wick Retests onto lower time frame charts to gain a stronger understanding of key levels on another scale.
█ SETTINGS
Configuration
- Show Labels: Determines whether or not identification labels are drawn on the chart.
- Max CW Display: Determines the number of Candle Wick Retests that will be drawn on the chart. This is for each higher timeframe option that is toggled, not the total.
Current Time Frame
- Wick Retest (On/Off): Determines whether wick retests will be drawn from the current time frame chart.
- Wick Retest Bullish Color: Determines the color of bullish wick retests from the current time frame.
- Wick Retest Bearish Color: Determines the color of bearish wick retests from the current time frame.
5 Minute (Higher Timeframe)
- Wick Retest (On/Off): Determines whether wick retests will be drawn from the 5 minute chart.
- Wick Retest Bullish Color: Determines the color of bullish wick retests from the 5 minute time frame.
- Wick Retest Bearish Color: Determines the color of bearish wick retests from the 5 minute time frame.
15 Minute (Higher Timeframe)
- Wick Retest (On/Off): Determines whether wick retests will be drawn from the 15 minute time frame chart.
- Wick Retest Bullish Color: Determines the color of bullish wick retests from the 15 minute time frame.
- Wick Retest Bearish Color: Determines the color of bearish wick retests from the 15 minute time frame.
30 Minute (Higher Timeframe)
- Wick Retest (On/Off): Determines whether wick retests will be drawn from the 30 minute time frame chart.
- Wick Retest Bullish Color: Determines the color of bullish wick retests from the 30 minute time frame.
- Wick Retest Bearish Color: Determines the color of bearish wick retests from the 30 minute time frame.
60 Minute (Higher Timeframe)
- Wick Retest (On/Off): Determines whether wick retests will be drawn from the 60 minute time frame chart.
- Wick Retest Bullish Color: Determines the color of bullish wick retests from the 60 minute time frame.
- Wick Retest Bearish Color: Determines the color of bearish wick retests from the 60 minute time frame.
240 Minute (Higher Timeframe)
- Wick Retest (On/Off): Determines whether wick retests will be drawn from the 240 minute time frame chart.
- Wick Retest Bullish Color: Determines the color of bullish wick retests from the 240 minute time frame.
- Wick Retest Bearish Color: Determines the color of bearish wick retests from the 240 minute time frame.
Daily (Higher Timeframe)
- Wick Retest (On/Off): Determines whether wick retests will be drawn from the daily time frame chart.
- Wick Retest Bullish Color: Determines the color of bullish wick retests from the daily time frame.
- Wick Retest Bearish Color: Determines the color of bearish wick retests from the daily time frame.
Swing Pivots [UkutaLabs]█ OVERVIEW
The Swing Pivots indicator uses relevant price-action information to identify key levels of Support and Resistance. Traders will be able to use current day Swing Pivots as well as mirror higher time frame Swing Pivots to gain a stronger understanding of overall market strength and key levels.
The aim of this script is to improve the users trading experience by offering a versatile toolkit that can be used in a wide variety of trading strategies to help simplify the complexities of the market.
█ USAGE
Throughout the trading day, the script will automatically identify key High and Low levels in the market based on currently relevant price action information, giving users potentially strong support and resistance levels which serve to guide the trader throughout the complexities in the market.
The script will also Identify powerful Order Blocks which are clusters of orders executed at a specific price level which represent an imbalance between supply and demand. By identifying Order Blocks, the script can indicate valuable supply and demand zones which help signal potential market turning points for the trader.
Furthermore, the script allows the user to mirror higher time frame Swing Pivots onto lower time frame charts to gain a stronger understanding of overall market strength and key levels on multiple time frames from a single chart.
█ SETTINGS
Configuration
Pivot Strength: Determines the sensitivity of the pivot calculation. A higher strength will result in less pivots being drawn, and a lower strength will result in more pivots being drawn.
Current Time frame
• Display: Determines whether or not Swing Pivots from the current time frame will be drawn on the chart.
5 Minute (Higher Time Frame)
• Display: Determines whether or not Swing Pivots from the 5 minute time frame will be drawn on the chart.
15 Minute (Higher Time Frame)
• Display: Determines whether or not Swing Pivots from the 15 minute time frame will be drawn on the chart.
30 Minute (Higher Time Frame)
• Display: Determines whether or not Swing Pivots from the 30 minute time frame will be drawn on the chart.
1 Hour (Higher Time Frame)
• Display: Determines whether or not Swing Pivots from the 1 hour time frame will be drawn on the chart.
4 Hour (Higher Time Frame)
• Display: Determines whether or not Swing Pivots from the 4 hour time frame will be drawn on the chart.
Daily (Higher Time Frame)
• Display: Determines whether or not Swing Pivots from the daily time frame will be drawn on the chart.
Power Trends [UkutaLabs]█ OVERVIEW
The Power Trends Indicator is a versatile trading toolkit that offers unique insight into key price levels in the market. This script uses currently relevant price-action information to automatically detect pivot levels and use them to create powerful trendlines.
The aim of this script is to improve the trading experience of users by offering a versatile toolkit that can be used in a wide variety of trading strategies to help simplify the complexities of the market.
█ USAGE
The Power Trends Indicator will automatically identify pivot points in real-time using recent price-action information to ensure that all points being identified are relevant. Using these pivot points, the script then draws powerful trend lines that can be used as levels of resistance and support.
To ensure that only the most relevant information is being presented, only the most recent trend lines will be displayed on the user’s charts. As new trend lines are being drawn, older trend lines will become thinner so that traders can identify the most relevant lines at a glance.
The price of the most recent high and low pivot points will also be displayed on the chart and can be used as further levels of resistance and support.
When a recent pivot level is broken, it will be identified as a Break of Structure. This signifies that there may have been a change in market strength.
The Power Trends Indicator also supports multiple time frame mapping, allowing you to mirror the trend lines that would be drawn on higher time frame charts onto lower time frame charts. This feature allows traders to be aware of the market structure of multiple charts at a glance from a single chart.
When mirroring some higher time frame trend lines, lines may appear to not align properly with current time frame bars. This is done intentionally to ensure lines are being drawn accurately to their position on the higher time frame charts.
█ SETTINGS
Current Time Frame
• Display (On/Off): Determines whether or not trend lines are drawn from the current time frame.
• High Color: Determines the color of trend lines drawn on high pivots.
• Low Color: Determines the color of trend lines drawn on low pivots.
5 Minute (Higher Time Frame)
• Display (On/Off): Determines whether or not trend lines are drawn from the 5 minute higher time frame.
• High Color: Determines the color of trend lines drawn on high pivots from the 5 minute higher time frame.
• Low Color: Determines the color of trend lines drawn on low pivots from the 5 minute higher time frame.
15 Minute (Higher Time Frame)
• Display (On/Off): Determines whether or not trend lines are drawn from the 15 minute higher time frame.
• High Color: Determines the color of trend lines drawn on high pivots from the 15 minute higher time frame.
• Low Color: Determines the color of trend lines drawn on low pivots from the 15 minute higher time frame.
30 Minute (Higher Time Frame)
• Display (On/Off): Determines whether or not trend lines are drawn from the 30 minute higher time frame.
• High Color: Determines the color of trend lines drawn on high pivots from the 30 minute higher time frame.
• Low Color: Determines the color of trend lines drawn on low pivots from the 30 minute higher time frame.
60 Minute (Higher Time Frame)
• Display (On/Off): Determines whether or not trend lines are drawn from the 60 minute higher time frame.
• High Color: Determines the color of trend lines drawn on high pivots from the 60 minute higher time frame.
• Low Color: Determines the color of trend lines drawn on low pivots from the 60 minute higher time frame.
240 Minute (Higher Time Frame)
• Display (On/Off): Determines whether or not trend lines are drawn from the 240 minute higher time frame.
• High Color: Determines the color of trend lines drawn on high pivots from the 240 minute higher time frame.
• Low Color: Determines the color of trend lines drawn on low pivots from the 240 minute higher time frame.
Daily (Higher Time Frame)
• Display (On/Off): Determines whether or not trend lines are drawn from the daily time frame.
• High Color: Determines the color of trend lines drawn on high pivots from the daily higher time frame.
• Low Color: Determines the color of trend lines drawn on low pivots from the daily higher time frame.
Fair Value Gap [UkutaLabs]█ OVERVIEW
Fair Value Gaps are price jumps caused by the imbalance buying and selling pressures in trading and are most commonly used amongst price action traders. Fair Value Gaps are formed via a three-candle sequence in which a large candle’s neighbouring candles’ upper and lower wicks do not fully overlap the large candle.
The Fair Value Gaps Indicator also supports Multi Time Frame Plotting, allowing you to plot the Fair Value Gaps from higher time frames onto lower time frame charts.
The Fair Value Gaps Indicator is a powerful trading toolkit that provides users with more information than they would typically have available to them by allowing them to configure several charts worth of information onto one single chart.
█ USAGE
The script automatically identifies imbalances between buying and selling pressure in the market in real time, offering traders valuable insight into current market sentiment. These gaps are considered to be levels where the supply and demand of a commodity are imbalanced, and the price tends to return to fill these gaps (But are not guaranteed to).
The Fair Value Gaps Indicator also allows gaps from higher time frames to be drawn on lower time frame charts, providing traders with more information than they would typically have access to to further simplify the decision making process.
█ SETTINGS
Configuration
• Show Labels: Determines whether labels that identify which time frame a FVG is calculated from.
• Max FVG Display: Determines the limit to the number of FVGs that can be drawn from all time frames. Set this value to 0 to remove this limit.
Current Time Frame
• Display: Determines whether or not FVGs from the current time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the current time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the current time frame.
5 Minute (Higher Time Frame)
• Display: Determines whether or not FVGs from the 5 minute time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the 5 minute time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the 5 minute time frame.
15 Minute (Higher Time Frame)
• Display: Determines whether or not FVGs from the 15 minute time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the 15 minute time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the 15 minute time frame.
30 Minute (Higher Time Frame)
• Display: Determines whether or not FVGs from the 30 minute time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the 30 minute time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the 30 minute time frame.
60 Minute (Higher Time Frame)
• Display: Determines whether or not FVGs from the 60 minute time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the 60 minute time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the 60 minute time frame.
240 Minute (Higher Time Frame)
• Display: Determines whether or not FVGs from the 240 minute time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the 240 minute time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the 240 minute time frame.
Daily (Higher Time Frame)
• Display: Determines whether or not FVGs from the daily time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the daily time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the daily time frame.
MTF-Colored EMA Difference and Stochastic indicatorThis indicator combines two popular technical analysis tools: the Exponential Moving Average (EMA) and the Stochastic Oscillator, with the added flexibility of analyzing them across multiple time frames. It visually represents the difference between two EMAs and the crossover signals from the Stochastic Oscillator, providing a comprehensive view of the market conditions.
Components:
EMA Difference Histogram :
EMA Calculation : The indicator calculates two EMAs (EMA1 and EMA2) for the selected time frame.
EMA Difference : The difference between EMA1 and EMA2 is plotted as a 4 coloured histogram.
Stochastic Oscillato r:
Calculation : The %K and %D lines of the Stochastic Oscillator are calculated for the selected time frame.
Additional Confirmation via Colors :
Green: %K is above %D, indicating a bullish signal.
Red: %K is below %D, indicating a bearish signal.
Entry and Exit Strategies
Entry Strategy :
Bullish Entry :
Condition 1: The histogram is Dark green (indicating a strong upward trend).
Condition 2: The Stochastic colour is green (%K is above %D).
Bearish Entry :
Condition 1: The histogram is Dark Red (indicating a strong downward trend).
Condition 2: The Stochastic colour is red (%K is below %D).
Exit Strategy:
Bullish Exit:
Condition: The Stochastic colour turns red (%K crosses below %D).
Bearish Exit:
Condition: The Stochastic colour turns green (%K crosses above %D).
Additional Considerations:
Time Frame Selection : The chosen time frame for both the EMA and Stochastic calculations should align with the trader’s strategy (e.g., daily for swing trading, hourly for intraday trading).
Risk Management : Implement stop-loss orders to manage risk effectively. The stop-loss can be placed below the recent swing low for long positions and above the recent swing high for short positions.
Confirmation : Consider using this indicator in conjunction with other technical analysis tools to confirm signals and reduce the likelihood of false entries and exits.
ThePawnAlgoThe Pawn Algo is a simple indicator that is useful for scalping in sync with a higher timeframe should only be use in clear trending markets.
What it does and How it does it?
The script is based of a simple pattern close above previous candle high means higher prices we can see it in a green bar. Close below previous candle low means lower prices we can see it in a red bar. Close inside previous candle range means price is going to consolidate do some kind of retracement or reversal we mark it in a black or dark color bar.
It plot an arrow and a liquidity level when it detects a change in sentiment from bullish to bearish or bearish to bullish.
It plot the Higher timeframe previous completed candle range into the selected Lower timeframe to easily see the HTF levels into the lower timeframe.
The HTF range change colors depending of previous HTF candles closes following the same idea, close above previous candle high means green range, close below previous candle low means red range and close inside means a gray range. Finally it plots the 50% of the HTF range and the previous close high and low.
Finally it draws a yellow value zone that is the difference between the previous candle close and 50% of the previous range. This zone is ideal for taking continuation trades in favor of the HTF trend.
How to use it?
You must first select a higher timeframe in minutes in the settings default value is 1440minutes then select a lower timeframe is the maximum timeframe in where the HTF will be visible. Default lower timeframe is 15minutes.
Then just wait for the HTF candle to close and engage in the LTF when price is around the value yellow zone in a premium or discount.
Green arrows are automatically plot when HTF is bullish and Red arrows when is bearish by default. But you can enable or disable the arrow signals liquidity levels or configure as you want. Making all signals visible or just the buys or sells.
The script is useful to easily identify the HTF draw on liquidity and recent key levels and then use the LTF structure to enter.
The indicator can be used to identify liquidity, price will seek this liquidity point sometimes sweep and then continue the move. if the liquidity or stop level is broken with a body is a clear change of direction.
ICT Killzones and Sessions W/ Silver Bullet + MacrosForex and Equity Session Tracker with Killzones, Silver Bullet, and Macro Times
This Pine Script indicator is a comprehensive timekeeping tool designed specifically for ICT traders using any time-based strategy. It helps you visualize and keep track of forex and equity session times, kill zones, macro times, and silver bullet hours.
Features:
Session and Killzone Lines:
Green: London Open (LO)
White: New York (NY)
Orange: Australian (AU)
Purple: Asian (AS)
Includes AM and PM session markers.
Dotted/Striped Lines indicate overlapping kill zones within the session timeline.
Customization Options:
Display sessions and killzones in collapsed or full view.
Hide specific sessions or killzones based on your preferences.
Customize colors, texts, and sizes.
Option to hide drawings older than the current day.
Automatic Updates:
The indicator draws all lines and boxes at the start of a new day.
Automatically adjusts time-based boxes according to the New York timezone.
Killzone Time Windows (for indices):
London KZ: 02:00 - 05:00
New York AM KZ: 07:00 - 10:00
New York PM KZ: 13:30 - 16:00
Silver Bullet Times:
03:00 - 04:00
10:00 - 11:00
14:00 - 15:00
Macro Times:
02:33 - 03:00
04:03 - 04:30
08:50 - 09:10
09:50 - 10:10
10:50 - 11:10
11:50 - 12:50
Latest Update:
January 15:
Added option to automatically change text coloring based on the chart.
Included additional optional macro times per user request:
12:50 - 13:10
13:50 - 14:15
14:50 - 15:10
15:50 - 16:15
Usage:
To maximize your experience, minimize the pane where the script is drawn. This minimizes distractions while keeping the essential time markers visible. The script is designed to help traders by clearly annotating key trading periods without overwhelming their charts.
Originality and Justification:
This indicator uniquely integrates various time-based strategies essential for ICT traders. Unlike other indicators, it consolidates session times, kill zones, macro times, and silver bullet hours into one comprehensive tool. This allows traders to have a clear and organized view of critical trading periods, facilitating better decision-making.
Credits:
This script incorporates open-source elements with significant improvements to enhance functionality and user experience.
Forex and Equity Session Tracker with Killzones, Silver Bullet, and Macro Times
This Pine Script indicator is a comprehensive timekeeping tool designed specifically for ICT traders using any time-based strategy. It helps you visualize and keep track of forex and equity session times, kill zones, macro times, and silver bullet hours.
Features:
Session and Killzone Lines:
Green: London Open (LO)
White: New York (NY)
Orange: Australian (AU)
Purple: Asian (AS)
Includes AM and PM session markers.
Dotted/Striped Lines indicate overlapping kill zones within the session timeline.
Customization Options:
Display sessions and killzones in collapsed or full view.
Hide specific sessions or killzones based on your preferences.
Customize colors, texts, and sizes.
Option to hide drawings older than the current day.
Automatic Updates:
The indicator draws all lines and boxes at the start of a new day.
Automatically adjusts time-based boxes according to the New York timezone.
Killzone Time Windows (for indices):
London KZ: 02:00 - 05:00
New York AM KZ: 07:00 - 10:00
New York PM KZ: 13:30 - 16:00
Silver Bullet Times:
03:00 - 04:00
10:00 - 11:00
14:00 - 15:00
Macro Times:
02:33 - 03:00
04:03 - 04:30
08:50 - 09:10
09:50 - 10:10
10:50 - 11:10
11:50 - 12:50
Latest Update:
January 15:
Added option to automatically change text coloring based on the chart.
Included additional optional macro times per user request:
12:50 - 13:10
13:50 - 14:15
14:50 - 15:10
15:50 - 16:15
ICT Sessions and Kill Zones
What They Are:
ICT Sessions: These are specific times during the trading day when market activity is expected to be higher, such as the London Open, New York Open, and the Asian session.
Kill Zones: These are specific time windows within these sessions where the probability of significant price movements is higher. For example, the New York AM Kill Zone is typically from 8:30 AM to 11:00 AM EST.
How to Use Them:
Identify the Session: Determine which trading session you are in (London, New York, or Asian).
Focus on Kill Zones: Within that session, focus on the kill zones for potential trade setups. For instance, during the New York session, look for setups between 8:30 AM and 11:00 AM EST.
Silver Bullets
What They Are:
Silver Bullets: These are specific, high-probability trade setups that occur within the kill zones. They are designed to be "one shot, one kill" trades, meaning they aim for precise and effective entries and exits.
How to Use Them:
Time-Based Setup: Look for these setups within the designated kill zones. For example, between 10:00 AM and 11:00 AM for the New York AM session .
Chart Analysis: Start with higher time frames like the 15-minute chart and then refine down to 5-minute and 1-minute charts to identify imbalances or specific patterns .
Macros
What They Are:
Macros: These are broader market conditions and trends that influence your trading decisions. They include understanding the overall market direction, seasonal tendencies, and the Commitment of Traders (COT) reports.
How to Use Them:
Understand Market Conditions: Be aware of the macroeconomic factors and market conditions that could affect price movements.
Seasonal Tendencies: Know the seasonal patterns that might influence the market direction.
COT Reports: Use the Commitment of Traders reports to understand the positioning of large traders and commercial hedgers .
Putting It All Together
Preparation: Understand the macro conditions and review the COT reports.
Session and Kill Zone: Identify the trading session and focus on the kill zones.
Silver Bullet Setup: Look for high-probability setups within the kill zones using refined chart analysis.
Execution: Execute the trade with precision, aiming for a "one shot, one kill" outcome.
By following these steps, you can effectively use ICT sessions, kill zones, silver bullets, and macros to enhance your trading strategy.
Usage:
To maximize your experience, shrink the pane where the script is drawn. This minimizes distractions while keeping the essential time markers visible. The script is designed to help traders by clearly annotating key trading periods without overwhelming their charts.
Originality and Justification:
This indicator uniquely integrates various time-based strategies essential for ICT traders. Unlike other indicators, it consolidates session times, kill zones, macro times, and silver bullet hours into one comprehensive tool. This allows traders to have a clear and organized view of critical trading periods, facilitating better decision-making.
Credits:
This script incorporates open-source elements with significant improvements to enhance functionality and user experience. All credit goes to itradesize for the SB + Macro boxes
ICT opening price lineShows you the opening price of a certain time of day. I will show as line starting from the time selected and ending a few bars into the future. Available times are the ones ICT said are relevant for framing a premium and discount using opening prices: 00:00, 8:30 and 13:30. To show all 3 you have to add the indicator 3 times.
The script offers some customization on how the line should look line and if you want a label telling the time of it after the line.
Time - Bar StatusCandlestick analysis
The Indicator "Bar Status" will display the current open candle state and the last three close candles state based on the logic below.
Abbreviations.
OC = Open Candle (if in no state listed below)
FB = False Break
BO = Break Out
IN = Inside Bar
FBR = False Break Reversal
Logic:
OC = This is the current open candle yet to close. Its status will change as it progresses through time until close.
Green False Break Revers (FBR) = bar Close is higher than previous bar Close AND bar High is higher than previous bar High AND bar Low is lower than previous bar Low.
Green False Break (FB) = bar Close is lower than previous bar High AND bar High is higher than previous bar High.
Green Breakout (BO) = bar Close is higher than previous bar Close AND bar High is higher than previous bar High.
Green Inside Bar (IN) = bar High is lower than previous bar High AND bar Low is higher than previous bar Low.
Red False Break Revers (FBR) = bar Close is lower than previous bar Close AND bar Low is lower than previous bar Low AND bar High is Higher than previous bar High.
Red False Break (FB) = bar Close is higher than previous bar Low AND bar Low is lower than previous bar Low.
Red Breakout (BO) = bar Close is lower than previous bar Close AND bar Low is lower than previous bar Low.
Red Inside Bar (IN) = bar High is lower than previous bar High AND bar Low is higher than previous bar Low.
The end column is the current open candle/bar.
The second from the end column is the last closed candle/bar.
The third from the end column is the second closed candle/bar.
The forth from the end column is the third closed candle/bar.
=============================================================
Also Includes candle countdown timer, of various candles. i.e. 4 hour, 1 hour, 15min, 5 min.
Market Structure & Session Alerts### Market Structure & Session Alerts Indicator
#### Overview
The "Market Structure & Session Alerts" indicator is a comprehensive tool designed to assist traders in identifying key market structure levels, detecting liquidity sweeps, and receiving alerts for specific trading sessions. This indicator is particularly useful for traders who want to keep an eye on previous high and low levels and be alerted during pre-London and pre-New York sessions.
#### Features
1. **Previous High/Low Levels:**
- **Daily, Weekly, and Monthly Highs and Lows:** The indicator plots the previous day, week, and month high and low levels on the chart. These levels can be crucial for identifying support and resistance zones.
- **Toggle Display:** Users can choose to show or hide these levels using the "Show Previous Day/Week/Month High/Low" option.
2. **Liquidity Sweep Detection:**
- **Liquidity Sweep Identification:** The indicator detects liquidity sweeps when the current price closes above the previous day's high. This can signal potential reversals or continuations in the market.
- **Visual Alerts:** When a liquidity sweep is detected, a green triangle is plotted below the bar.
3. **Session Alerts:**
- **Session Timings:** Users can set specific start and end times for the pre-London and pre-New York sessions to match their timezone.
- **Visual Background Highlight:** The background of the chart is highlighted in yellow during the defined session times to provide a visual cue.
- **Alert Messages:** The indicator can generate alerts to notify traders when the market enters the pre-London or pre-New York session.
4. **Current Price Line:**
- The current price is plotted as a black line, providing a clear visual reference for the current market price.
#### How to Use
1. **Input Parameters:**
- `Show Previous Day/Week/Month High/Low`: Enable or disable the display of previous high/low levels.
- `Show Liquidity Sweep`: Enable or disable the detection and display of liquidity sweeps.
- `Show Session Alerts`: Enable or disable session alerts and background highlights.
2. **Session Timing Adjustments:**
- Set the `Pre-London Start`, `Pre-London End`, `Pre-New York Start`, and `Pre-New York End` times according to your timezone to ensure accurate session alerts.
3. **Alerts:**
- Make sure alerts are enabled in your TradingView settings to receive notifications when the market enters the pre-London or pre-New York sessions.
#### Example Use Cases
- **Day Traders:** Identify potential support and resistance levels using the previous day's high and low.
- **Swing Traders:** Use weekly and monthly high and low levels to determine significant market structure points.
- **Scalpers:** Detect liquidity sweeps to identify potential quick trades.
- **Session Traders:** Be alerted when the market enters key trading sessions to align your trading strategy with major market activities.
This indicator combines multiple market analysis tools into one, providing a robust system for traders to enhance their trading decisions and market awareness.
Power Hour Money StrategyDescription of the Pine Script Code: "Power Hour Money Strategy"
This Pine Script strategy, "Power Hour Money Strategy," is designed to trade based on the alignment of multiple time frames (month, week, day, and hour). The strategy aims to enter long or short positions depending on whether all selected time frames are in sync (all green for long positions, all red for short positions). Additionally, the script includes configurations for trading during specific sessions and automatically closing positions at the end of the trading day.
Core Features:
1. Time Frame Sync Check:
- The strategy evaluates whether the current price is higher than the opening price for the month, week, day, and hour to determine if each time frame is "green" (bullish) or "red" (bearish).
2. Session Control:
- The user can select between different trading sessions:
- "NY Session 9:30-11:30"
- "Extended NY Session 8-4"
- "All Sessions"
- Trades are only executed if the current time falls within the selected session.
3. Trailing Stop Mechanism:
- The strategy includes an optional trailing stop mechanism for both long and short positions.
- The trailing stop is configured with a percentage loss from the current price to protect gains.
4. End-of-Day Position Management:
- An option is provided to automatically close all positions at the end of the trading day (5:45 PM Eastern Time).
Detailed Code Breakdown:
1. Input Settings:
- **Session Selection**: Allows the user to choose the trading session.
- **End-of-Day Close**: Option to automatically close positions at the end of the day.
- **Trailing Stop Loss**: Enables or disables the trailing stop loss feature and sets the percentage for long and short positions.
2. Time Frame Calculations:
- The script uses `request.security` to get the opening prices for higher time frames (monthly, weekly, daily, and hourly).
- It compares the current close price to these opening prices to determine if each time frame is green or red.
3. Session Time Definitions:
- Defines the start and end times for the NY session (9:30-11:30 AM) and the extended session (8:00 AM - 4:00 PM).
4. Trade Execution:
- The strategy checks if all selected time frames are in sync and if the current time falls within the trading session.
- If all conditions are met, it enters a long or short position.
5. Trailing Stop Loss Implementation:
- Adjusts the stop price based on the trailing percentage and the current position's size.
- Automatically exits positions if the trailing stop condition is met.
6. End-of-Day Close Implementation:
- Uses a timestamp to check if the current time is 5:45 PM Eastern Time.
- Closes all positions if the end-of-day condition is met.
7. Plotting and Logging:
- Plots indicators to visualize the green/red status of each time frame.
- Logs information about the status of each time frame for debugging and analysis.
Example Usage:
Entering a Long Position: If the month, week, day, and hour are all green and the current time is within the selected session, a long position is entered.
Entering a Short Position: If the month, week, day, and hour are all red and the current time is within the selected session, a short position is entered.
Trailing Stop: Protects gains by exiting the position if the price moves against the set trailing stop percentage.
End-of-Day Close: Automatically closes all open positions at 5:45 PM Eastern Time if enabled.
This strategy is particularly useful for traders who want to ensure that multiple time frames are in alignment before entering a trade and who wish to manage positions effectively throughout the trading day with specific session controls and trailing stops.
Dynamic Support & Resistance Tracker with MTFDynamic Support & Resistance Tracker with Weekly, Monthly & Daily Levels
The Dynamic Support & Resistance Tracker is designed to help traders identify key support and resistance levels across multiple timeframes, enhancing market analysis and decision-making. This indicator calculates and plots support and resistance levels for daily, weekly, and monthly periods, along with extension lines that provide insights into potential price targets.
Key Features:
Multi-Timeframe Analysis:
Daily Levels: Identifies the high, low, and midpoint for each trading day. These levels help traders recognize important price points for short-term trading strategies.
Weekly Levels: Plots the high, low, and midpoint for each week. This feature is valuable for swing traders who need to understand broader market trends.
Monthly Levels: Displays the high, low, and midpoint for each month, which is essential for long-term investors.
Extension Lines:
Calculates extension lines beyond the standard support and resistance levels to help anticipate potential price targets and reversals. These extensions are based on the distance between the high/low and midpoint levels.
Real-Time Updates:
Automatically updates the levels based on the most recent market data, ensuring traders have the most current information for their analysis.
Clear Visuals:
The indicator provides clearly labeled and color-coded lines for easy identification of key levels, improving the visual clarity of market analysis.
How It Works:
Daily, Weekly, and Monthly Levels: The indicator calculates the high, low, and midpoint levels for daily, weekly, and monthly timeframes and plots them on the chart. These levels serve as potential areas of support and resistance where price action may react.
Extension Lines: The extension lines are calculated based on the distance between the high/low and midpoint levels, projecting potential areas where price may find support or resistance beyond the standard levels.
Automatic Updates: The indicator continuously updates the plotted levels based on the latest market data, providing real-time insights.
Benefits:
Improved Market Analysis: By providing a clear view of support and resistance levels across multiple timeframes, this indicator helps traders understand market trends and price movements more effectively.
Informed Trading Decisions: The detailed plotting of levels and extensions allows traders to make more informed decisions, enhancing their trading strategies.
Versatility: Suitable for various trading styles, including intraday trading, swing trading, and long-term investing.
Instructions for Use:
Analyze the Levels: Observe the plotted high, low, and mid-levels for daily, weekly, and monthly timeframes.
Plan Your Trades: Use the identified support and resistance levels to set your entry and exit points, stop-losses, and profit targets.
Monitor the Market: Stay updated with real-time adjustments of the levels, ensuring you always have the latest market information.
Note: This indicator is designed to enhance your trading analysis by providing clear and reliable support and resistance levels. However, it should be used as part of a comprehensive trading strategy and not as the sole basis for trading decisions.
Price Time DilationCalculate the relative proper price time dilation between two observers in special relativity.
In summary, calculates how much time dilation occurs due to relative velocity between two observers according to special relativity principles. It is then applied in a trading context to visualize this effect on price action using a histogram plot.
Disclaimer:
It's worth mentioning that this code is experimental and might not have a specific purpose and, or meaning within the context of trading strategies or financial context.
MAC Investor V3.0 [VK]This indicator combines multiple functionalities to assist traders in making informed decisions. It primarily uses Heikin Ashi candles, Moving Averages, and a Price Action Channel (PAC) to provide signals for entering and exiting trades. Here's a detailed breakdown:
Inputs
MAC Length: Sets the length for the PAC calculation.
Use Heikin Ashi Candles: Option to use Heikin Ashi candles for calculations.
Show Coloured Bars around MAC: Option to color bars based on their relation to the PAC.
Show Long/Short Signals: Options to display long and short signals.
Show MAs? : Option to show moving averages on the chart.
Show MAs Trend at the Bottom?: Option to show trend signals at the bottom of the chart.
MA Lengths: Length settings for three different moving averages.
Change MA Color Based on Direction?: Option to change the color of moving averages based on trend direction.
MA Higher TimeFrame: Allows setting a higher timeframe for moving averages.
Show SL-TP Lines: Option to display Stop Loss and Take Profit lines.
SL/TP Percentages: Set the percentages for Stop Loss and three levels of Take Profit.
Calculations and Features
Heikin Ashi Candles: Calculations are based on Heikin Ashi candle data if selected.
Price Action Channel (PAC): Uses Exponential Moving Averages (EMA) of the high, low, and close to create a channel.
Bar Coloring: Colors the bars based on their position relative to the PAC.
Long and Short Signals: Uses crossovers of the close price and PAC upper/lower bands to generate signals.
Moving Averages (MA): Plots three moving averages and colors them based on their trend direction.
Overall Trend Indicators: Uses triangles at the bottom of the chart to show the overall trend of the MAs.
Stop Loss and Take Profit Levels: Calculates and plots these levels based on user-defined percentages from the entry price.
Alerts: Provides alerts for long and short signals.
Use Cases and How to Use
Identifying Trends: The PAC helps to identify the trend direction. If the closing price is above the PAC upper band, it suggests an uptrend; if below the lower band, it suggests a downtrend.
Entering Trades: Use the long and short signals to enter trades. A long signal is generated when the closing price crosses above the PAC upper band, and a short signal is generated when it crosses below the PAC lower band.
Exit Strategies: Utilize the Stop Loss (SL) and Take Profit (TP) levels to manage risk and lock in profits. These levels are automatically calculated based on the entry price and user-defined percentages.
Trend Confirmation with MAs: The moving averages provide additional confirmation of the trend. When all three MAs are trending in the same direction (e.g., all green for an uptrend), it adds confidence to the trade signal.
Overall Trend Indicators: The triangles at the bottom of the chart show the overall trend direction of the MAs:
Green Triangle: All three MAs are trending upwards, indicating a strong uptrend.
Red Triangle: All three MAs are trending downwards, indicating a strong downtrend.
Yellow Triangle: Mixed signals from the MAs, indicating no clear trend.
Bar Coloring for Quick Analysis: The colored bars give a quick visual cue about the market condition, aiding in faster decision-making.
Alerts: Set up alerts to get notified when a long or short signal is generated, allowing you to act promptly without constantly monitoring the chart.
Maximizing Profit
To maximize profit with this indicator:
Follow the Signals: Use the long and short signals to time your entries. Ensure you follow the trend indicated by the PAC and MAs.
Risk Management: Always set your Stop Loss and Take Profit levels to manage risk. This will help you cut losses early and secure profits.
Confirm with MAs: Look for confirmation from the moving averages. When all MAs align with the signal, it indicates a stronger trend.
Overall Trend Indicators: Pay attention to the triangles at the bottom for overall trend confirmation. Only enter trades when the overall trend is in your favor.
Heikin Ashi for Smoothing: Use Heikin Ashi candles for smoother trends and fewer false signals.
Backtesting: Test the indicator on historical data to understand its performance and adjust settings as necessary.
Adapt to Market Conditions: Adjust the lengths of PAC and MAs based on the market's volatility and timeframe you are trading on.
How to Use the Indicator
Add to Chart: Add the indicator to your TradingView chart.
Configure Settings: Customize the input settings to fit your trading strategy and timeframe.
Monitor Signals: Watch for long and short signals and observe the trend direction with the PAC and MAs.
Check Overall Trend: Look at the triangles at the bottom of the chart to see the overall trend direction of the MAs.
Set Alerts: Configure alerts to get notified of new signals.
Manage Trades: Use the SL and TP levels to manage your trades effectively.
ICT Turtle Soup | Flux Charts💎 GENERAL OVERVIEW
Introducing our new ICT Turtle Soup Indicator! This indicator is built around the ICT "Turtle Soup" model. The strategy has 5 steps for execution which are described in this write-up. For more information about the process, check the "HOW DOES IT WORK" section.
Features of the new ICT Turtle Soup Indicator :
Implementation of ICT's Turtle Soup Strategy
Adaptive Entry Method
Customizable Execution Settings
Customizable Backtesting Dashboard
Alerts for Buy, Sell, TP & SL Signals
📌 HOW DOES IT WORK ?
The ICT Turtle Soup strategy may have different implementations depending on the selected method of the trader. This indicator's implementation is described as :
1. Mark higher timerame liquidity zones.
Liquidity zones are where a lot of market orders sit in the chart. They are usually formed from the long / short position holders' "liquidity" levels. There are various ways to find them, most common one being drawing them on the latest high & low pivot points in the chart, which this indicator does.
2. Mark current timeframe market structure.
The market structure is the current flow of the market. It tells you if the market is trending right now, and the way it's trending towards. It's formed from swing higs, swing lows and support / resistance levels.
3. Wait for market to make a liquidity grab on the higher timeframe liquidity zone.
A liquidity grab is when the marked liquidity zones have a false breakout, which means that it gets broken for a brief amount of time, but then price falls back to it's previous position.
4. Buyside liquidity grabs are "Short" entries and Sellside liquidity grabs are "Long" entries by default.
5. Wait for the market-structure shift in the current timeframe for entry confirmation.
A market-structure shift happens when the current market structure changes, usually when a new swing high / swing low is formed. This indicator uses it as a confirmation for position entry as it gives an insight of the new trend of the market.
6. Place Take-Profit and Stop-Loss levels according to the risk ratio.
This indicator uses "Average True Range" when placing the stop-loss & take-profit levels. Average True Range calculates the average size of a candle and the indicator places the stop-loss level using ATR times the risk setting determined by the user, then places the take-profit level trying to keep a minimum of 1:1 risk-reward ratio.
This indicator follows these steps and inform you step by step by plotting them in your chart.
🚩UNIQUENESS
This indicator is an all-in-one suit for the ICT's Turtle Soup concept. It's capable of plotting the strategy, giving signals, a backtesting dashboard and alerts feature. It's designed for simplyfing a rather complex strategy, helping you to execute it with clean signals. The backtesting dashboard allows you to see how your settings perform in the current ticker. You can also set up alerts to get informed when the strategy is executable for different tickers.
⚙️SETTINGS
1. General Configuration
MSS Swing Length -> The swing length when finding liquidity zones for market structure-shift detection.
Higher Timeframe -> The higher timeframe to look for liquidity grabs. This timeframe setting must be higher than the current chart's timeframe for the indicator to work.
Breakout Method -> If "Wick" is selected, a bar wick will be enough to confirm a market structure-shift. If "Close" is selected, the bar must close above / below the liquidity zone to confirm a market structure-shift.
Entry Method ->
"Classic" : Works as described on the "HOW DOES IT WORK" section.
"Adaptive" : When "Adaptive" is selected, the entry conditions may chance depending on the current performance of the indicator. It saves the entry conditions and the performance of the past entries, then for the new entries it checks if it predicted the liquidity grabs correctly with the current setup, if so, continues with the same logic. If not, it changes behaviour to reverse the entries from long / short to short / long.
2. TP / SL
TP / SL Method -> If "Fixed" is selected, you can adjust the TP / SL ratios from the settings below. If "Dynamic" is selected, the TP / SL zones will be auto-determined by the algorithm.
Risk -> The risk you're willing to take if "Dynamic" TP / SL Method is selected. Higher risk usually means a better winrate at the cost of losing more if the strategy fails. This setting is has a crucial effect on the performance of the indicator, as different tickers may have different volatility so the indicator may have increased performance when this setting is correctly adjusted.
Modern Trend IdentifierThis is an update by Lightangel112 to Trendilo (Open-Source).
Thanks @ Lightangel112
The Modern Trend Identifier (MTI) is a sophisticated technical analysis tool designed for traders and analysts seeking to accurately determine market trends. This indicator leverages the Arnaud Legoux Moving Average (ALMA) to smooth price data and calculate percentage changes, providing a clearer and more responsive trend analysis. MTI is engineered to highlight trend direction with visual cues, fill areas between the indicator and its bands, and color bars based on trend direction, making it a powerful tool for identifying market momentum and potential reversals.
Capabilities
Smoothing and Trend Calculation:
Utilizes ALMA to smooth price data, reducing noise and providing a clearer view of the trend.
Calculates percentage changes in price over a user-defined lookback period.
Dynamic Range Adjustment:
Normalizes the ALMA percentage change values to ensure they stay within a -100 to 100 range.
Uses a combination of linear and smoothstep compression to handle extreme values without losing sensitivity.
Trend Direction and Highlighting:
Determines the trend direction based on the relationship between the smoothed ALMA percentage change and dynamically adjusted RMS (Root Mean Square) bands.
Colors the trend line to visually indicate whether the market is in an uptrend, downtrend, or neutral state.
Dynamic Threshold Calculation:
Calculates dynamic thresholds using percentile ranks to adapt to changing market conditions.
Visualization Enhancements:
Fills areas between the ALMA percentage change line and its RMS bands to provide a clear visual indication of the trend strength.
Offers the option to color price bars based on the identified trend direction.
Customizable Settings:
Provides extensive customization options for lookback periods, smoothing parameters, ALMA settings, band multipliers, and more.
Allows users to enable or disable various visual enhancements and customize their appearance.
Use Cases
Trend Identification:
MTI helps traders identify the current market trend, whether it's bullish, bearish, or neutral. This can be particularly useful for trend-following strategies.
Momentum Analysis:
By highlighting areas of strong momentum, MTI enables traders to spot potential breakouts or breakdowns. This can be useful for both entry and exit decisions.
Support and Resistance Levels:
The dynamic threshold bands can act as support and resistance levels. Traders can use these levels to set stop-loss and take-profit orders.
Divergence Detection:
MTI can help in identifying divergences between price and the indicator, which can signal potential trend reversals. This is useful for traders looking to capitalize on trend changes.
Risk Management:
The fill areas and colored bars provide clear visual cues about trend strength and direction, aiding in better risk management. Traders can adjust their positions based on the strength of the trend.
Backtesting:
The extensive customization options allow traders to backtest different settings and parameters to optimize their trading strategies for various market conditions.
Multiple Timeframes:
MTI can be applied to multiple timeframes, from intraday charts to daily, weekly, or monthly charts, making it a versatile tool for traders with different trading styles.
Example Scenarios
Day Trading:
A day trader can use MTI on a 5-minute chart to identify intraday trends. By adjusting the lookback period and smoothing parameters, the trader can quickly spot potential entry and exit points based on short-term momentum changes.
Swing Trading:
A swing trader might apply MTI to a 4-hour chart to identify medium-term trends. The dynamic thresholds can help in setting appropriate stop-loss levels, while the trend direction highlighting aids in making informed decisions about holding or exiting positions.
Position Trading:
For a position trader using a daily chart, MTI can help identify the overarching trend. The trader can use the fill areas and bar coloring to assess the strength of the trend and make decisions about entering or exiting long-term positions.
Market Analysis:
An analyst could use MTI to study historical price movements and identify patterns. By examining how the indicator reacted to past market conditions, the analyst can gain insights into potential future price movements.
In summary, the Modern Trend Identifier (MTI) is a versatile and powerful tool that enhances trend analysis with advanced smoothing techniques, dynamic adjustments, and comprehensive visual cues. It is designed to meet the needs of traders and analysts across various trading styles and timeframes, providing clear and actionable insights into market trends and momentum.
Updated with the following:
Additions and Enhancements in MTI
Grouped Inputs with Descriptive Tooltips:
Inputs are organized into groups for better clarity.
Each input parameter includes a descriptive tooltip.
Dynamic Threshold Calculation:
Added dynamic threshold calculation using percentile ranks to adapt to changing market conditions.
Normalization and Compression:
Added normalization factor to ensure plots are within -100 to 100 range.
Introduced smoothstep function for smooth transition and selectively applied linear and smoothstep compression to values outside -80 to 100 range.
Enhanced Visualization:
Highlighted trend direction with RGB colors.
Enhanced fill areas between the ALMA percentage change line and its RMS bands.
Colored price bars based on the identified trend direction.
RMS Lines Adjustment:
Dynamically adjusted RMS calculation without strict capping.
Ensured RMS lines stay below fill areas to maintain clarity.
Descriptive and Organized Code:
Enhanced code clarity with detailed comments.
Organized code into logical sections for better readability and maintenance.
Key Differences and Improvements.
Input Customization:
Trendilo: Inputs are simple and ungrouped.
MTI: Inputs are grouped and include tooltips for better user guidance.
Trend Calculation:
Trendilo: Uses ALMA and calculates percentage change.
MTI: Enhanced with normalization, compression, and dynamic threshold calculation.
Normalization and Compression:
Trendilo: No normalization or compression applied.
MTI: Normalizes values to -100 to 100 range and applies smoothstep compression to handle extreme values.
Dynamic RMS Adjustment:
Trendilo: Simple RMS calculation.
MTI: Dynamically adjusted RMS calculation to ensure clarity in visualization.
Visual Enhancements:
Trendilo: Basic trend highlighting and filling.
MTI: Enhanced visual cues with RGB colors, dynamic threshold bands, and improved fill areas.
Code Clarity:
Trendilo: Functional but lacks detailed comments and organization.
MTI: Well-organized, extensively commented code for better readability and maintainability.
Engulfing with Fibonacci LevelsIndicator Explanation
The indicator identifies bullish and bearish engulfing patterns and plots Fibonacci levels based on these patterns. Here's a detailed explanation of the script:
1. Bullish Engulfing Pattern
A bullish engulfing pattern is identified when:
- The previous candle is bearish (`close < open `).
- The current candle is bullish (`close > open`).
- The low of the current candle is lower than the low of the previous candle (`low < low `).
- The current candle's close is higher than the previous candle's open (`close > open `).
When a bullish engulfing pattern is identified:
- Fibonacci levels are plotted from the low (0%) to the high (100%) of the bullish candle.
- A green dot is plotted below the bullish candle to indicate a buy signal.
2. Bearish Engulfing Pattern
A bearish engulfing pattern is identified when:
- The previous candle is bullish (`close > open `).
- The current candle is bearish (`close < open`).
- The high of the current candle is higher than the high of the previous candle (`high > high `).
- The current candle's close is lower than the previous candle's open (`close < open `).
When a bearish engulfing pattern is identified:
- Fibonacci levels are plotted from the high (0%) to the low (100%) of the bearish candle.
- A red dot is plotted above the bearish candle to indicate a sell signal.
3. Plotting Fibonacci Levels
For both bullish and bearish patterns, Fibonacci levels are plotted at:
- 0% (high for bullish, low for bearish)
- 50%
- 61.8%
- 79%
- 100% (low for bullish, high for bearish)
Smart Money Concept (SMC) Explanation
Bearish Signal
In the context of Smart Money Concepts (SMC), a bearish engulfing pattern can indicate:
- **Buy Side Liquidity Grab**: The high of the current bearish candle goes above the high of the previous bullish candle, potentially grabbing buy-side liquidity (stop losses of short positions or buy stops).
- **Break of Structure (BoS)**: The close of the bearish candle below the open of the previous bullish candle indicates a shift in market structure.
After identifying this bearish engulfing pattern, a smart money trader might:
1. Wait for the market to retrace 50% of the bearish candle.
2. Enter a sell trade around the 50% retracement level, anticipating a continuation of the downward move.
#### Bullish Signal
Similarly, a bullish engulfing pattern can indicate:
- **Sell Side Liquidity Grab**: The low of the current bullish candle goes below the low of the previous bearish candle, potentially grabbing sell-side liquidity (stop losses of long positions or sell stops).
- **Break of Structure (BoS)**: The close of the bullish candle above the open of the previous bearish candle indicates a shift in market structure.
After identifying this bullish engulfing pattern, a smart money trader might:
1. Wait for the market to retrace 50% of the bullish candle.
2. Enter a buy trade around the 50% retracement level, anticipating a continuation of the upward move.
The indicator helps traders identify key engulfing patterns that align with smart money concepts of liquidity grabs and breaks of structure. By plotting Fibonacci levels, it visually aids traders in waiting for optimal retracement levels (50%) to enter trades in the direction of the anticipated move. This approach leverages the idea that significant market participants often seek liquidity and cause structural shifts, providing entry opportunities for informed traders.
Cumulative Volume Delta (MTF)Cumulative Volume Delta (CVD) Indicator
The Cumulative Volume Delta (CVD) indicator is a powerful analytical tool used to understand the behavior and dynamics of market participants through volume analysis. It tracks the net difference between buying and selling pressure, providing insights into market trends and potential reversals. Here's a detailed description of this indicator and its components:
The Cumulative Volume Delta (CVD) indicator calculates the cumulative net difference between buying and selling volume over a specified period. By analyzing this net difference, traders can gain insights into the underlying strength or weakness of a price movement, helping to identify trends, reversals, and potential breakout points.
Key Components:
Bull & Bear Power Calculation:
Bull Power: Represents the strength of buyers in the market. It is calculated based on the relationship between the current and previous price bars. A higher Bull Power indicates stronger buying pressure.
Bear Power: Represents the strength of sellers in the market. It is also calculated based on the relationship between the current and previous price bars. A higher Bear Power indicates stronger selling pressure.
Bull & Bear Volume Calculation:
Bull Volume: The volume attributed to buying pressure. It is calculated by taking the proportion of Bull Power relative to the total of Bull Power and Bear Power, multiplied by the total volume.
Bear Volume: The volume attributed to selling pressure. It is calculated similarly to Bull Volume but using Bear Power.
Delta Calculation:
Delta: The net difference between Bull Volume and Bear Volume for each bar. A positive Delta indicates more buying pressure, while a negative Delta indicates more selling pressure.
Cumulative Volume Delta (CVD):
CVD: The running total of the Delta values over time. It accumulates the net buying and selling pressure to provide a visual representation of the market's cumulative sentiment.
Moving Average of CVD (CVD MA):
CVD MA: A simple moving average of the CVD, used to smooth out fluctuations and help identify the overall trend. It provides a baseline to compare the current CVD value against, highlighting divergences or convergences.
Multi-Timeframe Functionality:
The enhanced version of the CVD indicator includes multi-timeframe (MTF) capabilities, allowing users to select and analyze data from different timeframes. This feature enhances the versatility of the indicator by providing a broader perspective on market dynamics across various time intervals.
Practical Applications:
Trend Identification: By tracking the CVD and its moving average, traders can identify the prevailing trend. An upward-sloping CVD indicates sustained buying pressure, while a downward-sloping CVD indicates sustained selling pressure.
Divergences: Divergences between the CVD and price can signal potential reversals. For example, if the price is making new highs but the CVD is not, it may indicate weakening buying pressure and a potential reversal.
Breakout Confirmation: Significant changes in the CVD can confirm breakouts. A sharp increase in the CVD during a price breakout indicates strong buying support, adding confidence to the breakout.
Support and Resistance Levels: The CVD can help identify significant support and resistance levels based on changes in volume dynamics. For instance, a notable increase in buying volume at a support level can reinforce its strength.
Table Volume MultiframeDescription
The Table Volume Multiframe indicator displays volume information across multiple timeframes in a convenient table format. Users can customize the table's position, size, and the specific timeframes to be displayed. This indicator helps traders analyze volume trends and divergences across different timeframes, providing a comprehensive view of market activity. The table shows the total volume, buy percentage, sell percentage, and a countdown timer for the next bar close for each selected timeframe. The countdown function updates consistently to provide real-time information.
Features
- Customizable table position and size
- Selectable timeframes
- Displays volume, buy percentage, sell percentage
- Countdown timer for next bar close
- Real-time updates
Average price in candlePlots the average price a security had within a candle.
So, for example: If you have a 15m candle, and price stayed near the candle's high for 10 out of the 15 minutes, you would expect the average price top be near the candle's high as well. And that's actually how it is.
(Blue 10:30 candle in the screenshot.)
I think this "average in-candle price" could be a useful thing to know. You can't gather this information from the normal chart (as you would need to go to a lower timeframe). Plus this plot can be smoother than plots of, say, closing price or hl2.
The calculation happens in a lower timeframe which is selected automatically. There is a precision selector which allows you to influence this. By default, at least 10 values are sampled for each candle.
If you have TradingView Premium, the script is able to use second-based intervals to look inside 1m candles. (Tick the corresponding checkbox to enable this.)
How it works: I collect timestamps and hl2 values from the lower timeframe. (I figure hl2 is the best choice here because a close is so arbitrary. If we don't have further information, our guess is the average is simply exactly in the middle of the candle's range.)
Then I throw the last close and current close (from the CHART timeframe) into the mix and calculate an average of the prices we collected weighted by the duration that price was in effect.
tl;dr; It's just math baby
CARNAC Trading Support and Resistance LevelsOverview
The "Carnac Trading Support and Resistance Levels" indicator is a powerful tool designed to help traders identify key support and resistance levels across multiple timeframes. This tool enhances trading strategies by visually marking significant price levels and providing configurable stop-loss and alert features.
Features
Support and Resistance Levels: Automatically calculates and plots support and resistance levels for the following timeframes:
5 minutes (5M)
10 minutes (10M)
15 minutes (15M)
30 minutes (30M)
1 hour (1H)
2 hours (2H)
4 hours (4H)
6 hours (6H)
12 hours (12H)
1 day (1D)
1 week (1W)
1 month (1M)
Configurable Stop-Loss (SL) Levels: Adds a stop-loss line below each support level and above each resistance level with customizable padding (as a percentage).
Visual Labels: Clearly labels support, resistance, and stop-loss levels with the corresponding prices and timeframes for easy identification.
Line Customization:
Support Levels: Green lines with varying thickness based on the timeframe.
Resistance Levels: Red lines with varying thickness based on the timeframe.
Stop-Loss Levels: Gray dotted lines for clear distinction.
Alerts: Alerts trigger when the price gets to a configurable percentage from the support or resistance levels, helping you stay informed about potential buying and selling opportunities.
Visibility Toggling: Easily toggle the visibility of support and resistance levels for each timeframe (default enabled for 2H, 4H, and 1D).
How to Use
Add the Indicator:
Navigate to the TradingView Pine Editor.
Paste the provided Pine Script code and click "Add to Chart."
Configure Inputs:
Lookback Periods: Adjust the lookback periods for each timeframe to suit your analysis needs.
Padding Percentage: Set the padding percentage for the stop-loss levels to define the distance below the support levels and above the resistance levels.
Visibility: Toggle the visibility of the support and resistance levels for each timeframe as needed (default enabled for 2H, 4H, and 1D).
Alert Trigger Distance: Set the alert trigger distance as a percentage to determine when the alerts should be triggered.
Interpret the Plotted Levels:
Green Lines: Indicate support levels for the respective timeframes.
Red Lines: Indicate resistance levels for the respective timeframes.
Gray Dotted Lines: Represent the stop-loss levels below each support level and above each resistance level, with the specified padding.
Labels: Provide clear indications of the price levels and their respective timeframes in white text for visibility.
Identifying Buying and Selling Opportunities:
Buying Opportunities:
Look for the price to approach or bounce off a support level (green line).
Confirm the potential for a reversal by checking if the price is nearing a key support level from multiple timeframes.
Use the stop-loss level (gray dotted line) to set your stop-loss order below the support level to minimize risk.
Selling Opportunities:
Look for the price to approach or get rejected at a resistance level (red line).
Confirm the potential for a reversal by checking if the price is nearing a key resistance level from multiple timeframes.
Use the stop-loss level (gray dotted line) to set your stop-loss order above the resistance level to minimize risk.
Alerts:
Alerts will notify you when the price gets within the specified percentage distance from each support or resistance level.
Use these alerts to stay informed about potential buying and selling opportunities.