Anchored VWAP+This indicator is an enhanced version of the Anchored VWAP indicator with additional functions:
1. Anchored AP (average price). It removes the volume weighting step in Anchored VWAP, and can display the average price over a period of time. For example, if the price of the stock in the last 3 days is 100, 200, 300, then AP is their average value of 200
2. Anchored AC (average cost). The average cost over time can be displayed. For example, if the price of the stock in the last 2 days is 100,300, then AC is (1+1)/(1/100+1/300)=150
When using the indicator, you need to choose a starting point, then the indicator will start to calculate the subsequent VWAP, AP and AC from this starting point, and draw 3 lines in the graph
These three lines can be regarded as the average cost line of the market, with potential support and resistance effects
We have filled the shadow between VWAP and AP, which can be regarded as a potential support resistance band
===========================中文版本===========================
该指标为增强版本的Anchored VWAP指标。在Anchored VWAP基础上增加了额外功能:
1. Anchored AP。其去掉了Anchored VWAP中成交量加权的步骤,可以显示一段时间的平均价格。举个例子,假如股票最近3天的价格为100,200,300,那么AP为他们的平均值200
2. Anchored AC。可以显示一段时间的平均成本。举个例子,假如股票最近2天的价格为100,300,那么AC为(1+1)/(1/100+1/300)=150
使用指标时你需要先选择一个起点,随后指标将会以该起点开始计算后续的VWAP、AP和AC,并且在图中绘制3根线
这3根线均可以视作是市场的平均成本线,具有潜在的支撑和阻力效果
我们让VWAP和AP之间填充了阴影,该阴影可以视作潜在的支撑阻力带
Volume
Crypto Aggregated Volume «NoaTrader»If you use volume in your crypto analysis, you may have encountered the situation which an exchange's policy change can affect your judgement falsely. For example, you can see the huge difference of volume on the given chart since binance transferred its fee discount from USDT to TUSD pair.
This script sums up volume of all major centralized exchanges ( according to coinmarketcap ) on the symbol you are visiting and has an option to exclude Binance's volume which can give you a more stable understanding for judgement when needed (and you can see the difference on the chart).
The colors also give a good vision about the relative volume in the area which can show the interest of market in trading.
The script only aggregates the same symbol on different exchanges and does not get the volume from other pairs.
Included CEXs are:
binance
bitstamp
coinbase
huobi
kraken
bitfinex
bybit
okx
kucoin
bithumb
Anchored VWAP (Auto High & Low)OVERVIEW
This script plots, and auto-updates, 3 separate VWAPs: a traditional VWAP, a VWAP anchored to a trends high, and another anchored to a trends low.
VWAP and Anchored VWAPs are commonly used by institutions responsible for the majority of market volume on a given day. Citadel Trading, for example, accounts for approximately 35% of all U.S. listed retail volume , largely executed through program trades over the course of a day, week, or month.
Because VWAP is a prominent market maker tool for executing large trades, day traders can use it to better anticipate trends, mean reversion, and breakouts.
This is most useful on charts with intraday time frames (1 minute, 5 minute etc.) commonly used for day trading. This is not ideal for larger time frames (1 hour or greater) commonly used for swing trading or identifying larger trends.
INPUTS
You can configure:
The size, color, and visibility of 6 different plots (VWAP, High Anchor, Low Anchor, Average of Anchors, Quarter Values, Interim Bands)
How smooth the average displays
INSPIRATION
1. "How To Measure Anything" by Douglas W. Hubbard
2. "Maximum Trading Gains With Anchored VWAP" by Brian Shannon
Better understanding probability and how to analyze risk (first book), as well as the tools market makers use (second book), has completely reframed how I approach day trading.
New York, London and custom trading sessionsHi Traders
The script :
The Time sessions script plots the trading sessions of both New York and London markets (background fills), In addition to the above the script also plots a user defined trading session period (vertical lines). All plots may be toggled true or false inorder to ensure you can focus on the respective market / markets / custom session.
Market sessions are useful for technical or quantitative analysis, as the majority of trading activity and net daily volume occurs in these zones, in fact the U.S./London market overlap tends to have the greatest volume accumulation across that range of time / bars than that range at any other time within the daily session. For FX traders it may also be important to take into account for many currency pairs the average exchange rate pip movement is greatest within these zones.
The custom session, is intended to be used for traders who trade only within specific intervals within the market session or day for 24/7 traded asset classes
Additional notes :
Not as of now, I have only added three optional trading sessions. If you would like to change the sessions, copy the scripts code and change the "ctm_session" default time range value, insuring the second time value is 1 min > than the first.
As always i Hope this is a useful script, and I will be updating this script in the near future.
Volume Spike, Price Move >3% Spike with Vol & Gap Up IdentifierTitle: Identifying Volume Spikes, Price Movements and Gap Ups: A TradingView Script
Introduction:
In the world of trading, identifying volume spikes and price movements can provide valuable insights into market trends and potential trading opportunities. In this article, we'll explore a TradingView script that helps traders visualize volume spikes, price up moves with volume spikes, and gap-up days on their charts.
Detecting Price Up Moves:
The script starts by calculating price up moves. It compares the current day's closing price with the previous day's closing price and checks if it has increased by 3% or more. This helps traders spot significant upward price movements.
Detecting Volume Spurts:
Next, the script focuses on detecting volume spikes, which are often associated with increased market activity and potential trading opportunities. It compares the current day's volume with the highest volume of the previous nine sessions. If the current volume exceeds all the volumes of the previous nine sessions, it is considered a volume spurt.
Example:
Let's consider a hypothetical scenario where we have the following volume data for a stock:
Day 1: 100,000
Day 2: 80,000
Day 3: 120,000
Day 4: 150,000
Day 5: 200,000
Day 6: 90,000
Day 7: 110,000
Day 8: 130,000
Day 9: 140,000
Day 10: 250,000 (current day)
To determine if there is a volume spurt on Day 10, the script compares the current day's volume (250,000) with the highest volume of the previous nine sessions. In this case, the highest volume among the previous nine sessions is 200,000 (on Day 5). Since the current day's volume (250,000) exceeds the highest volume of the previous nine sessions (200,000), it is considered a volume spurt.
Identifying Gap-Up Days:
Gap-up days occur when the market opens significantly higher than the previous day's close. To identify these days, the script compares the current day's low price with the previous day's high price. If the low price is greater than the previous day's high, it is marked as a gap-up day.
Visualizing the Findings:
To provide a clear visual representation of the identified patterns, the script uses different shapes and colors. First, it plots small red dots above the candles whenever a volume spurt is detected. These dots help traders quickly identify periods of increased volume activity.
For price up moves with volume spikes, the script utilizes blue triangular shapes below the candles. This allows traders to pinpoint instances where both price and volume are showing positive signs, indicating potential bullish movements.
Additionally, the script incorporates green candles to represent gap-up days. These candles help traders recognize days when the market opens with a significant upward gap, suggesting a potential shift in market sentiment.
Conclusion:
The TradingView script discussed in this article provides traders with a visual representation of volume spikes , price up moves with volume spikes , and gap-up days . By incorporating these visual cues into their analysis, traders can gain valuable insights into market trends and potential trading opportunities.
Remember, this script should be used for educational and informational purposes only and does not serve as financial advice or recommendations. Traders are encouraged to customize and modify the script according to their specific trading strategies and risk tolerance.
Share this script with other traders on TradingView to enhance their chart analysis and trading decisions.
PS: This TradingView script is designed to work specifically on the daily timeframe (daily candles). It calculates and identifies volume spurts based on the volume data of the daily timeframe. Since it is designed for the daily timeframe, it may not produce accurate results or work as intended on other timeframes.
VOLD Ratio (Volume Difference Ratio) by TenozenAnother helpful indicator is here! VOLD Ratio is calculated by the net volume of a buying candle, divided by the net volume of a sell candle.
Formula:
buying net volume/selling net volume
It's a simple indicator, but don't underestimate this simplicity. It's a powerful indicator that would help you to decide whether the volume is getting interested in the direction that the market would take. So assume when the market is above the Bollinger Bands, it means that the volume is at a buying extreme, by that, we could expect the market to get back towards the mean, as there is a lot of buying demand that entered the market. How about below the Bollinger Bands? it means that the volume is at a selling extreme, we could expect that there is a lot of volume getting in toward the sellers, so we could take advantage of the opportunity to go for a long. Lastly, the Bollinger Bands would help you guys to determine the liquidity of the market, if the Bollinger Bands get smaller over time, it means there is no interest for the market to enter yet, and if the Bollinger Bands get bigger over time, it means there is interest for the market to enter in the session.
Tips & Reminder:
- We shouldn't use this indicator by itself, make sure to use an Indicator that would help you guys to determine the momentum and the liquidity of the market.
- The higher the timeframe, the slower this indicator would signal an entry, by that use a smaller timeframe... I suggest using a 15M chart for the execution.
- Always trade in the medium-longterm direction if you want to have a high probability trade.
- Be patient in your execution, it's more likely the market would go higher or lower after going in the extreme of the Bollinger Bands.
Well, that's it! Hope you guys enjoy using this indicator, let me know if there is any question or suggestion. Ciao...
Scalp Pump-Dump Detector with AlertsThis script displays the percentage of movement of all candles on the chart, as well as identifying abnormal movements to which you can attach alerts. An abnormal movement is considered a rise or fall that exceeds the parameter set in the settings (by default, 1% per 1 bar).
Added a function to display the volume on abnormal candlesticks.
Displacement (Two FVGs)A simple indicator that attempts to identify displacement in price by alerting you when two simultaneous Fair Value Gaps (FVGs) occur.
When two fair value gaps occur, the indicator will print a green bar (if bullish) or a red bar (if bearish). If you right click on the indicator you can turn on alerts that will pop up every time a dual FVG occurs.
Fair Value Gaps are most commonly used amongst price action traders and are defined as instances in which there are inefficiencies, or imbalances, in the market.
The concept for this indicator is very simple. Apply it to your chart and enable alerts on the instruments and timeframe you trade. When you get an alert, it could indicate larger players getting involved.
This is NOT a trading strategy. Its intention is to save time by alerting you to large imbalances in price on the instruments you trade.
RSI-MFI Machine Learning [ Manhattan distance ]The RSI-MFI Machine Learning Indicator is a technical analysis tool that combines the Relative Strength Index (RSI) and Money Flow Index (MFI) indicators with the Manhattan distance metric.
It aims to provide insights into potential trade setups by leveraging machine learning principles and calculating distances between current and historical data points.
The indicator starts by calculating the RSI and MFI values based on the specified periods for each indicator.
The RSI measures the strength and speed of price movements, while the MFI evaluates the inflow and outflow of money in the market.
By combining these two indicators, the indicator captures both price momentum and money flow dynamics.
To apply machine learning principles , the indicator utilizes the Manhattan distance metric to quantify the similarity or dissimilarity between different data points.
The Manhattan distance is calculated by taking the absolute differences between corresponding RSI and MFI values of the current point and historical points.
Next, the indicator determines the nearest neighbors based on the calculated Manhattan distances.
The number of nearest neighbors is determined by the square root of the specified count of neighbors.
By identifying similar patterns and behaviors in the historical data, the indicator aims to uncover potential trade opportunities.
Trade signals are generated based on the calculated distances. The indicator compares each distance with the maximum distance encountered so far.
If a new maximum distance is found, it updates the value and considers the corresponding direction as a potential trade signal. The trade signals are stored in an array for further analysis.
Furthermore, the indicator considers the price action and a calculated regression line to differentiate between long and short trade signals.
Long trade signals are identified when the closing price is above the regression line, indicating a potentially bullish setup.
Short trade signals are identified when the closing price is below the regression line, indicating a potentially bearish setup.
The RSI-MFI Machine Learning Indicator visualizes the regression line on the price chart and labels the bars accordingly. It highlights the regression line with different colors based on the trade signals, making it easier for traders to identify potential entry or exit points.
Traders can use the RSI-MFI Machine Learning Indicator as a tool to analyze price movements, evaluate market conditions based on RSI and MFI, leverage machine learning concepts to find similar patterns, and make informed trading decisions.
Normalized Volume Rate of ChangeThis indicator is designed to help traders gauge changes in volume dynamics and identify potential shifts in buying or selling pressure. By normalizing the volume rate of change and comparing it to moving averages of itself, it offers valuable insights into market trends and can assist in making informed trading decisions.
Calculation:
The indicator calculates the Volume Rate of Change (VROC) by measuring the percentage change in volume over a specified length. This calculation provides a relative measure of how quickly the volume is increasing or decreasing. It then normalizes the VROC to a range of -1 to +1 by scaling it based on the highest and lowest values observed within the specified length. This normalization allows for easy comparison of the current VROC value with historical levels, enabling traders to assess the intensity of volume fluctuations.
Interpretation:
The main plot of the indicator displays the normalized VROC values as columns. The color of each column provides valuable information about the relationship between the VROC and the moving averages. Lime-colored columns indicate that the VROC is above both moving averages, suggesting increased buying pressure and potential bullish sentiment. Conversely, fuchsia-colored columns indicate that the VROC is below both moving averages, suggesting increased selling pressure and potential bearish sentiment. Yellow-colored columns indicate that the VROC is between the two moving averages, reflecting a period of consolidation or indecision in the market.
To further enhance interpretation, the indicator includes two moving averages. The Aqua line represents the faster moving average (MA1), and the Orange line represents the slower moving average (MA2). These moving averages provide additional context by smoothing out the VROC values and highlighting the overall trend. Traders can observe the interaction between the moving averages and the VROC to identify potential crossovers and assess the strength of trend reversals or continuations.
Colors:
-- Lime : The lime color is used to represent high volume rate of change above both moving averages. This color indicates a potentially bullish market sentiment, suggesting that buyers are dominant.
-- Fuchsia : The fuchsia color is used to represent low volume rate of change below both moving averages. This color indicates a potentially bearish market sentiment, suggesting that sellers are dominant.
-- Yellow : The yellow color is used to represent the volume rate of change between the two moving averages. This color reflects a transitional phase where neither buyers nor sellers have a clear advantage, signaling a period of consolidation or indecision in the market.
To provide additional visual cues for potential trade signals, the indicator includes lime-colored arrows below the price chart when there is a crossover upwards (MA1 crossing above MA2). This lime arrow indicates a potential bullish signal, suggesting a favorable time to consider long positions. Similarly, fuchsia-colored arrows are displayed above the price chart when there is a crossover downwards (MA1 crossing below MA2), signaling a potential bearish signal and suggesting a favorable time to consider short positions.
Applications:
This indicator offers various applications in trading strategies, including:
-- Trend Identification : By observing the relationship between the normalized VROC and the moving averages, traders can identify potential shifts in market trends. Lime-colored columns above both moving averages indicate a strong bullish trend, suggesting an opportunity to capitalize on upward price movements. Conversely, fuchsia-colored columns below both moving averages indicate a strong bearish trend, suggesting an opportunity to profit from downward price movements. Yellow-colored columns between the moving averages indicate a period of consolidation or uncertainty, signaling a potential trend reversal or continuation.
-- Confirmation of Price Moves : The indicator's ability to reflect volume dynamics in relation to the moving averages can help traders validate price moves. When significant price movements are accompanied by lime-colored columns (indicating high volume rate of change above both moving averages), it adds confirmation to the bullish sentiment. Similarly, fuchsia-colored columns accompanying downward price movements validate the bearish sentiment. This confirmation can enhance traders' confidence in the reliability of price moves.
-- Trade Timing : The indicator's moving average crossovers and the presence of arrows provide timing signals for trade entries and exits. Lime arrows appearing below the price chart signal potential long entry opportunities, indicating a bullish market sentiment. Conversely, fuchsia arrows appearing above the price chart suggest potential short entry opportunities, indicating a bearish market sentiment. These signals can be used in conjunction with other technical analysis tools to improve trade timing and increase the probability of successful trades.
Parameter Adjustments:
Traders can adjust the length of the VROC and the moving averages according to their trading preferences and timeframes. Longer VROC lengths provide a broader view of volume dynamics over an extended period, making it suitable for assessing long-term trends. Shorter VROC lengths offer a more sensitive measure of recent volume changes, making it suitable for shorter-term analysis. Similarly, adjusting the lengths of the moving averages can help adapt the indicator to different market conditions and trading styles.
Limitations:
While the indicator provides valuable insights, it has some limitations that traders should be aware of:
-- False Signals : Like any technical indicator, false signals can occur. During periods of low liquidity or in choppy markets, the indicator may generate misleading signals. It is essential to consider other indicators, price action, and fundamental analysis to confirm the signals before taking any trading actions.
-- Lagging Nature : Moving averages inherently lag behind the price action and volume changes. As a result, there may be a delay in the generation of signals and capturing trend reversals. Traders should exercise patience and avoid solely relying on this indicator for immediate trade decisions. Combining it with other indicators and tools can provide a more comprehensive picture of market conditions.
In conclusion, this indicator offers valuable insights into volume dynamics and trend analysis. By comparing the normalized VROC with moving averages, traders can identify shifts in buying or selling pressure, validate price moves, and improve trade timing. However, it is important to consider its limitations and use it in conjunction with other technical analysis tools to form a well-rounded trading strategy. Additionally, thorough testing, experimentation, and customization of the indicator's parameters are recommended to align it with individual trading preferences and market conditions.
Accumulation & Distribution - SimpleThis script is calculate volume weighted % change difference between up days and down days.
up days consider when price closed above (high+low+close)/3
down days consider when price closed below (high+low+close)/3
then this cumulative difference % is displayed using histogram with 2 ema.
this script is not provide the any trading signal but its help you to identify the power of buying or selling.
MonkeyblackmailThis script consists of several sections. test it and tell me your concerns. a lot of more works will be done
Volume Accumulation : The first part of the script checks for a new 5-minute interval and accumulates the volume of the current interval. It separates the volume into buying volume and selling volume based on whether the closing price is closer to the high or low of the bar.
Volume Normalization and Pressure Calculation : The script then normalizes the volume with a 20-period EMA, and calculates buying pressure, selling pressure, and total pressure. These calculations provide insight into the underlying demand (buying pressure) and supply (selling pressure) conditions in the market.
RSI Calculation and Overbought/Oversold Conditions : The script calculates the RSI (Relative Strength Index) and checks whether it is in an overbought (RSI > 70) or oversold (RSI < 30) state. The RSI is a momentum indicator, providing insights into the speed and change of price movements.
Volume Condition Check and Wondertrend Indicator : The script checks if the volume is high for the past five bars. If it is, it applies the Wondertrend Indicator, which uses a combination of the Parabolic SAR (Stop and Reverse) and Keltner Channel to identify potential trends in the market.
Swing High/Low and Fibonacci Retracement : The script identifies swing high and swing low points using a specified pivot length. Then, it draws Fibonacci retracement levels between these swing high and swing low points.
he monkeyblackmail script works well in the 5 minutes chart and combines several elements of technical analysis, including volume analysis, momentum indicators, trend-following indicators, volatility channels, and Fibonacci retracements. It aims to provide a comprehensive view of the market condition, highlighting key levels and potential trends in an easily understandable format. Don’t be too quick to start trading with it, first study how it work and you will blackmail the market.
Support/ResistanceUse this code to stop support and resistance
This can be used with the momentum indicators that I have to see if we are likely to breakout or get rejected
Indicator Settings:
The indicator is titled "Support/Resistance | Breaks & Bounces" and is set to overlay on the price chart.
max_lines_count is set to 500, indicating the maximum number of support/resistance lines that can be plotted.
User Input:
The script allows users to customize the pivot method, sensitivity, and line width through input variables.
point_method determines whether the pivot calculation is based on "Candle Wicks" or "Candle Body".
left_bars represents the number of bars to the left used to identify pivot highs/lows.
right_bars is set equal to left_bars.
line_width controls the width of the support/resistance lines.
Global Variables and Arrays:
The script declares several variables and arrays to store information related to support and resistance levels, breakouts, and bounces.
high_source and low_source are calculated based on the selected pivot method.
fixed_pivot_high and fixed_pivot_low store the pivot highs and lows using the chosen sensitivity.
Variables and arrays are initialized for tracking support/resistance lines, breakout triggers, and bounce triggers.
Main Operation:
The main operation occurs when barstate.isconfirmed is true, indicating that a new bar has formed and its data is final.
The script iterates through the support/resistance lines to update their end points (x2) to the current bar.
For each support/resistance line, it checks if a breakout or bounce event has occurred based on the current and previous bar's price levels.
If a breakout or bounce event is detected, the corresponding trigger variables (red_breakout_trigger, red_rejection_trigger, green_breakout_trigger, green_rejection_trigger) are set to true.
The script also checks for changes in the pivot highs and lows and updates the support/resistance lines accordingly.
If a change is detected, it clears the existing lines, breakout, and bounce arrays and adds new lines for the updated pivot levels.
Stochastic Momentum Channel with Volume Filter [IkkeOmar]A stochastic version of my momentum channel volume filter
The "Stochastic Momentum" indicator combines the concepts of Stochastic and Bollinger Bands to provide insights into price momentum and potential trend reversals. It can be used to identify overbought and oversold conditions, as well as potential bullish and bearish signals.
The indicator calculates a Stochastic RSI using the RSI (Relative Strength Index) of a given price source. It applies smoothing to the Stochastic RSI values using moving averages to generate two lines: the %K line and the %D line. The %K line represents the current momentum, while the %D line represents a filtered version of the momentum.
Additionally, the indicator plots Bollinger Bands around the moving average of the Stochastic RSI. The upper and lower bands represent levels where the price is considered relatively high or low compared to its recent volatility. The distance between the bands reflects the current market volatility.
Here's how the indicator can be interpreted:
Stochastic Momentum (%K and %D lines):
When the %K line crosses above the %D line, it suggests a potential upward move or bullish momentum.
When the %K line crosses below the %D line, it indicates a potential downward move or bearish momentum.
The color of the plot changes based on the relationship between the %K and %D lines. Green indicates %K > %D, while red indicates %K < %D.
Bollinger Bands (Upper and Lower Bands):
When the price crosses above the upper band, it suggests an overbought condition, indicating a potential reversal or pullback.
When the price crosses below the lower band, it suggests an oversold condition, indicating a potential reversal or bounce.
To identify potential upward moves, consider the following conditions:
If the price is not in a contraction phase (the bands are not narrowing), and the price crosses above the lower band, it may signal a potential upward move or bounce.
If the %K line crosses above the %D line while the %K line is below the upper band, it may indicate a potential upward move.
To identify potential downward moves, consider the following conditions:
If the price is not in a contraction phase (the bands are not narrowing), and the price crosses below the upper band, it may signal a potential downward move or pullback.
If the %K line crosses below the %D line while the %K line is above the lower band, it may indicate a potential downward move.
Code explanation
Input Variables:
The input function is used to create customizable input variables that can be adjusted by the user.
smoothK and smoothD are inputs for the smoothing periods of the %K and %D lines, respectively.
lengthRSI represents the length of the RSI calculation.
lengthStoch is the length parameter for the stochastic calculation.
volumeFilterLength determines the length of the volume filter used to filter the RSI.
Source Definition:
The src variable is an input that defines the price source used for the calculations.
By default, the close price is used, but the user can choose a different price source.
RSI Calculation:
The rsi1 variable calculates the RSI using the ta.rsi function.
The RSI is a popular oscillator that measures the strength and speed of price movements.
It is calculated based on the average gain and average loss over a specified period.
In this case, the RSI is calculated using the src price source and the lengthRSI parameter.
Volume Filter:
The code calculates a volume filter to filter the RSI values based on the average volume.
The volumeAvg variable calculates the simple moving average of the volume over a specified period (volumeFilterLength).
The filteredRsi variable stores the RSI values that meet the condition of having a volume greater than or equal to the average volume (volume >= volumeAvg).
Stochastic Calculation:
The k variable calculates the %K line of the Stochastic RSI using the ta.stoch function.
The ta.stoch function takes the filtered RSI values (filteredRsi) as inputs and calculates the %K line based on the length parameter (lengthStoch).
The smoothK parameter is used to smooth the %K line by applying a moving average.
The d variable represents the %D line, which is a smoothed version of the %K line obtained by applying another moving average with a period defined by smoothD.
Momentum Calculation:
The kd variable calculates the average of the %K and %D lines, representing the momentum of the Stochastic RSI.
Bollinger Bands Calculation:
The ma variable calculates the moving average of the momentum values (kd) using the ta.sma function with a period defined by bandLength.
The offs variable calculates the offset by multiplying the standard deviation of the momentum values with a factor of 1.6185.
The up and dn variables represent the upper and lower bands, respectively, by adding and subtracting the offset from the moving average.
The Bollinger Bands provide a measure of volatility and can indicate potential overbought and oversold conditions.
Color Assignments:
The colors for the plot and Bollinger Bands are assigned based on certain conditions.
If the %K line is greater than the %D line, the plotCol variable is set to green. Otherwise, it is set to red.
The upCol and dnCol variables are set to different colors based on whether the fast moving average (fastMA) is above or below the upper and lower bands, respectively.
Plotting:
The Stochastic Momentum (%K) is plotted using the plot function with the assigned color (plotCol).
The upper and lower Bollinger Bands are plotted using the plot function with the respective colors (upCol and dnCol).
The fast moving average (fastMA) is plotted in black color to distinguish it from the bands.
The hline function is used to plot horizontal lines representing the upper and lower bands of the Stochastic Momentum.
The code combines the Stochastic RSI, Bollinger Bands, and color logic to provide visual representations of momentum and potential trend reversals. It allows traders to observe the interaction between the Stochastic Momentum lines, the Bollinger Bands, and price movements, enabling them to make informed trading decisions.
VWAP Reset Zones
With this indicator, the VWAP is displayed based on two adjustable sources. Close and Open are recommended by default.
The zone between the Open and Close VWAP is carried over to the next day as the zone at the end of the period.
The zones can be considered as support and resistance zones.
The chart illustrates the idea behind it.
In addition, the anchor function has been added so that anchor points can be set for session, week and month.
Depending on the set anchor and the selected time unit of the chart, an adjustment of the indicator to the time unit can be made.
Recommended time unit of the indicator: Session = 15 min / Weekly = 1H / Month = 4H
In addition, the zones between VWAP close and vwap open have been colored.
Bullish when the close is above the open price and bearish when the close is below the open price.
The principle is simple. If the average closing price is below the average opening price, a downtrend is to be assumed and vice versa an uptrend.
Volatility Weighted Moving Average + Session Average linesHi Traders !
Just finished my Y2 university finals exams, and thought I would cook up a quick and hopefully useful script.
VWAP + Session Average Lines :
Volatility Weighted Average Price in the standard case is a trading indicator that measures the average trading price for the user defined period, usually a standard session (D timeframe), & is used by traders as a trend confirmation tool.
This VWAP script allows for altering of the session to higher dimensions (D, W, M) or those of lower dimension (H4, or even H1 timeframes), furthermore this script allows the lookback of data to be switched from the standard session to a user defined amount of bars (e.g. the VWAP of 200 bars as opposed to the VWAP of a standard session which contains 95 bars in M15 timeframe for 24/7 traded assets e.g. BTCUSD), lastly this script plots Session VWAP Average Lines (if true in settings) so tradaes can gauge the area of highest liquidity within a session, this can be interpreted as the fair price within a session. If Average lines are increasing and decreasing consistently like a monotonic function this singles traders interest is at higher / lower prices respectively (Bullish / Bearish bias respectively ?), However if Average lines are centered around the same zones without any major fluctuations this signals a ranging market.
VWAP calculation :
VWAP is derived from the ratio of the assets value to total volume of transactions where value is the product of typical price (Average of high, low and close bars / candles) and corresponding bar volume, value can be thought of as the dollar value traded per bar.
How is VWAP used by Institutions / Market movers :
For some context and general information, VWAP is typically used by Market movers (e.g. Hedge funds, Mutual funds ,..., ...) in their trade execution, as trading at the VWAP equals the area of highest market volume, trading in line with the volume of the market reduces transaction costs by minimizing market impact (extra liquidity lowers spreads and lag time between order fills), this overall improves market efficiency.
In my opinion the script is best used with its standard settings on the M15 timeframe, note as of now the script is not functional on certain timeframes, however this script is not intended to be used in these timeframes, i will try fix this code bug as soon as possible.
Trendline Pivots [QuantVue]Trendline Pivots
The Trend Line Pivot Indicator works by automatically drawing and recognizing downward trendlines originating from and connecting pivot highs or upward trendlines originating from and connecting pivot lows.
These trendlines serve as reference points of potential resistance and support within the market.
Once identified, the trend line will continue to be drawn and progress with price until one of two conditions is met: either the price closes(default setting) above or below the trend line, or the line reaches a user-defined maximum length.
If the price closes(default setting) above a down trend line or below an up trend line, an "x" is displayed, indicating the resistance or support has been broken. At the same time, the trend line transforms into a dashed format, enabling clear differentiation from active non-breached trend lines.
This indicator is fully customizable from line colors, pivot length, the number lines you wish to see on your chart and works on any time frame and any market.
Don't hesitate to reach out with any questions or concerns.
We hope you enjoy!
Cheers.
B/S Volume with Timeframe InputDaytrading For Success's volume indicator with timeframe input selection added. Example shown is 1 minute time frame with 5 minute input selected.
Volume Profile Bar-Magnified Order Blocks [MyTradingCoder]Introducing "Volume Profile Bar-Magnified Order Blocks", an innovative and unique trading indicator designed to provide traders with a comprehensive understanding of market dynamics. This tool takes the concept of identifying order blocks on your chart and elevates it by integrating a detailed volume profile within each order block zone.
Unlike standard order block indicators, Volume Profile Bar-Magnified Order Blocks pulls data from lower timeframe bars and assigns it to various segments of the order block. By providing this volume profile inside the order block, the indicator supplies a deeper, multi-dimensional view of market activity that can enhance your trading decisions.
Crucially, users have the ability to fine-tune the detection of order blocks. This is made possible through a single input setting called "Tuning". This integer value allows you to control the significance and frequency of the order blocks. Higher numbers will produce more significant order blocks, though they will appear less frequently. Lower numbers, on the other hand, will yield less significant order blocks, but they will occur more often. This enables you to adjust the sensitivity of the indicator according to your specific trading strategy and style.
Key Settings:
Number of Segments: Customize the level of detail in your volume profile by selecting the number of segments you want inside each order block.
Tuning: Adjust the sensitivity of order block detection to align with your trading strategy. Higher values produce more significant but less frequent order blocks, while lower values yield less significant but more frequent order blocks.
Color Inputs: Personalize the look of your chart by selecting the colors for various elements of the indicator. This ensures a seamless integration with your current chart aesthetics and improves visual clarity.
Here is a s creenshot that beautifully demonstrates the power of this indicator. You'll see how the price rejects perfectly off the highest volume segment in an order block, showcasing the indicator's potential for pinpointing high-impact price levels.
While Volume Profile Bar-Magnified Order Blocks offers many unique features, it should be used in conjunction with other indicators and forms of analysis for a complete trading strategy. As with all tools, it does not guarantee profitable trades but is intended to give traders more information to base their decisions on. Use it to complement your existing analysis and enhance your understanding of market behavior.
Experience a new level of clarity in your trading with Volume Profile Bar-Magnified Order Blocks - an indicator that goes beyond the surface to help you navigate the markets more effectively.
Volume Accumulation Oscillator (VAO)The Volume Accumulation Oscillator (VAO) is a powerful momentum-based indicator designed to assess the strength of volume accumulation in a given asset. It helps traders identify periods of intense buying or selling pressure and potential trend reversals.
The VAO calculates the Net Volume Accumulation (NVA) by considering the volume, open, close, high, and low prices. It then applies exponential moving averages (EMAs) to smooth the NVA and calculates the VAO by comparing the smoothed NVA with its EMA over a specified signal period.
The VAO is plotted as a line chart, providing a clear visual representation of its values. Positive VAO values indicate strong bullish volume accumulation, suggesting potential upward price movement. Conversely, negative VAO values indicate significant selling pressure and the possibility of a downtrend.
To enhance the analysis, the indicator includes reference levels such as the zero line and +/-1 levels. These levels serve as important reference points for interpreting the VAO values and identifying key turning points in the market.
Additionally, the VAO histogram is included, which further illustrates the strength and direction of volume accumulation. The histogram bars are color-coded, with green bars representing positive VAO values and red bars representing negative VAO values.
The Volume Accumulation Oscillator is a versatile tool that can be used in various trading strategies. Traders can look for divergences between the VAO and the price chart to identify potential trend reversals. Combining the VAO with other technical analysis techniques can provide valuable insights into market dynamics and help traders make informed trading decisions.
Note: It is recommended to customize the indicator's parameters and conduct thorough backtesting to align it with your specific trading strategy and preferences before using it for live trading.
Disclaimer: This indicator is provided for educational and informational purposes only. Trading involves risks, and it is important to exercise caution and conduct your own analysis before making any investment decisions.
Volume Spread Analysis Candle PatternsVolume Spread Analysis (VSA) is a methodology used in trading and investing to analyze the relationship between volume, price spread, and price movement in financial markets. It was developed by Richard Wyckoff, a prominent trader and market observer.
The core principle of VSA is that changes in volume can provide insights into the strength or weakness of price movements and indicate the intentions of market participants. By examining the interplay between volume and price, traders aim to identify the behavior of smart money (informed institutional investors) versus less-informed market participants.
Key concepts in Volume Spread Analysis include:
1. Volume: VSA places significant emphasis on volume as a leading indicator. It suggests that changes in volume precede price movements and can provide clues about the market's sentiment.
2. Spread: The spread refers to the price range between the high and low of a given trading period (e.g., a candlestick or bar). VSA considers the relationship between volume and spread to gauge the strength of price action.
3. Upthrust and Springs: These are VSA candle patterns that indicate potential market reversals. An upthrust occurs when prices briefly move above a resistance level but fail to sustain the upward momentum. Springs, on the other hand, happen when prices briefly dip below a support level but quickly rebound.
4. No Demand and No Supply: These patterns suggest a lack of interest or participation from buyers (no demand) or sellers (no supply) at a particular price level. These conditions may foreshadow a potential price reversal or consolidation.
5. Hidden Buying and Selling: Hidden buying occurs when prices close near the high of a bar, indicating the presence of buyers even though the market appears weak. Hidden selling is the opposite, where prices close near the low of a bar, suggesting the presence of sellers despite apparent strength.
By combining these VSA concepts with other technical analysis tools, traders seek to identify potential trading opportunities with favorable risk-reward ratios. VSA can be applied to various financial markets, including stocks, futures, forex, and cryptocurrencies.
It's important to note that while VSA provides a framework for analyzing volume and price, its interpretation and application require experience, skill, and subjective judgment. Traders often use VSA in conjunction with other technical indicators and chart patterns to make well-informed trading decisions.
DZ Strategy ICTThe script presented is a trading strategy called "Breaker Block Strategy with Price Channel". This strategy uses multiple time frames (1 minute, 5 minutes, 15 minutes, 1 hour, and 4 hours) to detect support and resistance areas on the chart.
The strategy uses parameters such as length, deviations, multiplier, Fibonacci level, move lag and volume threshold for each time frame. These parameters are adjustable by the user.
The script then calculates support and resistance levels using the simple moving average (SMA) and standard deviation (STDEV) of closing prices for each time frame.
It also detects "Breaker Blocks" based on price movement from support and resistance levels, as well as trade volume. A Breaker Block occurs when there is a significant breakout of a support or resistance level with high volume.
Buy and sell signals are generated based on the presence of a Breaker Block and price movement from support and resistance levels. When a buy signal is generated, a buy order is placed, and when a sell signal is generated, a sell order is placed.
The script also plots price channels for each time frame, representing resistance and support levels.
Profit limit levels are set for each time range, indicating that the price levels assigned to positions should be closed with a profit. Stop-loss levels are also set to limit losses in the event of canceled price movements.
In summary, this trading strategy uses a combination of Breaker Block detection, support and resistance levels, price channels and profit limit levels to generate buy and sell signals and manage positions on different time ranges.
ETN - Volume CandleHighlights candlestick based on volume data.
Indicator looks back and analyzing volume to find the volume bar with the largest numerical value
Indicator highlights the corresponding candlestick .
Indicator marks the high and low of that candlestick.
Users can adjust lookback period. Default is set to 50 .
Users can adjust how the indicator plots the high and low.
I currently have the high and low not being displayed on the charts until I come up with a better version.
On my chart, indicator colored the candlesticks YELLOW.