Mateo's Time of Day Analysis LEThis strategy takes a trade every day at a specified time and then closes it at a specified time.
The purpose of this strategy is to help determine if there are better times to day to buy or sell.
I was originally inspired to write this when a YouTuber stated that SPX had been up during the last 30 minutes of the day over 80% of the time the past year. No matter who says it, test it, and in my opinion, TradingView is one of the easiest placed to do that! Unfortunately, that particular claim did not turn out to be accurate, but this tool remains for those who want to optimize timing their entries and exits at specific times of day.
Pattern grafici
EngulfScanEngulf Scan
Introduction:
The Engulf Scan indicator helps users identify bullish and bearish engulfing candlestick patterns on their charts. These patterns are often used as signals for trend reversals and are important indicators for traders. Engulf Scan signals are generated when an engulfing pattern is swallowed by another candlestick of the opposite color.The signal of a candle engulfment formation is generated when the 1st candle is engulfed by the 2nd candle and the 2nd candle is engulfed by the 3rd candle.
Features:
Bullish Engulfing Pattern: Indicates the start of an upward trend and typically signals that the market is likely to move higher.
Bearish Engulfing Pattern: Indicates the start of a downward trend and typically signals that the market is likely to move lower.
Color Coding: Users can customize the background colors for bullish and bearish engulfing patterns.
Usage Guide:
Adding the Indicator: Add the "Engulf Scan" indicator to your TradingView chart.
Color Settings: Choose your preferred colors for bullish and bearish engulfing patterns from the indicator settings.
Pattern Detection: View the engulfing patterns on the chart with the specified colors and symbols. These patterns help identify potential trend reversal points.
Parameters and Settings:
Bullish Engulfing Color: Background color for the bullish engulfing pattern.( Green)
Bearish Engulfing Color: Background color for the bearish engulfing pattern. (Red)
Examples:
Bullish Engulfing Example: On the chart below, you can see bullish engulfing patterns highlighted with a green background. (Green)
Bearish Engulfing Example: On the chart below, you can see bearish engulfing patterns highlighted with a red background. (Red)
Frequently Asked Questions (FAQ):
How are engulfing patterns detected?
Engulfing patterns are formed when a candlestick completely engulfs the previous candlestick. For a bullish engulfing pattern, a bullish candlestick follows a bearish one. For a bearish engulfing pattern, a bearish candlestick follows a bullish one.
Which timeframes work best with this indicator?
Engulfing patterns are generally more reliable on daily and higher timeframes, but you can test the indicator on different timeframes to see if it fits your trading strategy.
Can I detect a reversal or trend?
As can be seen in the image, it sometimes appears as a return signal and sometimes as a harbinger of an ongoing trend.But it may be a mistake to use the indicator only for these purposes. However, this indicator may not be sufficient when used alone. It can be combined with different indicators from the Tradingview library.
Updates and Changelog:
v1.0: Initial release. Added detection and color coding for bullish and bearish engulfing patterns.
-Please feel free to write your valuable comments and opinions. I attach importance to your valuable opinions so that I can improve myself.
Moving Average Momentum SignalsBest for trade execution in lower timeframe (1m,5m,15m) with momentum confirmation in higher timeframes (2h,4h,1d)
This indicator relies on three key conditions to determine buy and sell signals: the price's deviation from a short-term moving average, the change in the moving average over time (past 10 candles), and the price's deviation from a historical price (40 candles). The strategy aims to target moments where the asset's price is likely to experience a reversal or momentum shift.
Conditions
Price deviation from short-term Moving Average (MA): Current candle close minus the 10-period MA (price action past 10 candles)
Change in Moving Average over time: Current 10-period MA minus the 10-period MA from 10 candles ago (price action past 20 candles)
Price deviation from historical price: Current close minus the close from 40 candles ago (price action past 40 candles)
Signal Generation Logic
Buy Signal: Triggered when all three conditions are positive. Confirmed if the previous signal was a sell or if there were no previous signals
Sell Signal: Triggered when all three conditions are negative. Confirmed if the previous signal was a buy or if there were no previous signals
Usage and Strategy
After back testing, I observed the higher timeframes were a good indication of momentum/sentiment that you can take note of while trading intraday on the lower time frames (time intervals stated above). Background highlights are also displayed for easier visualization of bullish/bearish skew in terms of the volume of signals generated.
D9 IndicatorD9 Indicator
Category
Technical Indicators
Overview
The D9 Indicator is designed to identify potential trend reversals by counting the number of consecutive closes that are higher or lower than the close four bars earlier. This indicator highlights key moments in the price action where a trend might be exhausting and potentially reversing, providing valuable insights for traders.
Features
Up Signal: Plots a downward triangle or a cross above the bar when the count of consecutive closes higher than the close four bars earlier reaches 7, 8, or 9.
Down Signal: Plots an upward triangle or a checkmark below the bar when the count of consecutive closes lower than the close four bars earlier reaches 7, 8, or 9.
Visual Signals
Red Downward Triangle (7): Indicates the seventh consecutive bar with a higher close.
Red Downward Triangle (8): Indicates the eighth consecutive bar with a higher close.
Red Cross (❌): Indicates the ninth consecutive bar with a higher close, suggesting a potential bearish reversal.
Green Upward Triangle (7): Indicates the seventh consecutive bar with a lower close.
Green Upward Triangle (8): Indicates the eighth consecutive bar with a lower close.
Green Checkmark (✅): Indicates the ninth consecutive bar with a lower close, suggesting a potential bullish reversal.
Usage
The D9 Indicator is useful for traders looking for visual cues to identify potential trend exhaustion and reversals. It can be applied to any market and timeframe, providing flexibility in various trading strategies.
How to Read
When a red cross (❌) appears above a bar, it may signal an overextended uptrend and a potential bearish reversal.
When a green checkmark (✅) appears below a bar, it may signal an overextended downtrend and a potential bullish reversal.
Example
When the price has consecutively closed higher than four bars ago for nine bars, a red cross (❌) will appear above the ninth bar. This suggests that the uptrend might be exhausting, and traders could look for potential short opportunities. Conversely, when the price has consecutively closed lower than four bars ago for nine bars, a green checkmark (✅) will appear below the ninth bar, indicating a potential buying opportunity.
IV Rank Oscillator by dinvestorqShort Title: IVR OscSlg
Description:
The IV Rank Oscillator is a custom indicator designed to measure and visualize the Implied Volatility (IV) Rank using Historical Volatility (HV) as a proxy. This indicator helps traders determine whether the current volatility level is relatively high or low compared to its historical levels over a specified period.
Key Features :
Historical Volatility (HV) Calculation: Computes the historical volatility based on the standard deviation of logarithmic returns over a user-defined period.
IV Rank Calculation: Normalizes the current HV within the range of the highest and lowest HV values over the past 252 periods (approximately one year) to generate the IV Rank.
IV Rank Visualization: Plots the IV Rank, along with reference lines at 50 (midline), 80 (overbought), and 20 (oversold), making it easy to interpret the relative volatility levels.
Historical Volatility Plot: Optionally plots the Historical Volatility for additional reference.
Usage:
IV Rank : Use the IV Rank to assess the relative level of volatility. High IV Rank values (close to 100) indicate that the current volatility is high relative to its historical range, while low IV Rank values (close to 0) indicate low relative volatility.
Reference Lines: The overbought (80) and oversold (20) lines help identify extreme volatility conditions, aiding in trading decisions.
Example Use Case:
A trader can use the IV Rank Oscillator to identify potential entry and exit points based on the volatility conditions. For instance, a high IV Rank may suggest a period of high market uncertainty, which could be a signal for options traders to consider strategies like selling premium. Conversely, a low IV Rank might indicate a more stable market condition.
Parameters:
HV Calculation Length: Adjustable period length for the historical volatility calculation (default: 20 periods).
This indicator is a powerful tool for options traders, volatility analysts, and any market participant looking to gauge market conditions based on historical volatility patterns.
SMA DMA Crossing SignalSMA and DMA Crossing Buy Sell Signals
This script implements a Double Moving Average (DMA) strategy, a popular technical analysis technique used by traders to identify trends and potential buy/sell signals in financial markets.
**Description:**
The Double Moving Average strategy involves the calculation of two moving averages – a short-term moving average and a long-term moving average. In this script, we calculate these moving averages as follows:
1. **Short-term DMA (`dmaShort`):**
- Calculated using a 28-bar Simple Moving Average (SMA).
- Represents the shorter-term trend in the price movement.
2. **Long-term DMA (`dmaLong`):**
- Also calculated using a 28-bar SMA.
- Displaced backward by 14 bars (`dmaLong := request.security(syminfo.tickerid, "D", dmaLong )`), effectively creating a 28-bar SMA with a -14 bar displacement.
- Represents the longer-term trend in the price movement.
**Signals:**
Buy and sell signals are generated based on the crossing of the short-term DMA over or under the long-term DMA:
- **Buy Signal (`DMA BUY`):** Occurs when the short-term DMA crosses above the long-term DMA (`dmaBuySignal`).
- **Sell Signal (`DMA SELL`):** Occurs when the short-term DMA crosses below the long-term DMA (`dmaSellSignal`).
**How to Use:**
- **Buy Signal:** Consider entering a long position when the short-term DMA crosses above the long-term DMA, indicating a potential uptrend.
- **Sell Signal:** Consider exiting a long position or entering a short position when the short-term DMA crosses below the long-term DMA, indicating a potential downtrend.
This script provides a visual representation of the DMA crossover signals on the chart, helping traders identify potential entry and exit points in the market.
**Note:** It's important to combine DMA signals with other technical analysis tools and risk management strategies for informed trading decisions.
All comments are welcome..
Indecisive and Explosive CandlesThe Explosive & Base Candle with Gaps Identifier is an indicator designed to enhance your market analysis by identifying critical candle types and gaps in price action. This tool aids traders in pinpointing zones of significant buyer-seller interaction and potential institutional activity, providing valuable insights for strategic trading decisions.
Main Features:
Base Candle Identification: This feature detects Base candles, also known as indecisive candles, within the price action. A Base candle is characterized by a body (the difference between the close and open prices) that is less than or equal to 50% of its total range (the difference between the high and low prices). These candles mark zones where buyers and sellers are evenly matched, highlighting areas of potential support and resistance.
Explosive Candle Identification: The indicator identifies Explosive candles, which are indicative of strong market moves often driven by institutional activity. An Explosive candle is defined by a body that is greater than 70% of its total range. Recognizing these candles helps traders spot significant momentum and potential breakout points.
Supply and Demand Zone Identification: Both Base and Explosive candles are essential for identifying supply and demand zones within the price action. These zones are crucial for traders to place their trades based on the likelihood of price reversals or continuations.
Gap Detection: The indicator also detects gaps, defined as the difference between the close price of one candle and the open price of the next. Gaps are significant because prices often return to these levels to "fill the gap," providing opportunities for traders to predict price movements and place strategic trades.
Visual Markings and Alerts: The indicator visually marks Base and Explosive candles as well as gaps directly on the chart, making them easily identifiable at a glance. Traders can also set customizable alerts to notify them when these key candle types and gaps appear, ensuring they never miss an important trading opportunity.
Customizable Settings: Tailor the indicator’s settings to match your trading style and preferences. Adjust the criteria for Base and Explosive candles, as well as how gaps are detected and displayed, to suit your specific analysis needs.
How to Use:
Add the Indicator: Apply the Explosive & Base Candle with Gaps Identifier to your TradingView chart.
Analyze Identified Zones: Observe the marked Base and Explosive candles and gaps to identify key areas of support, resistance, and potential price reversals or continuations.
Set Alerts: Customize and set alerts for the detection of Base candles, Explosive candles, and gaps to stay informed of critical market movements in real-time.
Integrate with Your Strategy: Use the insights provided by the indicator to enhance your existing trading strategy, improving your entry and exit points based on the identified supply and demand zones.
The Explosive & Base Candle with Gaps Identifier is an invaluable tool for traders aiming to refine their market analysis and make more informed trading decisions. By identifying critical areas of price action, this indicator supports traders in navigating the complexities of the financial markets with greater precision and confidence.
Reversal Zones with SignalsThe "Reversal Zones with Signals" indicator is an advanced technical analysis tool designed to help traders identify potential market reversal points. By integrating Relative Strength Index (RSI), moving averages, and swing high/low detection, this indicator provides traders with clear visual cues for potential buy and sell opportunities.
Key Features and Benefits
Integration of Multiple Technical Analysis Tools:
The indicator seamlessly combines RSI, moving averages, and swing high/low detection. This multi-faceted approach enhances the reliability of the signals by confirming potential reversals through different technical analysis perspectives.
Customizable Parameters:
Users can adjust the sensitivity of the moving averages, the RSI overbought and oversold levels, and the length of the reversal zones. This flexibility allows traders to tailor the indicator to fit their specific trading strategies and market conditions.
Clear Visual Signals:
Buy and sell signals are plotted directly on the chart as easily recognizable green and red labels. This visual clarity simplifies the process of identifying potential entry and exit points, enabling traders to act quickly and decisively.
Reversal Zones:
The indicator plots reversal zones based on swing highs and lows in conjunction with RSI conditions. Green lines represent potential support levels (zone bottoms), while red lines represent potential resistance levels (zone tops). These zones provide traders with clear areas where price reversals are likely to occur.
Automated Alerts:
Custom alerts can be set for both buy and sell signals, providing real-time notifications when potential trading opportunities arise. This feature ensures that traders do not miss critical market moves.
How It Works
RSI Calculation:
The Relative Strength Index (RSI) is calculated to determine overbought and oversold conditions. When RSI exceeds the overbought threshold, it indicates that the market may be overbought, and when it falls below the oversold threshold, it indicates that the market may be oversold. This helps in identifying potential reversal points.
Swing High/Low Detection:
Swing highs and lows are detected using a specified lookback period. These points represent significant price levels where reversals are likely to occur. Swing highs are detected using the ta.pivothigh function, and swing lows are detected using the ta.pivotlow function.
Reversal Zones:
Reversal zones are defined by plotting lines at swing high and low levels when RSI conditions are met. These zones serve as visual cues for potential support and resistance areas, providing a structured framework for identifying reversal points.
Buy and Sell Signals:
Buy signals are generated when the price crosses above a defined reversal zone bottom, indicating a potential upward reversal. Sell signals are generated when the price crosses below a defined reversal zone top, indicating a potential downward reversal. These signals are further confirmed by the presence of bullish or bearish engulfing patterns.
Plotting and Alerts:
The indicator plots buy and sell signals directly on the chart with corresponding labels. Additionally, alerts can be set up to notify the user when a signal is generated, ensuring timely action.
Originality and Usefulness
Innovative Integration of Technical Tools:
The "Reversal Zones with Signals" indicator uniquely combines multiple technical analysis tools into a single, cohesive indicator. This integration provides a comprehensive view of market conditions, enhancing the accuracy of the signals and offering a robust tool for traders.
Enhanced Trading Decisions:
By providing clear and actionable signals, the indicator helps traders make better-informed decisions. The visualization of reversal zones and the integration of RSI and moving averages ensure that traders have a solid framework for identifying potential reversals.
Flexibility and Customization:
The customizable parameters allow traders to adapt the indicator to different trading styles and market conditions. This flexibility ensures that the indicator can be used effectively by a wide range of traders, from beginners to advanced professionals.
Clear and User-Friendly Interface:
The indicator's design prioritizes ease of use, with clear visual signals and intuitive settings. This user-friendly approach makes it accessible to traders of all experience levels.
Real-Time Alerts:
The ability to set up custom alerts ensures that traders are notified of potential trading opportunities as they arise, helping them to act quickly and efficiently.
Versatility Across Markets:
The indicator is suitable for use in various financial markets, including stocks, forex, and cryptocurrencies. Its adaptability across different asset classes makes it a valuable addition to any trader's toolkit.
How to Use
Adding the Indicator:
Add the "Reversal Zones with Signals" indicator to your chart.
Adjust the parameters (Sensitivity, RSI OverBought Value, RSI OverSold Value, Zone Length) to match your trading strategy and market conditions.
Interpreting Signals:
Buy Signal: A green "BUY" label appears below a bar, indicating a potential buying opportunity based on the detected reversal zone and price action.
Sell Signal: A red "SELL" label appears above a bar, indicating a potential selling opportunity based on the detected reversal zone and price action.
Setting Alerts:
Set alerts for buy and sell signals to receive notifications when potential trading opportunities arise. This ensures timely action and helps traders stay informed about critical market moves.
Higher Timeframe High & Low [ChartPrime]The Higher Timeframe High & Low Indicator plots key levels (high, low, and average price) from a higher timeframe onto the current chart, aiding traders in identifying significant support and resistance zones.
The indicator also detects and labels breakout points and can display trend directions based on these higher timeframe levels breakout points.
Key Features:
◆ Higher Timeframe Levels:
Plots the high, low, and average price from a selected higher timeframe onto the current chart.
Extends these levels into the future for better visualization.
◆ Breakout Detection:
Identifies and labels breakouts above the higher timeframe high or below the higher timeframe low.
Breakout points are clearly marked with labels indicating "High Break" or "Low Break" with timeframe mark.
If the following break out type is the same that previous, it does not marked by labels, but still marked by bar color.
◆ Trend Visualization:
Optionally displays trend direction by changing bar colors and line styles based on breakout conditions.
Trend indication helps in identifying bullish or bearish market conditions.
◆ Support and Resistance Indication:
Marks support and resistance points with '◆' symbols when the current timeframe's high or low interacts with the higher timeframe's levels.
◆ Period separation:
Background color changes to indicate period separation if enabled.
◆ Inputs:
Extension to the right of High and Low: Sets the number of bars to extend the high and low lines into the future.
Timeframe: Selects the higher timeframe (e.g., Daily) to use for plotting high and low levels.
Period Separator: Toggles the visual separator for periods.
Show Trend?: Toggles the trend visualization, changing bar colors and plot styles based on breakouts.
Show Breakout Labels?: Toggles the Breakout Labels visualization.
Indicator Logic:
Historical vs. Real-Time Bars: Adjusts values based on whether the bar is historical or real-time to ensure accurate plotting.
High and Low Prices: Retrieves the high and low prices from the selected higher timeframe.
Breakout Conditions: Determines if the current price has crossed above the higher timeframe high (high break) or below the higher timeframe low (low break).
Color and Trend Logic: Adjusts colors and checks for breakouts to avoid multiple labels and indicate trend direction.
Usage Notes:
This indicator is ideal for traders looking to integrate multi-timeframe analysis into their strategy.
The higher timeframe levels act as significant support and resistance zones, helping traders identify potential reversal or continuation points.
The breakout labels and trend visualization provide additional context for trading decisions, indicating when the price has breached key levels and is likely to continue in that direction.
This indicator enhances chart analysis by providing clear, visual cues from higher timeframe data, helping traders make more informed decisions based on a broader market perspective.
Forex SessionThis Trading View script highlights the trading sessions for New York, European, and Asian markets on the chart and adds labels at the start of each session. The script uses Pine Script version 5 and converts local session times to UTC to accurately display the session times regardless of your local Time zone.
Features :
Session Times:
New York: 8:30 AM to 3:00 PM (Eastern Time, GMT-4)
European: 8:00 AM to 4:30 PM (London Time, GMT+1)
Asian: 9:00 AM to 6:00 PM (Tokyo Time, GMT+9)
Background Highlighting: The script shades the background for each session.
New York Session: Blue
European Session: Green
Asian Session: Red
Today's sessions are shaded with 90% opacity.
Tomorrow's sessions are shaded with 70% opacity.
How It Works :
Session Times Conversion: The script converts the session times from local timezones to UTC
using the timestamp function.
Background Coloring: The bgcolor function is used to shade the background for each session.
Volume Breaker Blocks [UAlgo]The "Volume Breaker Blocks " indicator is designed to identify breaker blocks in the market based on volume and price action. It is a concept that emerges when an order block fails, leading to a change in market structure. It signifies a pivotal point where the market shifts direction, offering traders opportunities to enter trades based on anticipated trend continuation.
🔶 Key Features
Identifying Breaker Blocks: The indicator identifies breaker blocks by detecting pivot points in price action and corresponding volume spikes.
Breaker Block Sensitivity: Traders can adjust breaker block detection sensitivity, length to be used to find pivot points.
Mitigation Method (Close or Wick): Traders can choose between "Close" and "Wick" as the mitigation method. This choice determines whether the indicator considers closing prices or wicks in identifying breaker blocks. Selecting "Close" implies that breaker blocks will be considered broken when the closing price violates the block, while selecting "Wick" implies that the wick of the candle must violate the block for it to be considered broken.
Show Last X Breaker Blocks: Users can specify how many of the most recent breaker blocks to display on the chart.
Visualization: Volume breaker blocks are visually represented on the chart with customizable colors and text labels, allowing for easy interpretation of market conditions. Each breaker block is accompanied by informational text, including whether it's bullish or bearish and the corresponding volume, aiding traders in understanding the significance of each block.
🔶 Disclaimer
Educational Purpose: The "Volume Breaker Blocks " indicator is provided for educational and informational purposes only. It does not constitute financial advice or a recommendation to engage in trading activities.
Risk of Loss: Trading in financial markets involves inherent risks, including the risk of loss of capital. Users should carefully consider their financial situation, risk tolerance, and investment objectives before engaging in trading activities.
Accuracy Not Guaranteed: While the indicator aims to identify potential reversal points in the market, its accuracy and effectiveness may vary. Users should conduct thorough testing and analysis before relying solely on the indicator for trading decisions.
Past Performance: Past performance is not indicative of future results. Historical data and backtesting results may not accurately reflect actual market conditions or future performance.
HTF Ascending TriangleHTF Ascending Triangle aims at detecting ascending triangles using higher time frame data, without repainting nor misalignment issues.
Ascending triangles are defined by an horizontal upper trend line and a rising lower trend line. It is a chart pattern used in technical analysis to predict the continuation of an uptrend.
This indicator can be useful if you, like me, believe that higher time frames can offer a broader perspective and provide clearer signals, smoothing out market noise and showing longer-term trends.
You can change the indicator settings as you see fit to tighten or loosen the detection, and achieve the best results for your use case.
Features
It draws the detected ascending triangle on the chart.
It supports alerting when a detection occurs.
It allows for setting the higher time frame to run the detection on.
It allows for setting the minimum number of consecutive valid higher time frame bars to fit the pattern criteria.
It allows for setting a high factor detection criteria to apply on higher time frame bars high as a proportion of the distance between the reference bar high and open/close.
It allows for turning on an adjustment of the triangle using highest/lowest values within valid higher time frame bars.
Settings
Higher Time Frame dropdown: Selects higher time frame to run the detection on. It must be higher than, and a multiple of, the chart's timeframe.
Valid Bars Minimum field: Sets minimum number of consecutive valid higher time frame bars to fit the pattern criteria.
High Factor checkbox: Turns on/off high factor detection criteria.
High Factor field: Sets high factor to apply on higher time frame bars high as a proportion of the distance between the reference bar high and close/open.
Adjust Triangle checkbox: Turns on/off triangle adjustment using highest/lowest values within valid higher time frame bars.
Detection Algorithm Notes
The detection algorithm recursively selects a higher time frame bar as reference. Then it looks at the consecutive higher time frame bars (as per the requested number of minimum valid bars) as follows:
Low must be higher than previous bar.
Open/close max value must be lower than reference bar high.
When high factor criteria is turned on, high must be higher than reference bar open/close max value plus high factor proportion of the distance between reference bar high and open/close max value.
Expansion Candles by Alex EntrepreneurHey people! Thanks for using Expansion Candles. I designed this tool to help me identify price runs (expansions) based on consecutive bullish or bearish candle closes and then trade continuations on the lower timeframes. Here's what makes it awesome:
How Does It Work?
An “expansion” is confirmed after multiple closes above the previous candle’s high (in the bull case) or below the previous candle’s low (in the bear case) while also having a higher candle low than the previous candle (in the bull case) or having lower candle high that the previous candle (in the bear case). After an expansion is confirmed, then the indicator will be displayed on the next candle.
You can set the number of required candle closes that confirm an “expansion” by increasing or decreasing the "Required Candles For Valid Expansion" setting.
An expansion will continue until an “invalidation” event occurs this will cause the indicator to stop displaying.
This “invalidation” can either be a lower candle low than the previous candle (in the bull case) and a higher candle high than the previous candle (in the bear case), or a close below the previous candle’s low (in the bull case) or a close above the previous candle’s high (in the bear case).
You can choose whether you want to use candle highs and lows as invalidation or candle closes as invalidation by changing the “Invalidation Type” setting to either “Wick” or “Candle Close”.
Key Features
Price Run Detection : Identify when price is expanding through consecutive bullish or bearish candle closes. You can chose whether a wick or opposite candle close finishes the run.
Timeframe Selection : Select your preferred timeframe for expansion candles and then view the indicator on lower timeframes for precise continuation entries.
Custom Display Options : Tailor the way expansions are shown on your chart. Choose your bullish and bearish colours and then display expansions as coloured candles, background colours, boxes, or arrows.
Sensitivity Adjustment : Adjust the indicator's sensitivity by changing the number of "Required Candles For Valid Expansion" to suit your analysis.
Set Alerts : Detect new bullish or bearish expansions in your favourite instruments with customisable alerts.
Best,
Alex Entrepreneur
MFI RSThe script helps in recognizing the money flow resistance and rsi level combinations and is quite useful
ICT Immediate Rebalance Toolkit [LuxAlgo]The ICT Immediate Rebalance Toolkit is a comprehensive suite of tools crafted to aid traders in pinpointing crucial trading zones and patterns within the market.
The ICT Immediate Rebalance, although frequently overlooked, emerges as one of ICT's most influential concepts, particularly when considered within a specific context. The toolkit integrates commonly used price action tools to be utilized in conjunction with the Immediate Rebalance patterns, enriching the capacity to discern context for improved trading decisions.
The ICT Immediate Rebalance Toolkit encompasses the following Price Action components:
ICT Immediate Rebalance
Buyside/Sellside Liquidity
Order Blocks & Breaker Blocks
Liquidity Voids
ICT Macros
🔶 USAGE
🔹 ICT Immediate Rebalance
What is an Immediate Rebalance?
Immediate rebalances, a concept taught by ICT, hold significant importance in decision-making. To comprehend the concept of immediate rebalance, it's essential to grasp the notion of the fair value gap. A fair value gap arises from market inefficiencies or imbalances, whereas an immediate rebalance leaves no gap, no inefficiencies, or no imbalances that the price would need to return to.
Rule of Thumb
After an immediate rebalance, the expectation is for two extension candles to follow; otherwise, the immediate rebalance is considered failed. It's important to highlight that both failed and successful immediate rebalances, when considered within a context, are significant signatures in trading.
Immediate rebalances can occur anywhere and in any timeframe.
🔹 Buyside/Sellside Liquidity
In the context of Inner Circle Trader's teachings, liquidity primarily refers to the presence of stop losses or pending orders, that indicate concentrations of buy or sell orders at specific price levels. Institutional traders, like banks and large financial entities, frequently aim for these liquidity levels or pools to accumulate or distribute their positions.
Buyside liquidity denotes a chart level where short sellers typically position their stops, while Sellside liquidity indicates a level where long-biased traders usually place their stops. These zones often serve as support or resistance levels, presenting potential trading opportunities.
The presentation applied here is the multi-timeframe version of our previously published Buyside-Sellside-Liquidity script.
🔹 Order Blocks & Breaker Blocks
Order Blocks and Breaker Blocks hold significant importance in technical analysis and play a crucial role in shaping market behavior.
Order blocks are fundamental elements of price action analysis used by traders to identify key levels in the market where significant buying or selling activity has occurred. These blocks represent areas on a price chart where institutional traders, banks, or large market participants have placed substantial buy or sell orders, leading to a temporary imbalance in supply and demand.
Breaker blocks, also known as liquidity clusters or pools, complement order blocks by identifying zones where liquidity is concentrated on the price chart. These areas, formed from mitigated order blocks, often act as significant barriers to price movement, potentially leading to price stalls or reversals in the future.
🔹 Liquidity Voids
Liquidity voids are sudden price changes when the price jumps from one level to another. Liquidity voids will appear as a single or a group of candles that are all positioned in the same direction. These candles typically have large real bodies and very short wicks, suggesting very little disagreement between buyers and sellers.
Here is our previously released Liquidity-Voids script.
🔹 ICT Macros
In the context of ICT's teachings, a macro is a small program or set of instructions that unfolds within an algorithm, which influences price movements in the market. These macros operate at specific times and can be related to price runs from one level to another or certain market behaviors during specific time intervals. They help traders anticipate market movements and potential setups during specific time intervals.
Here is our previously released ICT-Macros script.
🔶 SETTINGS
🔹 Immediate Rebalances
Immediate Rebalances: toggles the visibility of the detected immediate rebalance patterns.
Bullish, and Bearish Immediate Rebalances: color customization options.
Wicks 75%, %50, and %25: color customization options of the wick price levels for the detected immediate rebalance.
Ignore Price Gaps: ignores price gaps during calculation.
Confirmation (Bars): specifies the number of bars required to confirm the validation of the detected immediate rebalance.
Immediate Rebalance Icon: allows customization of the size of the icon used to represent the immediate rebalance.
🔹 Buyside/Sellside Liquidity
Buyside/Sellside Liquidity: toggles the visibility of the buy-side/sell-side liquidity levels.
Timeframe: this option is to identify liquidity levels from higher timeframes. If a timeframe lower than the chart's timeframe is selected, calculations will be based on the chart's timeframe.
Detection Length: lookback period used for the detection.
Margin: sets margin/sensitivity for the liquidity levels.
Buyside/Sellside Liquidity Color: color customization option for buy-side/sell-side liquidity levels.
Visible Liquidity Levels: allows customization of the visible buy-side/sell-side liquidity levels.
🔹 Order Blocks & Breaker Blocks
Order Blocks: toggles the visibility of the order blocks.
Breaker Blocks: toggles the visibility of the breaker blocks.
Swing Detection Length: lookback period used for the detection of the swing points used to create order blocks & breaker blocks.
Mitigation Price: allows users to select between the closing price or the wick of the candle.
Use Candle Body in Detection: allows users to use candle bodies as order block areas instead of the full candle range.
Remove Mitigated Order Blocks & Breaker Blocks: toggles the visibility of the mitigated order blocks & breaker blocks.
Order Blocks: Bullish, Bearish Color: color customization option for order blocks.
Breaker Blocks: Bullish, Bearish Color: color customization option for breaker blocks.
Visible Order & Breaker Blocks: allows customization of the visible order & breaker blocks.
Show Order Blocks & Breaker Blocks Labels: toggles the visibility of the order blocks & breaker blocks labels.
🔹 Liquidity Voids
Liquidity Voids: toggles the visibility of the liquidity voids.
Liquidity Voids Width Filter: filtering threshold while detecting liquidity voids.
Ignore Price Gaps: ignores price gaps during calculation.
Remove Mitigated Liquidity Voids: remove mitigated liquidity voids.
Bullish, Bearish, and Mitigated Liquidity Voids: color customization option..
Liquidity Void Labels: toggles the visibility of the liquidity voids labels.
🔹 ICT Macros
London and New York (AM, Launch, and PM): toggles the visibility of specific macros, allowing users to customize macro colors.
Macro Top/Bottom Lines, Extend: toggles the visibility of the macro's pivot high/low lines and allows users to extend the pivot lines.
Macro Mean Line: toggles the visibility of the macro's mean (average) line.
Macro Labels: toggles the visibility of the macro labels, allowing customization of the label size.
🔶 RELATED SCRIPTS
ICT-Killzones-Toolkit
Smart-Money-Concepts
Thanks to our community for recommending this script. For more conceptual scripts and related content, we welcome you to explore by visiting >>> LuxAlgo-Scripts .
Triple EMA Trend AlertThis EMA trend indicator works by determining if a short-term EMA is above an intermediate-term EMA that is in turn above a long-term EMA (in a bullish trend) or if the reverse is true in a bearish trend. An alert box is displayed on the chart to give a trend trader a quick at-a-glance reference to see which way the overall trend is moving by turning green when the trend is overall bullish, red when overall bearish, and gray when indecisive and not clearly trending (a good time for the trend trader to consider setting back and just observing as they wait for a new trend to develop). Text is displayed in the box showing the current overall trend direction. Sometimes, using this criterion, a trend can still be considered overall bullish while the EMAs are actually bearish prior an EMA crossover that results in a trend readout change to indecisive or in the opposite direction. For this reason, the indicator will also display in parenthesis if the EMAs are trending lower or higher by comparing all live-bar EMA values to that of the previous bar’s values to determine if they are collectively trending lower or higher at that time in order to give an early warning of a potential trend reversal before the EMA crossovers change the overall bullish or bearish readout of the indicator. Both the alert box and EMA line chart overlays can be turned on and off independently, if desired.
Reversal Candlestick Structure [LuxAlgo]The Reversal Candlestick Structure indicator detects multiple candlestick patterns occurring when trends are most likely to experience a reversal in real-time. The reversal detection method includes various settings allowing users to adjust the reversal detection algorithm more precisely.
A dashboard showing the percentage of patterns detected as reversals is also included.
🔶 USAGE
Candlestick patterns are ubiquitous to technical analysts, allowing them to detect trend continuations, reversals, and indecision.
The proposed tool effectively detects reversals by using the confluence between candlestick patterns and a reversal detection method based on the stochastic oscillator, acting as a filter for the patterns. If a candlestick pattern occurs while conditions suggest a potential reversal then the pattern is highlighted.
The displayed candle coloring allows users to observe the reversal detection method, with colored candles indicating potential reversals.
Users wanting to detect longer-term reversals can use a higher "Trend Length" setting, this can however lead to an increased amount of displayed candlestick patterns.
To prevent false positives users also have control over a "Threshold" setting in a range between (0, 100), with values closer to 100 preventing candlesticks from being detected at the start of trends.
The "Warmup Length" serves a similar purpose, and aims to prevent sudden moves to be classified as reversals. Higher values of this setting will require trends to be established for a longer period of time for reversal conditions to be detected.
🔹 Dashboard
To evaluate the role of individual candlestick patterns as potential reversal signals relative to the proposed reversal detection method, a dashboard displaying the percentage of candlestick patterns displayed (that occur when a potential reversal is detected) over the total amount detected.
Hovering on the dashboard cells of the "Reversal %" column allows displaying the total amount of patterns detected.
🔶 CANDLESTICKS PATTERNS
This tool detects 16 popular candlestick patterns, each listed in the sub-sections below.
🔹 Bullish Patterns
Hammer - A bullish reversal pattern that forms after a decline, characterized by a small body at the upper end of the trading range and a long lower shadow.
Inverted Hammer - A bullish reversal pattern that forms after a downtrend, featuring a small body at the lower end of the trading range and a long upper shadow.
Bullish Engulfing - A bullish reversal pattern where a small bearish candlestick is followed by a larger bullish candlestick that completely engulfs the previous candle.
Rising 3 - A bullish continuation pattern that consists of a long bullish candlestick followed by three smaller bearish candlesticks and then another long bullish candlestick.
3 White Soldiers - A bullish reversal pattern consisting of three consecutive long bullish candlesticks, each opening within the previous candle's body and closing higher.
Morning Star - A bullish reversal pattern made up of three candlesticks: a long bearish candlestick, followed by a short candlestick, and then a long bullish candlestick.
Bullish Harami - A bullish reversal pattern where a small bullish candlestick is completely within a previous larger bearish candlestick.
Tweezer Bottom - A bullish reversal pattern identified by an initial bullish candle, followed by a bearish candle, both having equal lows.
🔹 Bearish Patterns
Hanging Man - A bearish reversal pattern that forms after an uptrend, characterized by a small body at the upper end of the trading range and a long lower shadow.
Shooting Star - A bearish reversal pattern that forms after an uptrend, featuring a small body at the lower end of the trading range and a long upper shadow.
Bearish Engulfing - A bearish reversal pattern where a small bullish candlestick is followed by a larger bearish candlestick that completely engulfs the previous candle.
Falling 3 - A bearish continuation pattern that consists of a long bearish candlestick followed by three smaller bullish candlesticks and then another long bearish candlestick.
3 Black Crows - A bearish reversal pattern consisting of three consecutive long bearish candlesticks, each opening within the previous candle's body and closing lower.
Evening Star - A bearish reversal pattern made up of three candlesticks: a long bullish candlestick, followed by a short candlestick, and then a long bearish candlestick.
Bearish Harami - A bearish reversal pattern where a small bearish candlestick is completely within a previous larger bullish candlestick.
Tweezer Top - A bearish reversal pattern is identified by an initial bullish candle, followed by a bearish candle, both having equal highs."
🔶 SETTINGS
🔹 Patterns
Group including toggles for each of the supported candlestick patterns. Enabled toggles will allow detection of the associated candlestick pattern.
🔹 Reversal Detection
Trend Length: Determines the sensitivity of the reversal detection method to shorter-term variation, with higher values returning a detection method more sensitive to longer-term trends.
Threshold: Determines how easy it is for the reversal detection method to consider a trend at an extreme point.
Warmup Length: Warmup period in the reversal detection method, longer values will require a longer-term trend to detect potential reversals.
🔹 Style
Color Candles: Enable candle coloring on the user chart based on the reversal detection method.
Use Gradient: Use a gradient as candle coloring.
Label Size: Size of the labels displaying the detected candlesticks patterns.
🔹 Dashboard
Show Dashboard: Display the dashboard on the user chart when enabled.
Location: Dashboard location on the user chart.
Size: Size of the displayed dashboard.
Flags With Measured Move [QuantVue]Flags with Measured Moves is a technical analysis tool that identifies bull flags and provides a measured move target.
A bull flag is a continuation pattern that occurs within the context of a general uptrend. It represents a pause or small consolidation before the price resumes its upward movement.
A bull flag consists of two sections: the flagpole and the flag.
The flagpole is the initial upward movement that occurs before the flag forms.
The flag forms as the price consolidates after the initial uptrend. During this phase, the price tends to drift downward or sideways, ideally with declining volume.
Once the flag has put in a low, the initial range of thrust is added to the flag low to form the measured move target.
Every element of the flag is customizable by the trader, including the size and length of the prior uptrend and the minimum and maximum flag depth and length.
The indicator also includes alerts for when new flags are formed, when a breakout from the flag occurs, and when the measured move target is reached.
By default, the indicator settings are set for use on a daily timeframe. If using the indicator on an intraday timeframe, you will need to adjust the settings.
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
HH LL HL LH MarkerHH LL HL LH Marker
The "HH LL HL LH Marker" is a versatile technical analysis tool designed to help traders identify and visualize key pivot points in price action. It highlights four types of pivot points: Higher High (HH), Lower Low (LL), Higher Low (HL), and Lower High (LH), aiding in spotting potential trend reversals or continuations.
Features:
Customizable Inputs: Adjust the number of bars to look back on for pivot calculation, and choose which pivot types to display.
ZigZag Line: Optionally display a ZigZag line connecting the identified pivot points for a clearer visualization of price swings.
Visual Marker: Each pivot point type is marked with a distinct label, making it easy to identify on the chart.
How to Use:
Higher High (HH): Indicates when the current high is higher than the previous two highs, suggesting potential upward momentum.
Lower Low (LL): Signals when the current low is lower than the previous two lows, indicating potential downward momentum.
Higher Low (HL): Marks a higher low compared to the two previous lows, potentially signaling a bullish trend reversal.
Lower High (LH): Identifies a lower high compared to the two previous highs, potentially indicating a bearish trend reversal.
Usage Tips:
Combine with other technical indicators or chart patterns for comprehensive analysis.
Adjust input parameters according to the timeframe and asset being traded for optimal performance.
Note: This indicator is for educational purposes only and should be used alongside other tools and analysis techniques for making informed trading decisions.
Multi-Timeframe Trend Following with 200 EMA Filter - Longs OnlyOverview
This strategy is designed to trade long positions based on multiple timeframe Exponential Moving Averages (EMAs) and a 200 EMA filter. The strategy ensures that trades are only entered in strong uptrends and aims to capitalize on sustained upward movements while minimizing risk with a defined stop-loss and take-profit mechanism.
Key Components
Initial Capital and Position Sizing
Initial Capital: $1000.
Lot Size: 1 unit per trade.
Inputs
Fast EMA Length (fast_length): The period for the fast EMA.
Slow EMA Length (slow_length): The period for the slow EMA.
200 EMA Length (filter_length_200): Set to 200 periods for the primary trend filter.
Stop Loss Percentage (stop_loss_perc): Set to 1% of the entry price.
Take Profit Percentage (take_profit_perc): Set to 3% of the entry price.
Timeframes and EMAs
EMAs are calculated for the following timeframes using the request.security function:
5-minute: Short-term trend detection.
15-minute: Intermediate-term trend detection.
30-minute: Long-term trend detection.
The strategy also calculates a 200-period EMA on the 5-minute timeframe to serve as a primary trend filter.
Trend Calculation
The strategy determines the trend for each timeframe by comparing the fast and slow EMAs:
If the fast EMA is above the slow EMA, the trend is considered positive (1).
If the fast EMA is below the slow EMA, the trend is considered negative (-1).
Combined Trend Signal
The combined trend signal is derived by summing the individual trends from the 5-minute, 15-minute, and 30-minute timeframes.
A combined trend value of 3 indicates a strong uptrend across all timeframes.
Any combined trend value less than 3 indicates a weakening or negative trend.
Entry and Exit Conditions
Entry Condition:
A long position is entered if:
The combined trend signal is 3 (indicating a strong uptrend across all timeframes).
The current close price is above the 200 EMA on the 5-minute timeframe.
Exit Condition:
The long position is exited if:
The combined trend signal is less than 3 (indicating a weakening trend).
The current close price falls below the 200 EMA on the 5-minute timeframe.
Stop Loss and Take Profit
Stop Loss: Set at 1% below the entry price.
Take Profit: Set at 3% above the entry price.
These levels are automatically set when entering a trade using the strategy.entry function with stop and limit parameters.
Plotting
The strategy plots the fast and slow EMAs for the 5-minute timeframe and the 200 EMA for visual reference on the chart:
Fast EMA (5-min): Plotted in blue.
Slow EMA (5-min): Plotted in red.
200 EMA (5-min): Plotted in green.
Indecisive CandlesAn Indecisive Candle, often referred to as a Base Candle, is a pivotal element in technical analysis, particularly for identifying institutional supply and demand zones. These candles are characterized by their small bodies and long wicks, reflecting a balance between buyers and sellers, indicating a potential pause or consolidation in the market.
To calculate whether a candle qualifies as an indecisive candle based on the criterion that its body (the absolute difference between its open and close prices) is less than or equal to 50% of the total range of the candle (the difference between its high and low prices).
Key Features:
Small Real Body: Signifies minimal movement from open to close, indicating market indecision.
Long Upper and Lower Wicks: Show that both bulls and bears attempted to control the price, but neither succeeded, leading to a standoff.
Formation Context: Typically found at the end of a strong trend or within a consolidation phase, hinting at a potential reversal or continuation pattern.
Usage in Identifying Institutional Supply and Demand:
Supply Zones: When an Indecisive Candle forms after a rally, it can mark the onset of an institutional supply zone, suggesting that large entities are starting to sell, leading to potential downward pressure.
Demand Zones: Conversely, when this candle appears after a downtrend, it often signals the emergence of a demand zone, where institutions begin to accumulate, anticipating a price increase.
Trading Strategies:
Zone Identification: Use Indecisive Candles to pinpoint key supply and demand zones on your chart, enhancing the accuracy of your support and resistance levels.
Confirmation: Look for confirmation from subsequent price action or volume spikes to validate the presence of institutional activity before making trading decisions.
Risk Management: Place stop-loss orders beyond the wicks of these candles to protect against false breakouts or continued indecision.
Conclusion:
Indecisive Candles are essential tools for traders looking to understand market sentiment and institutional behavior. By mastering their identification and interpretation, you can enhance your ability to spot high-probability trading opportunities and manage risks effectively.
Doji Modern IndicatorDoji Patterns will be found based on 3 conditions -
Check if Open-close difference is a certain percentage of High-low difference
Check Upper & Lower wick sizes are greater than respective min threshold values
Check if the difference of Upper & Lower wick size is higher than the min threshold value
The threshold values are predetermined based on the timeframe selected for the chart
Candle Price MovementThis Pine Script indicator calculates and visualizes the price movement for each candlestick on the chart.
- **Calculation**: The price movement for each candle is determined by subtracting the opening price from the closing price.
- **Visualization**: The price movement is plotted as a histogram, with positive values indicating upward movement (green bars) and negative values indicating downward movement (red bars).
- **Options**:
- The histogram bars are colored blue with zero opacity, providing a clear visual distinction from the background.
- A horizontal line at zero (the "Zero Line") is added for reference, helping to identify periods of no price movement.
---
This indicator provides traders with a quick visualization of the price movement for each candlestick, helping to identify trends and potential trading opportunities.