Order Blocks Screener | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Order Blocks Screener! This screener can provide information about the latest order blocks in up to 5 tickers. You can also customize the algorithm that finds the order blocks and the styling of the screener.
Features of the new Order Blocks Screener :
Find Latest Order Blocks Accross 5 Tickers
Latest Status, Restests, Bullish & Bearish Volume
Customizable Algoritm / Styling
📌 HOW DOES IT WORK ?
Order blocks occur when there is a high amount of market orders exist on a price range. It is possible to find order blocks using specific formations on the chart.
The high & low volume of order blocks should be taken into consideration while determining their strengths. The determination of the high & low volume of order blocks are similar to FVGs, in a bullish order block, the high volume is the last 2 bars' total volume, while the low volume is the oldest bar's volume. In a bearish order block scenerio, the low volume becomes the last 2 bars' total volume.
This screener then finds order blocks accross 5 different tickers, and shows the latest information about them.
Status ->
Far -> The current price is far away from the order block.
Approaching ⬆️/⬇️ -> The current price is approaching the order block, and the direction it's approaching from.
Inside -> The price is currently inside the order block.
Retests -> Retest means the price to invalidate the order block, but failed to do so. Here you can see how many times the price retested the order block.
For the bullish / bearish volume, check the "How Does It Work" section.
🚩UNIQUENESS
This screener can detect latest order blocks and give information about them for up to 5 tickers. This saves the user time by showing them all in a dashboard at the same time. The screener shows the number of the retests of the order block as an unique trait. Another unique ability of the screener is that it shows the latest valid order block's bullish and bearish volume in the dashboard.
⚙️SETTINGS
1. Tickers
You can set up to 5 tickers for the screener to scan order blocks here. You can also enable / disable them and set their individual timeframes.
2. General Configuration
Zone Invalidation -> Select between Wick & Close price for Order Block Invalidation.
Swing Length -> Swing length is used when finding order block formations. Smaller values will result in finding smaller order blocks.
Multitimeframe
Crypto Punk [Bot] (Zeiierman)█ Overview
The Crypto Punk (Zeiierman) is a trading strategy designed for the dynamic and volatile cryptocurrency market. It utilizes algorithms that incorporate price action analysis and principles inspired by Geometric Brownian Motion (GBM). The bot's core functionality revolves around analyzing differences in high and low prices over various timeframes, estimating drift (trend) and volatility, and applying this information to generate trading signals.
█ How to use the Crypto Punk Bot
Utilize the Crypto Punk Bot as a technical analysis tool to enhance your trading strategy. The signals generated by the bot can serve as a confirmation of your existing approach to entering and exiting the market. Additionally, the backtest report provided by the bot is a valuable resource for identifying the optimal settings for the specific market and timeframe you are trading in.
One method is to use the bot's signals to confirm entry points around key support and resistance levels.
█ Key Features
Let's explain how the core features work in the strategy.
⚪ Strategy Filter
The strategy filter plays a vital role in the entries and exits. By setting this filter, the bot can identify higher or lower price points at which to execute trades. Opting for higher values will make the bot target more long-term extreme points, resulting in fewer but potentially more significant signals. Conversely, lower values focus on short-term extreme points, offering more frequent signals focusing on immediate market movements.
How is it calculated?
This filter identifies significant price points within a specified dynamic range by applying linear regression to the absolute deviation of the range, smoothing out fluctuations, and determining the trend direction. The algorithm then normalizes the data and searches for extreme points.
⚪ External AI filter
The external AI filter allows traders to incorporate two external sources as signal filters. This feature is particularly useful for refining their signal accuracy with additional data inputs.
External sources can include any indicator applied to your TradingView chart that produces a plot as an output, such as a moving average, RSI, supertrend, MACD, etc. Traders can use these indicators of their choice to set filters for screening signals within the strategy.
This approach offers traders increased flexibility to select filters that align with their trading style. For instance, one trader might prefer to take trades when the price is above a moving average, while another might opt for trades when the MACD is below the MACD signal line. These external filters enable traders to choose options that best fit their trading strategies. See the example below. Note that the input sources for the External AI filter can be any indicator applied to the chart, and the input source per se does not make this strategy unique. The AI filter takes the selected input source and applies our function to it. So, if a trader selects RSI as an input filter, RSI is not unique, but how the source is computed within the AI functions is.
How is it calculated?
Once the external filters are selected and enabled within the settings panel, our AI function is applied to enhance the filter's ability to execute trades, even when the set conditions of the filter are not met. For instance, if a trader wants to take trades only when the price is above a moving average, the AI filter can actually execute trades even if the price is below the moving average.
The filter works by combining k-nearest Neighbors (KNN) with Geometric Brownian Motion (GBM) involves first using GBM to model the historical price trends of an asset, identifying patterns of drift and volatility. KNN is then applied to compare the current market conditions with historical instances, identifying the closest matches based on similar market behaviors. By examining the drift values of these nearest historical neighbors, KNN predicts the current trend's direction.
The AI adaptability value is a setting that determines how flexible the AI algorithm is when applying the external AI filter. Setting the adaptability to 10 indicates minimal adaptability, suggesting that the bot will strictly adhere to the set filter criteria. On the other hand, a higher adaptability value grants the algorithm more leeway to "think outside the box," allowing it to consider signals that may not strictly meet the filter criteria but are deemed viable trading opportunities by the AI.
█ Examples
In this example, the RSI is used to filter out signals when the RSI is below the smoothing line, indicating that prices are declining.
Note that the external filter is specifically designed to work with either 'LONG ONLY' or 'SHORT ONLY' modes; it does not apply when the bot is set to trade on 'BOTH' modes. For 'LONG ONLY' positions, the filter criteria are met when source 1 is greater than source 2 (source 1 >= source 2). Conversely, for 'SHORT ONLY' positions, the filter criteria require source 1 to be less than source 2 (source 1 <= source 2).
Examples of Filter Usage:
Long Signals: To receive long signals when the closing price is higher than a moving average, set Source 1 to the 'close' price and Source 2 to a moving average value. This setup ensures that signals are generated only when the closing price exceeds the moving average, indicating a potential upward trend.
█ Settings
⚪ Set Timeframe
Choosing the correct entry and exit timeframes is crucial for the bot's performance. The general guideline is to select a timeframe that is higher than the one currently displayed on the trading chart but still relatively close in duration. For instance, if trading on a 1-minute chart, setting the bot's Timeframe to 5 minutes is advisable.
⚪ Entry
Traders have the flexibility to configure the bot according to their trading strategy, allowing them to choose whether the bot should engage in long positions only, short positions only or both. This customization ensures that the bot aligns with the trader's market outlook and risk tolerance.
⚪ Pyramiding
Pyramiding functionality is available to enhance the bot's trading strategy. If the current position experiences a drawdown by a specified number of points, the bot is programmed to add new positions to the existing one, potentially capitalizing on lower prices to average down the entry cost. To utilize this feature, access the settings panel, navigate to 'Properties,' and look for 'Pyramiding' to specify the number of times the bot can re-enter the market (e.g., setting it to 2 allows for two additional entries).
⚪ Risk Management
The bot incorporates several risk management methods, including a regular stop loss, trailing stop, and risk-reward-based stop loss and exit strategies. These features assist traders in managing their risk.
Stop Loss
Trailing Stop
⚪ Trading on specific days
This feature allows trading on specific days by setting which days of the week the bot can execute trades on. It enables traders to tailor their strategies according to market behavior on particular days.
⚪ Alerts
Alerts can be set for entry, exit, and risk management. This feature allows traders to automate their trading strategy, ensuring timely actions are taken according to predefined criteria.
█ How is Crypto Punk calculated?
The Crypto Punk Bot is a trading bot that utilizes a combination of price action analysis and elements inspired by Geometric Brownian Motion (GBM) to generate buy and sell signals for cryptocurrencies. The bot focuses on analyzing the difference between high and low prices over various timeframes, alongside estimates of drift (trend) and volatility derived from GBM principles.
Timeframe Analysis for Price Action
The bot examines multiple timeframes (e.g., daily, weekly) to identify the range between the highest and lowest prices within each period. This range analysis helps in understanding market volatility and the potential for significant price movements. The algorithm calculates the trading range by applying maximum and minimum functions to the set of prices over your selected timeframe. It then subtracts these values to determine the range's width. This method offers a quantitative measure of the asset's price volatility for the specified period.
Estimating Drift (Trend)
The bot estimates the drift component, which reflects the underlying trend or expected return of the cryptocurrency. The algorithm does this by estimating the drift (trend) using Geometric Brownian Motion (GBM), which involves determining an asset's average rate of return over time, reflecting the asset's expected direction of movement.
Estimating Volatility
Volatility is estimated by calculating the standard deviation of the logarithmic returns of the cryptocurrency's price over the same timeframe used for the drift calculation. Geometric Brownian Motion (GBM) involves measuring the extent of variation or dispersion in the returns of an asset over time. In the context of GBM, volatility quantifies the degree to which the price of an asset is expected to fluctuate around its drift.
Combining Drift and Volatility for Signal Generation
The bot uses the calculated drift and volatility to understand the current market conditions. A higher drift coupled with manageable volatility may indicate a strong upward trend, suggesting a potential buy signal. Conversely, a low or negative drift with increasing volatility might suggest a weakening market, triggering a sell signal.
█ Strategy Properties
This script backtest is done on the 1 hour chart Bitcoin, using the following backtesting properties:
Balance (default): 10 000 (default base currency)
Order Size: 10% of the equity
Commission: 0.05 %
Slippage: 500 ticks
Stop Loss: Risk Reward set to 1
These parameters are set to provide an accurate representation of the backtesting environment. It's important to recognize that default settings may vary for several reasons outlined below:
Order Size: The standard is set at one contract to facilitate compatibility with a wide range of instruments, including futures.
Commission: This fee is subject to fluctuation based on the specific market and financial instrument, and as such, there isn't a standard rate that will consistently yield accurate outcomes.
We advise users to customize the Script Properties in the strategy settings to match their personal trading accounts and preferred platforms. This adjustment is crucial for obtaining practical insights from the deployed strategies.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Ninja Trend v2Ninja Trend V2 is best for swing, day trading and scalping using higher timeframe bias and executing in the lower timeframes. Uses MACD for the overall bias and paints a Heikin-Ashi chart.
Settings:
Firstly, go to chart settings, check (tick) the body, uncheck borders and wicks.
Secondly, go to the script settings and input the following;
Source close
Fast moving average 7
Slow moving average 13
Signal length 4
For day trading and scalping, change the script settings timeframe to 15 minutes and use a smaller chart timeframe (M5 or M1)
For swinging change the script settings timeframe to Daily and use H4 chart timeframe.
Behind the code:
When the higher timeframe MACD histogram crosses and closes above zero line, script goes to neutral and paints grey bars waiting for the signal line to cross and close above the zero line and then paints green bars and a buy signal is generated.
When the higher timeframe MACD histogram crosses and closes below zero line, script goes to neutral and paints grey bars waiting for the signal line to cross and close below the zero line and then paints red bars.
Advantage of this is to filter out the chart noise by painting Heikin Ashi charts.
Signals:
Grey means neutral. No entries should be made.
Red means sells only. And then hold until the trend changes to green or use your desired TP and SL.
Green means buys only. And then hold until the trend changes to red or use your desired TP and SL.
HTF CandlesHTF Candles Indicator (High Time Frame Candles for Low Time Frame Charts)
Overview:
This indicator plots High Time Frame (HTF) candle boxes on Lower Time Frame (LTF) charts. The purpose is to provide traders with a visual representation of (HTF) candlestick movements on a lower timeframe (LTF) within a specified interval.
Usage:
Traders can utilize this indicator to gain insights into HTF candle movements on LTF charts. It helps in identifying the range, direction, and bodies of candles from a higher timeframe perspective.
HTF Candle Box Formation:
The script identifies the start of a new interval on the HTF by monitoring changes in the specified timeframe (Interval).
For each new interval, it records key data points, including the open, high, low, and bar index.
The indicator then uses this information to draw a box on the LTF chart, encapsulating the HTF candle's high and low.
Candle Body Representation:
Users can choose to include the candle body in the box (BodyCandleBox).
If selected, the script draws an additional box representing the HTF candle body, from the open to the previous bar's close.
Color Customization:
Traders can customize box colors for long and short candles on the HTF.
Boxes can be transparent or filled with a specified color.
Multiple Timeframes:
The script supports multiple timeframes simultaneously, allowing traders to overlay HTF candle boxes from different intervals on the same chart.
Configurable options (Interval, Interval1, Interval2) provide flexibility in selecting additional timeframes.
Note:
Understanding the visual representation of HTF candles on LTF charts can aid traders in making more informed decisions, especially when considering the interplay between different timeframes.
Horizontal Lines from Current PriceThis indicator will help traders track price fluctuations in smaller time frames more conveniently than ever before.
Here's how it works:
Starting from the current price, the indicator will draw horizontal lines spaced 10% apart.
Now, whenever zooming in or out of the chart, traders can visually determine the level of price volatility more easily.
Additionally, we also provide volume display (measured in USD) at the current candle position to assist traders in keeping track of market momentum more closely.
Installation guide for indicators:
After installing the indicator, make sure that the indicator is merged with the price chart.
Secondly, ensure that the scale bar of the indicator merges with the scale bar of the price chart.
Multi-Timeframe RSI Tracker by Ox_kaliThis script, is trend Tracker that serves as an analytical tool for assessing market trends through the lens of the Relative Strength Index (RSI) across multiple timeframes. It caters to individuals who require a detailed examination of market dynamics, leveraging the RSI to gauge the strength and direction of market momentum.
Functionality Overview:
Multi-Timeframe Analysis: The script evaluates the RSI across an array of timeframes, from 1 minute up to 1 week. This diverse range allows for a comprehensive view of market trends, accommodating strategies that span from intraday to long-term analysis.
RSI Trend Interpretation: It utilizes the RSI to determine market trends. Specifically, an RSI value above 50 signals a bullish trend, indicating that positive momentum is prevailing. Conversely, an RSI below 50 suggests a bearish trend, marking a period of negative momentum. This simple yet effective method provides a quick way to assess the market’s direction.
Customization and Flexibility: Users can customize the appearance of trend lines with different colors to distinguish between bullish and bearish trends easily. Furthermore, the script includes options to select which timeframes are displayed, allowing users to tailor the analysis to their specific needs.
Average Trend Indicator: A important feature is the calculation of an average trend across all selected timeframes. This aggregated trend gives a summarized view of the overall market direction, offering an additional layer of insight.
Adjustments and Enhancements:
User-Controlled Settings: Beyond the pre-defined color themes (Normal, Modern, Classic, Robust, Accented, Monochrome), the script introduces a user-defined option for maximum customization. This feature empowers users to set their preferred colors for various trend conditions.
Label Positioning and RSI Period Customization: The script provides inputs for adjusting label positions and setting the RSI period, enabling a personalized and clear charting experience.
Detailed Timeframe Analysis: The inclusion of a wide range of timeframes ensures that users can conduct a detailed examination of market behaviors, facilitating informed decision-making.
Operational Note:
The Multi-Timeframe RSI Tracker is a tool designed to supplement market analysis within a comprehensive trading strategy. It is crucial for users to integrate this tool within a framework that includes risk management and to familiarize themselves with its functionalities through testing and practice. By offering a detailed perspective on market trends through RSI analysis, this script by Ox_kali provides valuable insights, aiding users in navigating the complexities of the financial markets with an informed approach.
Please note that the MTEMA-Tracker is not a guarantee of future market performance and should be used in conjunction with proper risk management. Always ensure that you have a thorough understanding of the indicator’s methodology and its limitations before making any investment decisions. Additionally, past performance is not indicative of future results.
Other TimeFrame Candle DisplayThis indicator is designed to provide insight into the current candle of a selected timeframe, including the start time of that candle. For instance, if you're viewing a 15-minute chart but wish to observe the latest daily candle's behavior, this indicator can be particularly useful. It allows for an understanding of not just the price action within your current viewing timeframe but also offers a broader perspective by incorporating higher timeframe data into your analysis. Should you have any questions or require further clarification on how to use this indicator, please don't hesitate to ask.
Rolling Strategic AVWAPThe Rolling Strategic AVWAP gives you the ability to have the standard AVWAP indicators applied across all charts in all timeframes. There is no manual intervention necessary to keep all the standard VWAPs up to date. This indicator is written so that all weekends and trading holidays are taken into account so you never have any gaps or days where the indicator isn't working.
Standard rolling AVWAP indicators:
Daily
2-day
3-day
Week-to-Date
Month-to-Date
Year-to-Date
Additionally I have supplied several custom labeled AVWAP indicators that the user can adjust the date themselves
Custom Fixed AVWAP indicators:
Prior Week-to-Date
Prior Month-to-Date
Prior Year-to-Date
Fed rate decision
Inflation report
GDP report
Jobs report
3 more labeled Custom1-3
These custom locations will allow the user to anchor the VWAP to meaningful dates and times in the market. Often there are large moves due to global macro events that can give the trader an edge by referencing the VWAP to the date and time.
Labels and Display
There are options to turn on and off any of the AVWAPs, as well as turning on and off the display labels below the candles.
Triple MA HTF Indicator - Dynamic SmoothingThe indicator version of the "Triple MA HTF Strategy - Dynamic Smoothing" strategy script. In summary the indicator consist of 3 higher time frame moving averages. In which the highest timeframe is used for confirmation on the trend (filter). Moving average 1 and 2 are used to enter and exit the trade (crossover / crossunder). The main principle is to detect momentum when the faster MA 1 crosses the slower MA 2 and only trade with the trend (MA3). The dynamic smoothing in the code makes the indicator suitable to trade on lower tramecharts. The indicator script comes with the following features:
options for different types of MA.
options to choose from different timeframes & select # bars of that timeframe to calculate the MA value.
visualizations of the MA using Dynamic Smoothing calculations on lower timecharts. Note that the chart opened should be lower than the selected timeframes in the configurations.
Alerts for entry long, shorts and exits.
For more details on the script and possibility for backtesting the Triple MA HTF indicator I refer to my earlier published strategy script:
It's All MidsIt's All Mids extends mid-lines of a candle forward until the price revisits (covers) the midpoint. A higher timeframe can be used for the mid candles than the chart (but not the reverse). There is no data to support this is a meaningful concept.
While this script is intended to be functional, correct and useful it is important that you understand that not only is this the first script I've written but also that "I am an idiot."(tm) Using a stranger's indicator is questionable, but using a self-proclaimed idiot's indicator to trade real money is unquestionably stupid. Don't be like me. Be smart. You are responsible for what you do with this script. The source is unlocked, so feel free to copy and modify it.
Terms:
- A "mid" is the (high+low)/2 price of a previous candle that has not been auctioned since the candle close. All candles will initially have a mid unless they close on exactly their midpoint.
- A "covered" mid is a mid for which the midpoint has been auctioned since the candle closed. There is an option to display a number of these so that when a mid is hit the line doesn't just disappear from the chart and you forget what you were doing.
- A "low priority" mid is the mid of a candle which was auctioned in the previous candle(s) (chart's timeframe, not the mid's timeframe)-- chopchopchop. I have no data to show that this matters, or really, that anything matters at all.
My use: I chart a 60m mid on ES on a 5 or 15 minute chart. I am lying. I use it for something else but if I tell you that then I give away my incredible alpha that has made me so rich I can spend my time crying in corner about all the money I've lost.
Triple MA HTF strategy - Dynamic SmoothingThe triple MA strategy is a simple but effective method to trade the trend. The advantage of this script over the existing triple MA strategies is that the user can open a lower time frame chart and select higher time frame inputs for different MA types mainting the visibility on the chart. The dynamic smoothing code makes sure the HTF trendlines are not jagged, but a fluid line visiable on the lower time frame chart. The script comes with a MA crossover and crossunder strategy explained below.
Moving Averages (MA) Crossover for Entry:
Long Entry: A long entry signal is triggered when the moving average line 1 crosses above the moving average line 2. This crossover indicates a potential shift in market sentiment towards the upside. However, to validate this signal, the strategy checks if the moving average 3 on a higher time frame (eg. 4 hour) is in an upward trend. This additional filter ensures that the trade aligns with the prevailing trend on a broader time scale, increasing the probability of success.
Short Entry: Conversely, a short entry signal occurs when the moving average line 1 crosses below the moving average line 2. This crossover suggests a possible downturn in market momentum. However, for a short trade to be confirmed, the strategy verifies that the moving average 3 on the higher time frame is in a downward trend. This confirmation ensures that the trade is in harmony with the overarching market direction.
Exit from Long Position: The strategy triggers an exit signal from a long position when the moving average line 1 crosses below the moving average line 2. This crossover indicates a potential reversal in the market trend, prompting the trader to close their long position and take profits or minimize losses.
Exit from Short Position: Similarly, an exit signal from a short position occurs when the moving average line 1 crosses above the moving average line 2. This crossover suggests a potential shift in market sentiment towards the upside, prompting the trader to exit their short position and manage their risk accordingly.
Features of the script
This Triple MA Strategy is basically the HTF Trend Filter displayed 3 times on the chart. For more infomation on how the MA with dynamic smoothing is calculated I recommend reading the following script:
For risk management I included a simple script to opt for % of eauity or # of contracts of in the instrument. For explanation on how the risk management settings work I refer to my ealier published script:
The strategy is a simplified example for setting up an entry and exit logic based on multiple moving avarages. Hence the script is meant for educational purposes only.
Timeframe Accumulation Analyzer (by TradersTavern)Indicator Name: Timeframe Accumulation Analyzer (by TradersTavern)
Overview:
The "Timeframe Accumulation Analyzer" by TradersTavern offers traders a sophisticated tool for comprehensive market analysis. With its intuitive interface and powerful features, this indicator enables traders to gain deep insights into market dynamics across multiple timeframes.
Features:
Multi-Timeframe Analysis: The Timeframe Accumulation Analyzer allows traders to delve into market data across various time intervals simultaneously, uncovering hidden patterns and trends.
Customization Options: Traders can tailor the indicator to their preferences with customizable settings, including line length, timeframe selection, line width, label display settings, and visual offsets for labels.
Visual Clarity: The indicator's intuitive design provides clear visualization of accumulation areas, empowering traders to make informed decisions with ease.
Contextual Insights: Customizable labels offer additional context by displaying pertinent information about each timeframe's accumulation points, enhancing traders' understanding of market dynamics.
Example Strategies and Trade Plans:
Trend Confirmation Strategy:
Objective: Confirm the strength of prevailing trends across multiple timeframes.
Trade Plan: Analyze accumulation areas across different timeframes to validate the continuity of trends.
Risk Management: Implement stop-loss orders based on accumulation levels or support/resistance zones.
Take Profit: Utilize multiple take-profit targets or trail the stop-loss to capture trend extensions.
Reversal Detection Strategy:
Objective: Identify potential reversal points by analyzing accumulation patterns.
Trade Plan: Look for divergence between price action and accumulation levels as possible reversal signals.
Risk Management: Place stop-loss orders beyond recent accumulation areas or significant pivot points.
Take Profit: Set profit targets based on historical support/resistance levels or Fibonacci extensions.
Breakout Confirmation Strategy:
Objective: Identify accumulation areas preceding breakout movements for confirmation.
Trade Plan: Wait for price to break above the highest accumulation point on the shortest timeframe for confirmation.
Risk Management: Place stop-loss orders below the lowest accumulation point or recent swing low.
Take Profit: Set profit targets based on the range of the breakout or trail the stop-loss to capture extended moves.
[TTM] HTF Candle Overlay (Power of 3)🌟 Overview 🌟
Introducing the all-new Higher Timeframe Candle Overlay indicator, crafted from the foundational principles of AMD (Accumulation, Manipulation, and Distribution) and PO3 (Power of 3). Elevate your trading strategy with this innovative tool, designed to provide deeper insights into market dynamics.
Explore ICT's resources for detailed insights on leveraging this in your trading strategy.
🌟 Features 🌟
Display up to 20 historical candles from any timeframe higher than the current chart's timeframe.
Auto Timeframe feature dynamically sets the higher timeframe based on the current chart's timeframe. For instance, on a 15-minute chart, you can display 1-hour candles, and on a 1-hour chart, you can display 4-hour candles, eliminating the need to update the timeframe settings manually.
Load multiple instances of the indicator with different timeframes (e.g., 4H and Daily, as shown in the preview image).
Option to Show/Hide Candle open line.
Option to Show/Hide Candle Timeframe.
Option to Show/Hide each candle's time/day.
🌟 Coming Soon 🌟
Fair value gaps highlighted on HTF overlay candles.
Happy Trading!
TheTickMagnet
MACD + MA HTF Strategy - Dynamic SmoothingMACD + MA HTF Strategy - Dynamic Smoothing
The MACD alone generally gives too many false signals and is therefore often used in combination with different indicators. The basic idea to combine the MACD with a moving average on a higher time frame is a commonly used technique to only enter Longs in a uptrend and only Shorts in a downtrend while trading on lower timeframe charts. However, the main issue in many strategy scripts is that the HTF indicator is not visible on lower timecharts. With this strategy example I used the Dynamic Smoothing code to visualise the HTF MA filter to display on you lower timechart. This way it is easier to optimize the strategy settings to the instrument chart.
Orginality and Usefulness - Dynamic Smoothing
Visualizing a higher time frame on a lower timechart often gives jagged lines on your chart. As the calculation is done on less bars, compared to the bars you have open on your timechart. The dynamic smoothing factor is derived by taking the ratio of minutes of the higher time frame to the current time frame. This ensures the moving average remains fluid and consistent across different time frames, eliminating 'jagged' lines on your chart. This new MA value is then used as HTF filter on top of the MACD entry settings. Always make sure the time chart is equal or lower than the timeframe settings in the configuration settings. The intention of the script is to visualise the higher time frame confirmations while trading on a lower timechart.
Code example how to achieve Dynamic Smoothing:
// Get minutes for current and higher timeframes
// Function to convert a timeframe string to its equivalent in minutes
timeframeToMinutes(tf) =>
multiplier = 1
if (str.endswith(tf, "D"))
multiplier := 1440
else if (str.endswith(tf, "W"))
multiplier := 10080
else if (str.endswith(tf, "M"))
multiplier := 43200
else if (str.endswith(tf, "H"))
multiplier := int(str.tonumber(str.replace(tf, "H", "")))
else
multiplier := int(str.tonumber(str.replace(tf, "m", "")))
multiplier
// Get minutes for current and higher timeframes
currentTFMinutes = timeframeToMinutes(timeframe.period)
higherTFMinutes = timeframeToMinutes(TimeFrame_Trend)
// Calculate the smoothing factor
dynamicSmoothing = math.round(higherTFMinutes / currentTFMinutes)
MA_Value_Smooth = ta.sma(MA_Value_HTF, dynamicSmoothing)
Complete Strategy
The MACD and HTF moving average is used to determine when to enter a new position. However a strategy should consider more factors than only the timing of entering a trade. To complete the strategy I included:
an option to choose from different MA types per indicator
a Risk Management Tool
a Take Profit Logic
a Trailing stop loss
a Hard Stoploss
a visual representation of TP and SL
This is merely an example how to structure a strategy and many different setups are possible.
The features in this script are explained below:
Different MA types
The script supports various MA types like EMA, SMA, DEMA, TEMA, WMA and HMA. You can select the MA type and different timeframe to your liking.
Risk Management Tool
Traders can choose to allocate their position size based on a percentage of equity or a fixed number of contracts. This feature ensures prudent risk management and helps traders align their position sizes with their risk tolerance. In the strategy -0.5 is equal to 50% of equity and 1.5 is 150% of equity used. Make sure to align the % of equity with your maxdrawn results with backtesting. Personally I don't want higher max drawdowns than 15%. For the strategy results the script considers 0.05 commission rate on each trade, to stay conservative. For a more detailed explanation I refer to my earlier published tradingviewblog about risk management:
Take Profit Logic
The take profit logic in this script is designed for optimization, offering three distinct exit levels. Traders can customize these levels based on their risk appetite. The script allows adjustment of both the percentage take profit level and the position size, catering to individual trading strategies and objectives. The default settings closes 33% of the position when TP target is hit. The TP levels are simply calculated by inputting a % of of the entryprice.
Trailing Stop and Hard Stoploss
To mitigate downside risks and protect profits, the script incorporates a well-thought-out trailing stop mechanism based on the Average True Range (ATR). This dynamic trailing stop adapts to market volatility, allowing traders to secure gains while letting profitable positions run. Additionally, to prevent significant losses, a fixed stop loss is implemented, providing an added layer of protection.
Visual Representation of Take Profit and Stoploss Levels
For enhanced visualization, take profit and stoploss levels are displayed on the chart. Take profit levels are depicted with green lines, providing a clear indication of potential exit points. Conversely, the trailing stop loss is presented by the red line, serving as visual cues for risk management. Visualizing indicators makes is easier to optimize settings to your liking.
Ideal Settings and Accessibility
This script is intended to be used on lower timeframe charts like 10 to 30 minutes. You can Align the MACD entry settings equal to your opened timechart or use a slightly higher timeframe. For the MA trend filters, higher timeframe settings such as 30 min, 1 hour, 4 hours, or 1 day are recommended for trading the trend.
Disclaimer
Trading involves significant risk and may not be suitable for all investors. The information provided in this script is for educational purposes only and should not be considered as financial advice. Past performance is not indicative of future results. By using this script, you acknowledge that you understand and accept these risks.
MTF VWAPThis indicator is an enhanced version of the traditional VWAP, providing traders with multiple timeframe views, automatic session anchoring, and customization options for optimized technical analysis.
Key Features:
1. Multiple Timeframes, One View : Visualize Daily, Weekly, Monthly, and Yearly VWAP calculations simultaneously on a single chart.
2. Automatic Anchoring : The indicator intelligently auto-anchors each VWAP calculation to the start of its respective session. This ensures accurate readings and streamlines your analysis by eliminating the need for manual adjustments.
3. Customizability : Tailor the appearance of the indicator with fully customizable colors and the ability to select your preferred price source (e.g., high, low, close, hlc3, hlcc4, or a custom one).
Relative Strength Scoring SystemRelative Strength Scoring System :
Important prerequisite :
This indicator can be loaded on any forex chart, i.e. a currency pair, but must not be loaded on any other asset due to certain market closures.
The chart timeframe must be less than or equal to the trading timeframe, which is the indicator's first parameter. A timeframe equal to that of the "Trading Timeframe" parameter is preferable.
Introduction :
This indicator measures the relative strength of a currency against all other currencies using spread formulas. It gives an indication of which currencies are bullish, neutral or bearish. The ultimate aim of this indicator is to find out which pair will generate a higher probability of gain than the others by pairing the most bullish pair with the most bearish pair.
Spread formulas :
To find the relative strength of a currency compared with others, we use the following spreads formulas :
USD = (FX:USDJPY/100+SAXO:USDEUR+FX:USDCHF+SAXO:USDGBP+FX:USDCAD+SAXO:USDAUD+FX_IDC:USDNZD)/7
JPY = (SAXO:JPYUSD/100+FX_IDC:JPYAUD/100+FX_IDC:JPYCAD/100+FX_IDC:JPYNZD/100+FX_IDC:JPYCHF/100+SAXO:JPYEUR/100+FX_IDC:JPYGBP/100)/7
CHF = (FX:CHFJPY/100+SAXO:CHFUSD+SAXO:CHFEUR+FX_IDC:CHFGBP+FX_IDC:CHFCAD+SAXO:CHFAUD+FX_IDC:CHFNZD)/7
EUR = (FX:EURJPY/100+FX:EURUSD+FX:EURCHF+FX:EURGBP+FX:EURCAD+FX:EURAUD+FX:EURNZD)/7
GBP = (FX:GBPJPY/100+FX:GBPUSD+FX:GBPCHF+SAXO:GBPEUR+FX:GBPCAD+FX:GBPAUD+FX:GBPNZD)/7
CAD = (FX:CADJPY/100+SAXO:CADUSD+FX:CADCHF+FX_IDC:CADGBP+SAXO:CADEUR+FX_IDC:CADAUD+FX_IDC:CADNZD)/7
AUD = (FX:AUDJPY/100+FX:AUDUSD+FX:AUDCHF+SAXO:AUDGBP+FX:AUDCAD+SAXO:AUDEUR+FX:AUDNZD)/7
NZD = (FX:NZDJPY/100+FX:NZDUSD+FX:NZDCHF+SAXO:NZDGBP+FX:NZDCAD+SAXO:NZDAUD+SAXO:NZDEUR)/7
CRYPTO = (BITSTAMP:BTCUSD+BITSTAMP:ETHUSD+BITSTAMP:LTCUSD+BITSTAMP:BCHUSD)/4
Timeframes :
As mentioned in the prerequisites, the chart timeframe must not be greater than the trading timeframe. The latter corresponds to the timeframe chosen by the trader to enter a position, and is the indicator's first parameter. Once this has been chosen, the algorithm selects the timeframes of the "Trend" and "Velocity" charts. Here's how it allocates them :
Trading TF => ("Velocity TF", "Trend TF")
"5min" => ("15min ", "60min")
"15min" => ("60min ", "4h")
"30min" => ("2h ", "8h")
"60min" => ("4h ", "12h")
"4h" => ("12h", "1D")
"6h" => ("1D", "3D")
"8h" => ("1D", "4D")
"12h" => ("2D", "1W")
"1D" => ("3D", "1W")
Trend Scoring System :
When the timeframe of the trend graph has been allocated, the algorithm will establish this graph's score using three criteria :
Trend chart pivot points: if the last two pivots, high and low, are increasing, the score is 1; if they are decreasing, the score is -1; else the score is 0.
SMA: if its slope is increasing with a candle strictly above the SMA value, the score is 1; if its slope is decreasing with a candle strictly below it, the score is -1; otherwise, it is 0.
MACD: if the MACD is positive, the score is 1, if it is negative, the score is -1; else it's 0.
We then sum the scores of these three criteria to find the trend score.
Velocity Scoring System :
In the same way, we analyze the score of the "velocity" graph with its corresponding timeframe using three criteria :
The EMA: if its slope is increasing with a candle strictly above the EMA value, the score is 1; if its slope is decreasing with a candle strictly below it, the score is -1; otherwise, it is 0.
The RSI: if the RSI's EMA has an increasing slope with an RSI strictly greater than the value of this EMA, the score is 1; and if the RSI's EMA has a decreasing slope with an RSI strictly less than this EMA, the score is -1; otherwise it is 0.
SAR parabolic: if the SAR is below the price, the score is 1; if it is above the price, the score is -1.
We then sum the scores of these three criteria to find the velocity score.
Relative Strength Scoring System :
Once the trend score and velocity score have been calculated, we determine the relative strength score of each currency using the following algorithm :
If trend score >=2 and velocity score >=2, the currency is bullish.
If trend score <=2 and velocity score <=2, currency is bearish
If (trendScore>=2 or velocityScore>=2) and (trendScore=1 or velocityScore=1) the currency is not yet bullish
If (trendScore<=2 or velocityScore<=2) and (trendScore=-1 or velocityScore=-1) the currency is not yet bearish.
Otherwise the currency is neutral
Parameters :
Trading Timeframe: the trading timeframe chosen by the trader for which he makes his position entry and exit decisions. Default is 1h
Pivot Legs: Parameter used for the chart "Trend" setting the pivot strength to the right and left of high/low. Default is 2
SMA Length: SMA length of the chart "Trend". Default is 20
MACD Fast Length: Length of the MACD fast SMA calculated on the chart "Trend". Default is 12
MACD Slow Length: Length of the MACD slow SMA calculated on the chart "Trend". Default is 26
MACD Signal Length: Length of the MACD signal SMA calculated on the chart "Trend". Default is 9
EMA Length: EMA length of the "Velocity" graph. Default is 13
RSI Length: RSI length of the "Velocity" graph. Default is 14
RSI EMA Length: Length of the RSI EMA. Default is 9
Parabolic SAR Start: Start of the SAR parabola in the "Velocity" graph. Default is 0.02
Parabolic SAR Increment: Increment of the SAR parabola in the "Velocity" graph. Default is 0.02
Parabolic SAR Max: Maximum of the SAR parabola in the "Velocity" graph. Default is 0.2
Conclusion :
This indicator has been designed to determine the relative strength of the major currencies against each other. The aim is to know which pair to trade at the right time in order to maximize the probability of a successful trade. For example, if the USD is bullish and the NZD bearish, we'll short the NZDUSD pair.
Enjoy this indicator and don't forget to take the trade ;)
BES NY Midnight OpenDotted horinzotal line that indicates today's NY opening price, considering opening at 00 NY time
Vertical line indicates the 00 NY time
Asset capital flows - multi-timeframeIndicator for use on the any timeframe to show net capital flows into an asset of your choosing, to allow the user to track potential buy and selling pressure.
Net volume is derived from lower timeframe data (5 minute chart by default for daily timeframe) and multiplied by the average price for the same LTF period (defined by the mean of the high, low + close values). This gives the net capital inflow or outflow for the asset per bar. The cumulative sum of all previous bars is also calculated each period/day and available to be plotted as a line chart.
This might be preferred to other similar indicators as it uses low time frame bars to calculate the up/down volumes and price, thus accuracy is improved.
It should be borne in mind that the values of capital flows displayed are specific to the asset and the volume/price feed origin (ie the listed exchange used), and thus correlated with the total underlying flows, but there are other external factors influencing the volume/price data feed beyond the buy/sell volume of the specified exchange (such as spot and futures trading on other locations/exchanges)
Candlestick Bias OscillatorCandlestick Bias Oscillator (CBO)
The Candlestick Bias Oscillator (CBO) with Signal Line is a pioneering indicator developed for the TradingView platform, designed to offer traders a nuanced analysis of market sentiment through the unique lens of candlestick patterns. This indicator stands out by merging traditional concepts of price action analysis with innovative mathematical computations, providing a fresh perspective on trend detection and potential market reversals.
Originality and Utility
At the core of the CBO's originality is its method of calculating the bias of candlesticks. Unlike conventional oscillators that may rely solely on closing prices or high-low ranges, the CBO incorporates both the body and wick of candlesticks into its analysis. This dual consideration allows for a more rounded understanding of market sentiment, capturing both the directional momentum and the strength of price rejections within a single oscillator.
Mathematical Foundations
1. Body Bias: The CBO calculates the body bias by assessing the relative position of the close to the open within the day's range, scaled to a -100 to 100 range. This calculation reflects the bullish or bearish sentiment of the market, based on the day's closing momentum.
Body Bias = (Close−Open)/(High−Low) x 100
Wick Bias: Similarly, the wick bias calculation takes into account the lengths of the upper and lower wicks, indicating rejection levels beyond the body's close. The balance between these wicks is scaled similarly to the body bias, offering insight into the market's indecision or rejection of certain price levels.
Wick Bias=(Lower Wick−Upper Wick)/(Total Wick Length) × 100
3. Overall Bias and Oscillator: By averaging the body and wick biases, the CBO yields an overall bias score, which is then smoothed over a user-defined period to create the oscillator. This oscillator provides a clear visual representation of the market's underlying sentiment, smoothed to filter out the noise.
4. Signal Line: A secondary smoothing of the oscillator creates the signal line, offering a trigger for potential trading signals when the oscillator crosses this line, indicative of a change in market momentum.
How to Use the CBO:
The CBO is versatile, suitable for various trading strategies, including scalping, swing trading, and long-term trend following. Traders can use the oscillator and signal line crossovers as indications for entry or exit points. The relative position of the oscillator to the zero line further provides insight into the prevailing market bias, enabling traders to align their strategies with the broader market sentiment.
Why It Adds Value:
The CBO's innovative approach to analyzing candlestick patterns fills a gap in the existing array of TradingView indicators. By providing a detailed analysis of both candle bodies and wicks, the CBO offers a more comprehensive view of market sentiment than traditional oscillators. This can be particularly useful for traders looking to gauge the strength of price movements and potential reversal points with greater precision.
Conclusion:
The Candle Bias Oscillator with Signal Line is not just another addition to the plethora of indicators on TradingView. It represents a significant advancement in the analysis of market sentiment, combining traditional concepts with a novel mathematical approach. By offering a deeper insight into the dynamics of candlestick patterns, the CBO equips traders with a powerful tool to navigate the complexities of the market with increased confidence.
Explore the unique insights provided by the CBO and integrate it into your trading strategy for a more informed and nuanced market analysis.
Raids ScannerAn extension from my Liquidity Raids indicator is this market-wide scanner where multiple (configured) pairs are scanned for raids on the configured timeframe and listed in the chart.
This is particularly useful if you wanna get an idea of where HTF liquidity has been taken over a basket of pairs of your choice. If you don't want to use the table and would just want to be alerted about the raid, then you can do that as well.
As of now, it can support up to 30 pairs, will add more if necessary.
NOTE: Computation may be limited in some plans which will result in timeouts (everything works well in premium though), you can deselect some pairs if/when it happens.
Multi-Time AVWAP_BEARConcept
Collaboration Highlight:
This was a collaboration with @Chart_School and @KioseffTrading Thank you to both, along with Ricardo Santos for his awesome library we used.
Overview
See how you view different time frame charts with one indicator and little to no adjustment.
Innovation:
The concept of using Anchored VWAP (AVWAP) with time events is a powerful technique in trading and technical analysis. Anchored VWAP differs from the traditional Volume Weighted Average Price (VWAP) by allowing traders to select a specific starting point or "anchor," from which the VWAP calculation begins. This approach is particularly useful for assessing price movements in relation to significant market events or specific periods of interest.
Utility and Flexibility:
Explaining the flexibility in turning on and off different time slices without much adjustment showcases a user-friendly design.
Key Uses and Benefits
Comparative Performance:
Anchoring the VWAP at the start of different time frames (e.g., weekly, monthly, quarterly) enables traders to compare the current price performance against previous periods. This comparison can highlight trends or shifts in trading momentum relative to past activity.
Support and Resistance Levels:
AVWAP lines can act as dynamic support and resistance levels. When anchored to significant time events, these levels gain additional relevance as they reflect the market's valuation of an asset since a notable point in time. Traders often watch for price interactions with these levels to make informed trading decisions.
Risk Management:
Anchored VWAP can serve as a benchmark for setting stop-loss orders or profit targets. By considering the price's relation to the AVWAP of a specific period or after a key event, traders can define exit points that are aligned with market-generated information.
Trend Confirmation: The direction and stability of the price relative to an anchored VWAP can indicate the strength of a trend. If the price consistently remains above an AVWAP anchored at a bullish event (or below for a bearish event), it may confirm the trend's continuation.
Further Reading
Educational Resource:
Becuase we are using Volume with a relation to price AVWAP is very powerful to show data that cannot be eye balled on its own. Brian Shannon's book "Maximum Trading Gains With Anchored VWAP - The Perfect Combination of Price, Time & Volume", is an excellent guide to best practices on how to use AVWAP to your advatage while trading. His book goes into depth about the best way to use this indicator to its fullest potencial.
Tips for Using This Indicator
Weekly / Monthly / Quarterly Settings:
All the settings for the lower timeframe charts are similar. Here is an example of seeing a Weekly AVWAP for 6 weeks, showing:
1. The start of the 6-week AVWAP is using a High Low Close source for the first candle of the 6 weeks.
2. The lines are colored "Red" for the AVWAPs.
3. The line thickness is "1".
Yearly Settings
Simlair to the other settings with the Yearly we give you a couple more options along with 3 years to toggle on and off. The idea was to allow the user to see which AVWAP most effected by price and quickly toggle them on and off to unclutter their chart.
Watch for how and if the labels over lap and choose the one you feel is most in play. In Shannon's Book he talks about "Hand off's" and "Pinches". These concepts are easy to spot with being able to see all the Major Time Events, then simply toggle off the one you dont need.
A great benefit to how we coded this script you can buzz through a watch list without having to re-adjust the Anchor points. This will save you time if following a basket of symbols and show coorlations in the overall market.
Secret Feature
When looking at these becuase the user doesn't need to hand plot the anchor points and we are fouced on major time slices, I encourge you to use the Trading View "Bar Replay" Feature. You think that you are missing a high or low AVWAP but what is happening is the indicator is re-plotting a level that is super hard to see, then you will see the hand-offs like Shannon discusses in his book. This blew me away while we were discussing it post development.
Conclusion
There are so many uses of how to use VWAP and therories on its best practice. We are only using "TIME EVENTS". For more ways to use AVWAP, I would encourge you to also handplot them with Trading View's new "Anchored VWAP", as seen in the standard toolbar.
Using your ideas along with this indicator i think its a powerful combination.
Also Check Out: allanster's - Anchored VWAP Pinch & Handoff, Intervals, and Signals
He has a great AVWAP script that incorporates many AVWAP ideas.
Timeframe PivotsUse this tool to plot open prices from any timeframe as a pivot level with the option to go advanced and turn on extensions (instructions below), which review the relationship between previous and current open prices to build range extensions up to six levels wide.
Please be aware extensions, nor vwap are not enabled by default! It is up to the user to determine how they wish to setup this indicator. Please read the full description for utilizing this indicator so that it's well known the complete feature set and understanding of how to enable additional plots, complete instruction is provided for all users below.
Default configuration example:
To enable extensions the user must open the indicator configuration by clicking the gear icon for "Timeframe Pivots", depending on screen resolution scrolling with mouse may need to occur in order to find the section labeled "Extensions", use the mouse or equivalent human interface device to check the checkbox to the right of the color plots and line type drop down.
Extensions enabled example:
Timeframe Selection
Timeframes available to the indicator are any timeframe the platform makes available to the user by default, or also if the TradingView user has higher tier plan to create custom timeframes - those should be available as well. To adjust timeframe the user must open the indicator configuration by clicking the gear icon for "Timeframe Pivots", depending on screen resolution scrolling with mouse may need to occur in order to find the input labeled "Timeframe", use the mouse or equivalent human interface device select the drop down and select timeframe suitable to users application.
How the extension width and extensions are calculated:
The exact process takes the new timeframe change open price calculates the difference between prior open, once that has been completed then it's divided in half to build extensions.
Code example:
Extension Width = (Open - Open ) / 2
How the extensions are calculated:
// +1 for positive extension, -1 for negative extension
(Extension Width * (Configured Multiplier * 1)) + Pivot Open Price
+1 Extension:
$5 * (1.0 * 1) + $400 = $405
-1 Extension:
$5 * (1.0 * -1) + $400 = $395
So it should be established how each projected extension, either positive or negative, is created.
Range bound market detection and notes:
One note regarding the ranges, sometimes the open prices of each period can be close in proximity to their predecessor, there's not enough range to build meaningful projections. In these situations this means the market is most likely range bound and prior range data is utilized to continue providing guidance. This addresses an issue with other pivot indicators that will instead blindly follow price and present useless pivot ranges.
It does this through detection of average half range widths, the last 14 ranges to be exact, if the current, (open - open / 2), half range width is smaller than the average, prior half range width will be used.
Code example:
// assume past half range widths are 10, 8, 9, 5, 14, 7, 7, 9, 10, 10, 4, 7, 7, 8
float v_halfRangeWidthToUseForExtensions = na
v_priorHalfRangeWidth = 10
v_avgHalfRangeWidth = 8.2 // past range widths sum = 115 / 14
v_newHalfRangeWidthToUseForExtensions = 2 // new open - open is tiny compared to avg
if v_newHalfRangeWidthToUseForExtensions < v_avgHalfRangeWidth
// replace new half range width with previous one
v_newHalfRangeWidthToUseForExtensions := v_priorHalfRangeWidth
In the code example above if the new half range width was above or equal to the rolling average, no adjustment would be made by the indicator.
VWAP
Additional feature of showing vwap, anchored to the same timeframe as the pivot, provides a trend and volume analysis within the confines of the pivots range.
The user must open the indicator configuration by clicking the gear icon for "Timeframe Pivots", scroll using mouse to the "VWAP" section and click the checkbox next to the "Source" field, past the color plots. They are not enabled by default!
The user can also add the bands for VWAP by clicking the checkbox next to the "Bands" field, past the color plots. They are not enabled by default!
VWAP calculations begin from open price of new timeframe change, then afterwards the "Source" set is utilized, the default is HLC3 which is standard for VWAP indicators.
Multiple Timeframe Analysis (MTFA)
It's simple to create a unique combination of favored timeframes for multiple timeframe analysis, consider daily, weekly and monthly combined analysis for powerful indications of market sentiment and directional bias.
Example MTFA demonstration:
Why was this created?
I created this while investigating the efficacy of open price ranges, it became apparent that these pivot ranges are some of the more price respecting pivots I've ever observed. I also grew tired of lack of price adherence to other pivot indicators widely available.
There exists a relationship between each timeframes open price in comparison to prior open price, if the market is willing to navigate to a prior lower open price from higher open price, it could be perceived as bearish and the extensions (if enabled as instructed above), could be suitable range based projections for future price movements.
Example comparison:
As can be seen, and there are many examples, where Timeframe Pivots provides more discreet levels and potential explanations for price movements.
Institutional Demand and Supply Indicator- Professional Zones V1*** Technical Analysis intro to Demand & Supply Zones:
Analyzing supply and demand has become a prevalent approach for day and swing traders engaged in equity, forex, and futures markets. The objective of studying supply and demand zones is to anticipate potential price pivots before they occur, providing traders with a strategic advantage. While various charting and trading strategies fall within the supply and demand framework, our emphasis will primarily be on Institutional Zones of Demand and Supply Imbalances, as highlighted by our TradingView indicator.
See the demstration for what Demand & Supply Zones inbalances may look like:
To start, let's deconstruct the mentioned expression. The term 'institutional' holds significant importance in our trading approach. As a retail trader, it's crucial to grasp that individuals like you and me have minimal influence over and impact on price movements in major markets. The daily price fluctuations are primarily driven by substantial transactions conducted by large institutions and hedge funds, involving substantial quantities of buying and selling in the equity market.
The presented chart illustrates the price dynamics of ES, representing the S&P500 E-mini futures.
See the Example below for Demand & Supply Zones:
Recognizing the pivotal role of institutions in influencing market prices is essential for comprehending the creation of supply and demand imbalances. This understanding is derived from an analysis of historical price movements.
Price action manifests in two primary forms: balanced and imbalanced. Balanced price action represents a flat, consolidative market movement characterized by a sideways overall direction. In contrast, imbalanced price action denotes a pronounced upward or downward shift in price. The critical insight lies in the fact that institutional demand and supply imbalances emerge when the market transitions from balanced to imbalanced price action. The following illustration provides an example of balanced price action.
Below is example that measure the strength/ weakness of Demand & Supply zones!!!!
The duration of consolidation directly influences the size of the demand/supply zone, with its strength gauged by the originating time frame. Each zone may emerge on various time frames, ranging from the largest on the 1-Month time frame to the smallest on the 30-Minute time frame. Automatic labeling of supply and demand zones occurs based on their respective time frames.
Weaker zones are associated with the 30-Minute time frame, indicating a formation period of merely two 30-minute candles. This limited time span restricts the opportunity for institutions to execute substantial orders, resulting in smaller bounces and rejections, typically lasting no more than a few days.
In contrast, larger zones like 1 Day, 1 Week, and 1 Month have the potential to instigate significant market swings lasting for weeks, months, or even years. It is imperative to consider not only the current placement of demand and supply zones but also the strength associated with each zone. Examining the instance of the market bottoming and reversing, it becomes evident that the demand zone was notably robust, being a powerful weekly zone.
These zones operate on an order-based principle, distinguishing them from standard trend-based support and resistance levels. Unlike conventional levels, a supply zone doesn't transform into demand when price action surpasses it, and vice versa. If the price action drops below demand or above supply, even by a mere $0.01, indicating that all buy orders have been fulfilled, the demand or supply zone is then removed from the chart.
While it is feasible to approach these zone breaks as continuation opportunities based on the ongoing significant price action, predicting the extent of price movement after breaking supply or demand during that phase remains uncertain. Nevertheless, drawing upon my years of experience in demand and supply, I've observed a tendency for the market to eventually gravitate toward the next viable demand zone if the current one breaks. This is because without a pivot induced by an institutional-created demand or supply imbalance, there often lacks sufficient participation to sustain a prolonged trend reversal.
Limitations for the Indicator:
TradingView has a few constraints that impact the functionality of the Professional Zones - Institutional Supply and Demand Imbalances indicator. The primary limitation arises from the data provided by TradingView to its users. A basic TradingView account grants access to only 5,000 candles of data. Therefore, users operating on a 1-minute time frame can view a maximum of 5,000 candles leading up to the current point. This is crucial because our advanced indicator analyzes historical price action to identify demand and supply zones, displaying them on your chart. Consequently, users on a 1-minute time frame can only observe zones formed within the last 5,000 candles. Older demand and supply zones cannot be showcased. However, with a Premium TradingView subscription, users can access up to 20,000 candles, significantly expanding the potential zones visible on smaller time frames.
To address this limitation, we strongly recommend examining larger time frames before commencing your trading day, as there might be an older zone hidden from view. Once identified on, for instance, a 30-minute time frame, you can easily take note of the demand zone and its location.
Please Note for the what is offered in the indicator:
4 options to chose EMA/SMA/VMA/HMA
1 option to choose VWAP
Options to choose the on/off for Demand & Supply zones alone with to choose how it will read the candle pattern based on a "Use 2X Candle Logic & Factor %%
Options to choose zone labels on/off and Price levels on/off
Options to change the wording on "Demand Text": D to any wording
Options to change the wording on "Supply Text": S to any wording
Option to turn on /off broken zones
Option to choose how many zone extentions to show above or below price on chart
Option to choose on/off how many "TF" = Time Frames/ Zones from 1 week down to the 15 minutes
PS will try and update with charts and the setting box