Multi-indicator by TonyMontanovThe indicator was made at the request of the subscriber of the "The trader sometimes answers"
The indicator displays:
1. Anomalous spikes in volume (i.e. the value of the volume is greater than the moving average of the volume plus a few standard deviations
2. Crossing moving averages
3. Crossing the MRSI zero line
The user can change the settings:
1. Types of moving average
2. Length sliding average
3. Number of volume standard deviations
4. Display mode
5. Index ticker
Volume
Intraday Intensity ModesIntraday Intensity Index was created by David Bostian and its use was later featured by John Bollinger in his book "Bollinger on Bollinger Bands" . It is categorically a volume indicator and considered to be a useful tool for analyzing supply and demand dynamics in the market. By measuring the level of buying and selling pressure within a given trading session it attempts to provide insights into the strength of market participants' interest and their aggressiveness in executing trades throughout the day. It can be used in conjunction with Bollinger Bands® or other envelope type indicators as a complimentary indicator to aid in trying to identify potential turning points or trends.
Intraday intensity is calculated based upon the relationship between the price change and the volume of shares traded during each daily interval. It aims to capture the level of buying or selling activity relative to the overall volume. A high intraday intensity value suggests a higher level of buying or selling pressure, indicating a more active and potentially volatile market. Conversely, a low intraday intensity value indicates less pronounced trading activity and a potentially quieter market. Overall, intraday intensity provides a concise description of the intensity of trading activity during a particular trading session, giving traders an additional perspective on market dynamics. Note that because the calculation uses volume this indicator will only work on symbols where volume is available.
While there are pre-existing versions within community scripts, none were found to have applied the calculations necessary for the various modes that are presented within this version, which are believed to be operating in the manner originally intended when first described by Bostian and again later by Bollinger. When operating in default modes on daily or lower chart timeframes the logic used within this script tracks the intraday high, low, close and volume for the day with each progressing intraday bar.
The BB indicator was included on the top main chart to help illustrate example usage as described below. The Intraday Intensity Modes indicator is pictured operating in three different modes beneath the main chart:
• The top pane beneath the main chart shows the indicator operating as a normalized 21 day II% oscillator. A potential use while in this mode would be to look for positive values as potential confirmation of strength when price tags the upper or lower Bollinger bands, and to look for negative values as potential confirmation of weakness when price tags the upper or lower Bollinger bands.
• The middle pane shows the indicator operating as an "open ended" cumulative sum of II. A potential use while in this mode would be to look for convergence or divergence of trend when price is making new highs or lows, or while price is walking the upper or lower Bollinger bands.
• The bottom pane shows the indicator operating in standard III mode, which provides independent values per session.
Indicator Settings: Inputs tab:
Osc Length : Set to 1 disables oscillation, values greater than 1 enables oscillation for II% (Intraday Intensity percent) mode.
Tootip : Hover mouse over (i) to show recommended example Settings for various modes.
Cumulative : When enabled values are cumulatively summed for the entire chart and indicator operates in II mode.
Normalized : When enabled a rolling window of Osc Length values are summed and normalized to the rolling window's volume.
Intrabar : When enabled price range and volume are evaluated for intensity per bar instead of per day which is a departure from the original
concept. Whenever this setting is enabled the indicator should be regarded as operating in an experimental mode.
Colors For Up Down : Sets the plot colors used, may be overridden in Settings:Style tab.
Styles / Width : Sets the plot style and width used, may be overridden in Settings:Style tab.
This indicator is designed to work with any chart timeframe, with the understanding that when used on timeframes higher than daily the indicator becomes "IntraPeriod" intensity, for example on weekly bars it would be "IntraWeek" intensity. On Daily or lower timeframes the indicator operates as "IntraDay" intensity and is being updated on each bar as each day progresses. If the experimental setting Intrabar is enabled then the indicator operates as "IntraBar" intensity and is no longer constrained to daily or higher evaluations, for example with Intrabar enabled on a 4H timeframe the indicator would operate as "Intra4H" intensity.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
NSDT Horizontal VWAPThis script plots VWAP as a horizontal line starting at the most recent candle and extending backwards for a period of 10 to make it easier to see. (default is 10 but can be changed to fit your needs)
You may only want to see where VWAP is currently and not need to see the entire day. Helps keep the chart clean.
Colors and line settings can all be modified.
You can show the original VWAP plot as well for reference.
What Is the Volume-Weighted Average Price (VWAP)?
The volume-weighted average price (VWAP) is a technical analysis indicator used on intraday charts that resets at the start of every new trading session.
It's a trading benchmark that represents the average price a security has traded at throughout the day, based on both volume and price.
VWAP is important because it provides traders with pricing insight into both the trend and value of a security.
High Liquidity Zones and Threshold VolumeThe High Liquidity Zones indicator is designed to identify areas of significant liquidity in the market. It helps traders recognize regions where trading volume is notably higher, indicating potential areas of increased market activity and interest.
The indicator calculates the average volume over a specified lookback period, which can be customized according to individual preferences. This average volume acts as a reference point to determine the threshold volume level. The threshold percentage input allows users to set the sensitivity of the indicator, defining the minimum volume required for an area to be considered a high liquidity zone.
When the current volume surpasses the threshold volume level, the indicator highlights these areas as high liquidity zones. This visual representation allows traders to quickly identify and focus on periods of heightened trading activity. The high liquidity zones are marked with square shapes below the histogram, providing a clear visual indication on the chart.
The first plot line represents the threshold volume level as a histogram, showing the volume levels in relation to the threshold. This histogram helps traders assess the magnitude of the volume in the identified high liquidity zones.
The second plot line represents the threshold volume's simple moving average (SMA) over the lookback period. The SMA acts as a reference line, smoothing out fluctuations in the threshold volume and providing a more stable measure of high liquidity zones. Traders can use this line to better understand the overall trend and dynamics of liquidity.
The High Liquidity Zones indicator offers flexibility, allowing traders to adapt it to their preferred trading style and timeframe. By adjusting the lookback period and threshold percentage, users can fine-tune the sensitivity of the indicator based on their trading strategies and market conditions.
Furthermore, traders can combine the High Liquidity Zones indicator with other technical analysis tools to confirm trading signals or identify areas of potential support and resistance. It can help them locate price levels where market participants have a substantial presence and where significant buying or selling pressure may occur.
Overall, the High Liquidity Zones indicator is a valuable tool for traders seeking to gain insights into market liquidity dynamics. By highlighting areas of intense trading activity, it assists in making informed trading decisions and identifying opportunities within the market.
Directional Volume EStimate from Price Action (RedK D_VESPA)The "Directional Volume EStimate from Price Action (RedK D_VESPA)" is another weapon for the VPA (Volume Price Analysis) enthusiasts and traders who like to include volume-based insights & signals to their trading. The basic concept is to estimate the sell and buy split of the traded volume by extrapolating the price action represented by the shape of the associated price bar. We then create and plot an average of these "estimated buy & sell volumes" - the estimated average Net Volume is the balance between these 2 averages.
D_VESPA uses clear visualizations to represent the outcomes in a less distracting and more actionable way.
How does D_VESPA work?
-------------------------------------
The key assumption is that when price moves up, this is caused by "buy" volume (or increasing demand), and when the price moves down, this is due to "selling" volume (or increasing supply). Important to note that we are making our Buy/sell volume estimates here based on the shape of the price bar, and not looking into lower time frame volume data - This is a different approach and is still aligned to the key concepts of VPA.
Originally this work started as an improvement to my Supply/Demand Volume Viewer (V.Viewer) , I ended up re-writing the whole thing after some more research and work on VPA, to improve the estimation, visualization and usability / tradability.
Think of D_VESPA as the "Pro" version of V.Viewer -- and please go back and review the details of V.Viewer as the root concepts are the same so I won't repeat them here (as it comes to exploring Balance Zone and finding Price Convergence/Divergence)
Main Features of D_VESPA
--------------------------------------
- Update Supply/Demand calculation to include 2-bar gaps (improved algo)
- Add multiple options for the moving average (MA type) for the calculation - my preference is to use WMA
- Add option to show Net Volume as 3-color bars
- Visual simplification and improvements to be less distracting & more actionable
- added options to display/hide main visuals while maintaining the status line consistency (Avg Supply, Avg Demand, Avg Net)
- add alerts for NetVol moving into Buy (crosses 0 up) or Sell (crosses 0 down) modes - or swing from one mode to the other
(there are actually 2 sets of alerts, one set for the main NetVol plot, and the other for the secondary TF NetVol - give user more options on how to utilize D_VESPA)
Quick techie piece, how does the estimated buy/sell volume algo work ?
------------------------------------------------------------------------------------------
* per our assumption, buy volume is associated with price up-moves, sell volume is associated with price down-moves
* so each of the bulls and bears will get the equivalent of the top & bottom wicks,
* for up bars, bulls get the value of the "body", else the bears get the "body"
* open gaps are allocated to bulls or bears depending on the gap direction
The below sketch explains how D_VESPA estimates the Buy/Sell Volume split based on the bar shape (including gap) - the example shows a bullish bar with an opening gap up - but the concept is the same for a down-bar or a down-gap.
I kept both the "Volume Weighted" and "2-bar Gap Impact" as options in the indicator settings - these 2 options should be always kept selected. They are there for those who would like to experiment with the difference these changes have on the buy/sell estimation. The indicator will handle cases where there is no volume data for the selected symbol, and in that case, it will simply reflect Average Estimated Bull/Bear ratio of the price bar
The Secondary TF Est Average Net Volume:
---------------------------------------------------------
I added the ability to plot the Estimate Average Net Volume for a secondary timeframe - options 1W, 1D, 1H, or Same as Chart.
- this feature provides traders the confidence to trade the lower timeframes in the same direction as the prevailing "market mode"
- this also adds more MTF support beyond the existing TradingView's built-in MTF support capability - experiment with various settings between exposing the indicator's secondary TF plot, and changing the TF option in the indicator settings.
Note on the secondary TF NetVol plot:
- the secondary TF needs to be set to same as or higher TF than the chart's TF - if not, a warning sign would show and the plot will not be enabled. for example, a day trader may set the secondary TF to 1Hr or 1Day, while looking at 5min or 15min chart. A swing/trend trader who frequently uses the daily chart may set the secondary TF to weekly, and so on..
- the secondary TF NetVol plot is hidden by default and needs to be exposed thru the indicator settings.
the below chart shows D_VESPA on a the same (daily) chart, but with secondary TF plot for the weekly TF enabled
Final Thoughts
-------------------
* RedK D_VESPA is a volume indicator, that estimates buy/sell and net volume averages based on the price action reflected by the shape of the price bars - this can provide more insight on volume compared to the classic volume/VolAverage indicator and assist traders in exploring the market mode (buyers/sellers - bullish/bearish) and align trades to it.
* Because D_VESPA is a volume indicator, it can't be used alone to generate a trading signal - and needs to be combined with other indicators that analysis price value (range), momentum and trend. I recommend to at least combine D_VESPA with a variant of MACD and RSI to get a full view of the price action relative to the prevailing market and the broader trend.
* I found it very useful to take note and "read" how the Est Buy vs Est Sell lines move .. they sort of "tell a story" - experiment with this on your various chart and note the levels of estimate avg demand vs estimate avg supply that this indicator exposes for some very valuable insight about how the chart action is progressing. Please feel free to share feedback below.
Open Interest Suite [Aggregated] - By LeviathanThis script is an all-in-one indicator that uses aggregated Open Interest data to plot OI candles, Open Interest Delta, OI x rVOL, and OI RSI. It also includes tools such as an OI Distribution profile, large OI increase/decrease coloring, a Stats Screener, and much more.
You can select and have the script plot the following:
- Open Interest in the form of OHLC candles
- Open Interest Delta in the form of a histogram
- Open Interest x Relative Volume in the form of a histogram
- Open Interest RSI in the form of a line
Additional features include:
- OI Distribution Profile (It shows the distribution of open interest in the visible range on y axis. This makes it easier to identify when Open Interest is relatively high or low and at which values most of the action took place)
- Stats screener (The screener includes the real-time net Open Interest value, Rekt Longs/Rekt Shorts based on large OI decreases and Aggressive Longs/Shorts based on large OI increases)
- Coloring (You can color OI Delta nodes, background and chart candles based on large OI increases/decreases)
- more
Instructions for the settings will be provided in the tooltips shortly.
Full credit goes to @KioseffTrading for the profile generation code.
Normalized Elastic Volume Oscillator (MTF)The Multi-Timeframe Normalized Elastic Volume Oscillator combines volume analysis with multiple timeframe analysis. It provides traders with valuable insights into volume dynamics across different timeframes, helping to identify trends, potential reversals, and overbought/oversold conditions.
When using the Multi-Timeframe Normalized Elastic Volume Oscillator, consider the following guidelines:
Understanding Input Parameters : The indicator offers customizable input parameters to suit your trading preferences. You can adjust the EMA length (emaLength), scaling factor (scalingFactor), volume weighting option (volumeWeighting), and select a higher timeframe for analysis (higherTF). Experiment with these parameters to optimize the indicator for your trading strategy.
Multiple Timeframe Analysis : The Multi-Timeframe Normalized Elastic Volume Oscillator allows you to analyze volume dynamics on both the current timeframe and a higher timeframe. By comparing volume behavior across different timeframes, you gain a broader perspective on market trends and the strength of volume deviations. The higher timeframe analysis provides additional confirmation and helps identify more significant market shifts.
Normalized Values : The indicator normalizes the volume deviations on both timeframes to a consistent scale between -0.25 and 0.75. This normalization makes it easier to compare and interpret the oscillator's readings across different assets and timeframes. Positive values indicate bullish volume behavior, while negative values suggest bearish volume behavior.
Interpreting the Indicator : Pay attention to the position of the Multi-Timeframe Normalized Elastic Volume Oscillator lines relative to the zero line on both timeframes. Positive values on either timeframe indicate a bullish bias, while negative values suggest a bearish bias. The distance of the oscillator from the zero line reflects the strength of the volume deviation. Extreme readings, both positive and negative, may indicate overbought or oversold conditions, potentially signaling a trend reversal or exhaustion.
Combining with Other Indicators : For more robust trading decisions, consider combining the Multi-Timeframe Normalized Elastic Volume Oscillator with other technical analysis tools. This could include trend indicators, support/resistance levels, or candlestick patterns. By incorporating multiple indicators, you gain additional confirmation and increase the reliability of your trading signals.
Remember that the Multi-Timeframe Normalized Elastic Volume Oscillator is a valuable tool, but it should not be used in isolation. Consider other factors such as price action, market context, and fundamental analysis to make well-informed trading decisions. Additionally, practice proper risk management and exercise caution when executing trades.
By utilizing the Multi-Timeframe Normalized Elastic Volume Oscillator, you gain a comprehensive view of volume dynamics across different timeframes. This knowledge can help you identify potential market trends, confirm trading signals, and improve the timing of your trades.
Take time to familiarize yourself with the indicator and conduct thorough testing on historical data. This will help you gain confidence in its effectiveness and align it with your trading strategy. With experience and continuous evaluation, you can harness the power of the Multi-Timeframe Normalized Elastic Volume Oscillator to make informed trading decisions.
Open Interest Profile [Fixed Range] - By LeviathanThis script generates an aggregated Open Interest profile for any user-selected range and provides several other features and tools, such as OI Delta Profile, Positive Delta Levels, OI Heatmap, Range Levels, OIWAP, POC and much more.
The indicator will help you find levels of interest based on where other market participants are opening and closing their positions. This provides a deeper insight into market activity and serves as a foundation for various different trading strategies (trapped traders, supply and demand, support and resistance, liquidity gaps, imbalances,liquidation levels, etc). Additionally, this indicator can be used in conjunction with other tools such as Volume Profile.
Open Interest (OI) is a key metric in derivatives markets that refers to the total number of unsettled or open contracts. A contract is a mutual agreement between two parties to buy or sell an underlying asset at a predetermined price. Each contract consists of a long side and a short side, with one party consenting to buy (long) and the other agreeing to sell (short). The party holding the long position will profit from an increase in the asset's price, while the one holding the short position will profit from the price decline. Every long position opened requires a corresponding short position by another market participant, and vice versa. Although there might be an imbalance in the number of accounts or traders holding long and short contracts, the net value of positions held on each side remains balanced at a 1:1 ratio. For instance, an Open Interest of 100 BTC implies that there are currently 100 BTC worth of longs and 100 BTC worth of shorts open in the market. There might be more traders on one side holding smaller positions, and fewer on the other side with larger positions, but the net value of positions on both sides is equivalent - 100 BTC in longs and 100 BTC in shorts (1:1). Consider a scenario where a trader decides to open a long position for 1 BTC at a price of $30k. For this long order to be executed, a counterparty must take the opposite side of the contract by placing a short order for 1 BTC at the same price of $30k. When both long and short orders are matched and executed, the Open Interest increases by 1 BTC, indicating the introduction of this new contract to the market.
The meaning of fluctuations in Open Interest:
- OI Increase - signifies new positions entering the market (both longs and shorts).
- OI Decrease - indicates positions exiting the market (both longs and shorts).
- OI Flat - represents no change in open positions due to low activity or a large number of contract transfers (contracts changing hands instead of being closed).
Typically, we monitor Open Interest in the form of its running value, either on a chart or through OI Delta histograms that depict the net change in OI for each price bar. This indicator enhances Open Interest analysis by illustrating the distribution of changes in OI on the price axis rather than the time axis (akin to Volume Profiles). While Volume Profile displays the volume that occurred at a given price level, the Open Interest Profile offers insight into where traders were opening and closing their positions.
How to use the indicator?
1. Add the script to your chart
2. A prompt will appear, asking you to select the “Start Time” (start of the range) and the “End Time” (end of the range) by clicking anywhere on your chart.
3. Within a few seconds, a profile will be generated. If you wish to alter the selected range, you can drag the "Start Time" and "End Time" markers accordingly.
4. Enjoy the script and feel free to explore all the settings.
To learn more about each input in indicator settings, please read the provided tooltips. These can be accessed by hovering over or clicking on the ( i ) symbol next to the input.
Purple CloudThe above lines calculate several intermediate values used in the indicator's calculations. Here's a breakdown of each variable:
a1: Represents a modified Exponential Moving Average (EMA) of the high price series, subtracted by a Simple Moving Average (SMA) of the low price series.
a2: Takes the square root of the lowest value between the highest close price over the last 200 bars and the current close price, multiplied by a1.
b1: Represents a modified EMA of the low price series, subtracted by an SMA of the high price series.
b2: Takes the square root of the highest value between the lowest close price over the last 200 bars and the current close price, multiplied by b1.
c1: Represents the square root of a2 multiplied by b2.
These lines create multiple plots using the plot function. Each plot represents a displaced version of c1 by a certain multiple of the Average True Range (ATR) multiplied by a constant factor (0.1, 0.2, 0.3, etc.). The transparency (transp) is set to 100 for all plots.
All-In-One Auto Anchored VWAPsA chart isn't trendy without a VWAP (which stands for volume weighted average price).
This indicator allows you to choose 3 different anchored VWAPs, and customize the anchor period from one of many different options, including:
- Daily
- Weekly
- Monthly
- Quarterly
- Yearly
- All Time
- Specific Pivots
- Specific Sessions
You can then choose whether you want to anchor to the open, highest or lowest value within that period.
The indicator will automatically update every time a new anchor point is triggered. Every VWAP has colors and standard deviation bands as an optional setting.
As interest in the script grows I will continue to add new features.
Volume Profile Regression Channel [LuxAlgo]The Volume Profile Regression Channel calculates a volume profile from an anchored linear regression channel. Users can choose the starting and ending points for the indicator calculation interval.
Like a regular volume profile, a "line" of control (LOC), value area, and a developing LOC are displayed.
🔶 SETTINGS
Sections: The number of sections the linear regression channel is divided into for the calculation of the volume profile.
Width %: Determines the length of the profile within the channel relative to the channel length.
Value Area %: Highlights the sections starting from the POC whose accumulated volume is equal to the user-defined percentage of the total profile sections volume.
🔶 USAGES
Regular volume profiles are often constructed from a horizontal price area, this can allow highlighting price areas where most trading activity takes place.
However, when price is strongly trending a classical volume profile can sometimes be more uniform. This is where using an angled volume profile can be useful.
The line of control allows highlighting the section of the channel with the most accumulated volume, this line can be used as a potential future support/resistance. This is where an angled volume profile might be the most useful.
The developing LOC highlights the LOC location at a specific time within the profile (from left to right) and can sometimes provide an estimate of the underlying trend in the price.
🔶 DETAILS
To be computed the script requires a left and right chart time coordinates. When adding the script to their charts users can determine the left and right time coordinates by clicking on the chart.
The linear regression channel width is determined so that the channel precisely encompasses the whole price.
🔶 LIMITATIONS
Using a very large calculation interval can return timeouts. Users can reduce the calculation interval to fix that issue from occurring.
The amount of drawing objects that can be used is limited, as such using a high calculation interval can display an incomplete profile.
🔶 ACKNOWLEDGEMENTS
If you are interested in these types of scripts, @HeWhoMustNotBeNamed published a similar script where users can use a custom line angle. See his 'Angled Volume Profile' script from March 2023.
Volume Indicator (MA)Displays candles which have volume larger than the volume moving average (14-bars). Red is for down candles and Green is for up candles, works best on a light background.
5EMA BollingerBand Nifty Stock Scanner
What ?
We all heard about (well: over-heard) 5-EMA strategy. Which falls into the broader category of mean reversal type of trading setup.
What is mean reversal?
Price (or any time series, in fact) tries to follow a mean . Whenever price diverges from the mean it tries to meet it back.
It is empirically observed by some traders (I honestly don't know who first time observed it) that in Indian context specially, 5 Exponential Moving Average (5-EMA) works pretty good as that mean.
So whenever price moves away from that 5-EMA, it ultimately comes back and attain total nirvana :) Means: if price moved way higher than the 5EMA without touching it, then price will correct to meet it's 5-EMA and if price moved way lower, it will be uplifted to meet it's 5-EMA. Funny - but it works !
Now there are already enough social media coverage on this 5-EMA strategy/setup. Even TradingView has some excellent work done on these setups. Kudos to all those great souls.
So when we came to know about this, we were thinking what we should do for the community. Because it is well cover topic (specially in Indian context). Also, there are public indicators.
Then we thought why not come up with a scanner which will scan all the Nifty-50 constituent stocks and find out on the fly, real-time which all stocks are matching this 5-EMA setup and causing a Buy/Sell trade recommendation.
Hence here we are with the first version of our first scanner on the 5EMA setup (well it has some more masala than merely a 5-EMA setup).
Why?
Parts of why is already covered up.
Now instead of blindly following 5-EMA setup, we added the Bollinger band as well. Again: it's also not new. There are enough coverage in social media about the 5-EMA+BB strategy/setup. We mercilessly borrowed from all of these.
Suppose you have an indicator.
Now you apply the indicator in your chart. And then you need to (rock) and roll through your watchlist of Nifty-50 stocks (note: TradingView has no default watchlist of Nifty-50 stock by default - you have to create one custom watchlist to list all manually) to find out which all are matching the setup, need to take a note about the trade recomendations (entry, SL, target) and other stuffs like VWAP, Volume, volatility (Bollinger Band Width).
Not any more.
This scanner will track all the Nifty-50 stocks (technically: 40 stocks other than Banking stocks) and provide which one to Buy or Sell (if any), what's the entry, SL, target, where is the VWAP of the day, what's the picture in volume (high, low, rising, falling) and the implied volatility (using Bolling band width). Also it has a naive alerting mechanism as well.
In fact the code is there to monitor the (Future) OI also and all the OI drama (OI vs price and all the 4 stuffs like long build up, long unwinding, short covering, short buildup). But unfortunately, due to some limitations of the TradingView (that one can not monitor more than 40 `ta.security` call) we have to comment out the code. If you wish you can monitor only 20 stocks and enable the OI monitoring also (20 for stocks + 20 for their OI monitoring .. total 40 `ta.security` call).
How?
To know the divergence from 5-EMA we just check if the high of the candle (on closing) is below the 5-EMA. Then we check if the closing is inside the Bollinger Band (BB). That's a Buy signal. SL: low of the candle, T: middle and higher BB.
Just opposite for selling. 5-EMA low should be above 5-EMA and closing should be inside BB (lesser than BB higher level). That's a Sell signal. SL: high of the candle, T: middle and lower BB.
Along with we compare the current bar's volume with the last-20 bar VWMA (volume weighted moving average) to determine if the volume is high or low.
Present bar's volume is compared with the previous bar's volume to know if it's rising or falling.
VWAP is also determined using `ta.vwap` built-in support of TradingView.
The Bolling Band width is also notified, along with whether it is rising or falling (comparing with previous candle).
Simple, but effective.
Customization
As usual the EMA setup (5 default), the BB setup (20 SMA with 1.5 standard deviation), we provided option wherther to include or exclude BB role in the 5-EMA setup (as we found out there are two schools of thought .. some people use BB some don't. Lets make all happy :))
We also provide options to choose other symbols using Settings if they wish so. We have the default 40 non banking Nifty stocks (why non-banking? - Bank Nifty is in ATH :) .. enough :)). But if user wishes can monitor others too (provided the symbol is there in TradingView).
Although we strongly recommend the timeframe as 30 minutes , you can choose what's fit you most.
The output of the scanner is a table. By default the table is placed in the right-bottom (as we are most comfortable with that). However you can change per your wish. We have the option to choose that.
What is unique in it ?
This is more of an indicator. This is a scanner (of Nifty-50 stocks). So you can apply (our recommendation is in 30m timeframe) it to any chart (does not matter which chart it is) and it will show every 30 mins (which is also configurable) which all stocks (along with trade levels) to Buy and Sell according to the setup.
It will ease your trading activity.
You can concentrate only on the execution, the filtering you can leave it to this one.
Limitations
There is a build in limitation of the TradingView platform is that one can call only upto 40 securities API. Not beyond that. So naturally we are constraint by that. Otherwise we could monitor 190 Nifty F&O stocks itself.
30m is the recommended timeframe. In very lower (say 5m) this script tends to go out of heap (out of memory). Please note that also.
How to trade using this?
Put any chart in 30m (recommended) timeframe.
Apply this screener from Indicators (shortcut to launch indicators is just type / in your keyboard).
This will provide the Buy (shown in green color) or Sell (shown in red color) recommendations in a table, at every 30m candle closing.
Note the volume and BB width as well.
Wait for at least 2 5-minutes candles to close above/below the recommended level .
Take the trade with the SL and target mentioned.
Mentions
@QuantNomad. The whole implementation concept we mercilessly borrowed from him, even some of his code snippet we took it (after asking him through one of his videos comment section and seeking explicit permission which he readily granted within an hour). Thank You sir @QuantNomad. Indebted to you.
Monika (Rawat) ji: for reviewing, correcting, providing real time examples during live market hours, often compromising her own trading activities, about the effectiveness and usefulness of this setup. Thank You madam ji. Indebted to you.
There are innumerable contents in social media about this. Don't even know whom all we checked. Thanks to all of them.
Happy Trading (in stocks - isn't enough of Indices already?)
Disclaimer
This piece of software does not come up with any warrantee or any rights of not changing it over the future course of time.
We are not responsible for any trading/investment decision you are taking out of the outcome of this indicator.
High Volume Candles Detector - Open Source CodeGreetings, fellow traders!
Throughout my trading career, I've been intrigued by the dynamic interplay between candlestick patterns and trading volume. This fascination led me to develop an open-source indicator to help illuminate these patterns for the broader trading community.
Upon researching the Public Library, I found that many indicators relating to candlestick/volume analysis are proprietary and not open-source. This discovery further fueled my commitment to contribute a free, accessible tool that traders of all levels can utilize in their technical analysis.
Thus, I am excited to present to you our High Volume Bars Indicator. A unique tool that I believe fills a gap in the Public Library. I truly hope you find it beneficial in your trading journey and that it empowers you to make more informed decisions.
Description:
The High Volume Bars Detector is designed to help traders identify bars with significantly higher volume than the average. Users can filter in the settings menu:
1) The length of the Simple Moving Average (SMA) for volume, allowing you to define the average volume over a specific number of bars.
2) The Volume Multiplier, a factor that determines how much greater the volume of a bar should be compared to the SMA to qualify as a high-volume bar.
3) The Lookback Period, a specified number of candles used as a comparative benchmark for identifying the highest volume.
4) If the Volume bar is green or red, so if the candle price is --> close > open or open > close
Examples to better understand the logic of the indicator:
1) Length of the Simple Moving Average (SMA) for Volume: This setting allows you to define the average volume over a specific number of bars. For instance, if you set the SMA length to 20, the indicator will calculate the average volume of the past 20 bars and use it as a baseline to identify high volume bars.
2) Volume Multiplier: This is a critical factor that determines the threshold for what constitutes a high-volume bar. If you set the volume multiplier to 2.0, for example, the indicator will flag any bar where the volume is twice the value of the SMA volume as a high-volume bar.
3) Lookback Period: This setting lets you specify the number of candles that the indicator should consider when determining the highest volume. For instance, if the lookback period is set to 14, the indicator will compare the volume of the current bar with the volumes of the previous 14 bars. If the current bar's volume is the highest, it will be flagged.
4) Volume Bar Color: This filter helps you identify whether a high-volume bar is bullish or bearish. If the bar is green (close > open), it suggests buyers were dominant during that period. If the bar is red (open > close), it suggests sellers had the upper hand. By setting this filter, you can choose to focus on high volume bars that are either bullish (green) or bearish (red) or both, depending on your trading strategy.
Remember, these filters offer a level of customization that allows you to tailor the High Volume Bars Detector to your unique trading style and requirements. Always remember to adapt these settings to align with your overall trading plan and risk tolerance.
Keep attention!
It is important to note that no trading indicator or strategy is foolproof, and there is always a risk of losses in trading. While this indicator may provide useful information for making conclusions, it should not be used as the sole basis for making trading decisions. Traders should always use proper risk management techniques and consider multiple factors when making trading decisions.
Support me:)
If you find this new indicator helpful in your trading analysis, I would greatly appreciate your support! Please consider giving it a like, leaving feedback, or sharing it with your trading network. Your engagement will not only help me improve this tool but will also help other traders discover it and benefit from its features. Thank you for your support!
Volume Breakout by Chosen VolumeDescription:
The Volume Breakout indicator (VB) is a technical analysis tool that highlights candles with significant trading volume. It helps traders identify potential breakout periods characterized by high volume activity.
How it Works:
The Volume Breakout indicator compares the volume of each candle with a user-defined minimum volume threshold. If the volume of a candle exceeds or is equal to the specified minimum volume requirement, the indicator identifies it as a volume breakout and marks it accordingly.
Usage:
To effectively utilize the Volume Breakout indicator, follow these steps:
1. Apply the VB indicator to your chart by adding it from the available indicators.
2. Customize the minimum required volume parameter according to your trading preferences. This parameter determines the threshold volume level that a candle must meet or exceed to be considered a breakout candidate.
3. Observe the candles on the chart:
- Candles that meet or exceed the minimum required volume are highlighted with a specific color (yellow by default), indicating potential breakout periods.
4. Pay attention to the volume breakout indications within the candles, as they suggest periods of increased trading activity.
5. Analyze the price action accompanying the volume breakout candles. Breakouts often indicate a surge in buying or selling pressure, potentially leading to significant price moves or trend reversals.
6. Combine the analysis of volume breakout candles with other technical analysis tools, such as trend lines, support and resistance levels, or indicators, to confirm potential trade setups.
7. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
High Volume Candles by Time PeriodDescription:
The High Volume Candles indicator (HVC) is a technical analysis tool designed to identify candles with high trading volume. It allows traders to quickly spot periods of significant market activity based on volume.
How it Works:
The HVC indicator analyzes the volume of each candle in relation to the highest volume observed over a specified lookback period. The indicator compares the current volume with the highest volume within the defined lookback period and identifies candles that have volume equal to or greater than this threshold. It then distinguishes between bullish and bearish candles and assigns custom colors to highlight these high volume occurrences.
Usage:
To effectively utilize the High Volume Candles indicator, follow these steps:
1. Apply the HVC indicator to your chart by adding it from the available indicators.
2. Customize the lookback period according to your trading preferences. This parameter determines the number of previous candles to consider when calculating the highest volume.
3. Observe the candles on the chart:
- Bullish candles (blue by default) indicate periods of high volume when the closing price is higher than the opening price.
- Bearish candles (yellow by default) indicate periods of high volume when the closing price is lower than the opening price.
4. Pay attention to the color-coded volume indications within the candles, which highlight periods of high trading activity.
5. Analyze the volume patterns in conjunction with price action to identify potential trading opportunities. High volume candles often indicate increased market participation and can suggest significant price moves or reversals.
6. Combine the analysis of high volume candles with other technical analysis tools, such as trend lines, support and resistance levels, or indicators, to confirm potential trade setups.
7. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
Volume Tick ExperimentThis ticks-based indicator provides real-time volume information for a trading asset. Volume is analyzed and updated continuously, not just at candle close. It is based on DGT's Bull vs Bear Power indicator but adds a gas signal that activates when buying or selling volume percentage reaches a predetermined threshold.
This indicator can also help traders determine the direction and aggressiveness of pushes in buying or selling volume. By monitoring the volume percentages and gas signals, traders can get an idea of whether the market is pushing in a particular direction and how strong the push is. This information can be helpful in making trading decisions and identifying potential entry or exit points.
The indicator uses open, high, low, and close prices of the asset to calculate volume information. It determines the average volume over a selected period and calculates volume for both buying and selling. This information is used to calculate the percentage of buying and selling volume. A gas signal is triggered when either the buying or selling percentage reaches a predetermined threshold.
Enjoy!
Volume Channel - [With Volume Filter]The indicator calculates two volume-weighted moving averages (VWMA) using different lengths, and filters them based on a moving average of volume. The filtered VWMA values are then plotted on the chart as lines, representing the fast and slow moving averages. In addition, upper and lower bands are calculated based on the slow VWMA and plotted as lines on the chart.
The fast and slow VWMA lines can be used to identify trends in the market. When the fast VWMA is above the slow VWMA, it is an indication of an uptrend, and when the fast VWMA is below the slow VWMA, it is an indication of a downtrend. The position of the VWMA lines relative to the upper and lower bands can also be used to identify potential trade signals.
When the price is near the upper band, it indicates that the market is overbought, and when the price is near the lower band, it indicates that the market is oversold. Traders can use these signals to enter or exit trades.
The indicator also includes a volume filter, which means that the VWMA values are only calculated when the volume is above a certain moving average of volume. This helps to filter out noise in the market and provide more accurate signals.
Explanation for each parameter
vwmaLength1: This is the length of the fast volume-weighted moving average (VWMA) used in the calculation. The default value is 10, and it can be adjusted by the user.
vwmaLength2: This is the length of the slow volume-weighted moving average (VWMA) used in the calculation. The default value is 25, and it can be adjusted by the user.
bandLength: This is the length of the moving average used to calculate the upper and lower bands. The default value is 34, and it is not adjustable by the user.
volumeFilterLength: This is the length of the moving average of volume used as a filter for the VWMA calculation. The default value is 5, and it can be adjusted by the user.
src: This is the input source for the VWMA calculation. The default value is close, which means the indicator is using the closing price of each bar. However, the user can select a different input source by changing this parameter.
filteredVwma1: This is the filtered VWMA calculated based on the volume filter and the fast VWMA length. It is plotted as a line on the chart and can be used to identify short-term trends.
filteredVwma2: This is the filtered VWMA calculated based on the volume filter and the slow VWMA length. It is plotted as a line on the chart and can be used to identify long-term trends.
ma: This is the moving average of the filtered slow VWMA values, which is used to calculate the upper and lower bands. It is plotted as a line on the chart.
offs: This is the offset used to calculate the upper and lower bands. It is based on the standard deviation of the filtered slow VWMA values and is multiplied by 1.6185 * 3. It is plotted as a line on the chart.
up: This is the upper band calculated as the moving average plus the offset. It is plotted as a line on the chart and can be used to identify overbought conditions.
dn: This is the lower band calculated as the moving average minus the offset. It is plotted as a line on the chart and can be used to identify oversold conditions.
Z-Score(Slope(OBV(LBC)))Summary : Market price is simply a dance of liquidity to the specific market.
tl;dr: "Cash come-in, market moon; Cash go-out, market doom"
In Simple Language : Large changes in the money flow to an asset often mark local price extremia.
Academic paper:
Title: Z-Score(Slope(OBV)): An Efficient Indicator for Identifying Local Extremes in Asset Prices
Abstract: This paper presents a novel trading indicator, Z-Score(Slope(OBV)), that aims to predict local extremes in asset prices by analyzing the patterns of money flow. The indicator is constructed using the Z-score of the slope of the On Balance Volume (OBV).
Hypothesis: The price levels at which the money flows into and out of an asset often mark local extremes. This notion underpins our exploration of the Z-Score(Slope(OBV)) indicator's potential in identifying these critical points.
1. On Balance Volume (OBV): The OBV is a momentum indicator that leverages the volume flow to forecast potential changes in asset prices. It operates on the premise that changes in volume often presage shifts in price. The OBV algorithm adds a period's volume to the cumulative total when the closing price is up and subtracts it when the closing price is down. Therefore, an ascending OBV suggests positive volume pressure, potentially heralding higher prices, while a declining OBV signifies negative volume pressure, possibly indicating lower prices.
2. Slope: In this context, the slope represents the rate of change of the OBV. It is a measure of the rise-over-run for a linear regression line through the OBV data points. By evaluating the slope of the OBV, we can extract valuable insights into the momentum of the volume. A positive slope indicates increasing volume momentum, suggesting growing interest in the asset, while a negative slope implies declining volume momentum, potentially reflecting dwindling interest.
3. Z-Score: The Z-score is a statistical measure that delineates a data point's relationship to the mean of a group of values, expressed in terms of standard deviations from the mean. For instance, a Z-score of 0 reveals that the data point's score aligns with the mean score. Positive Z-scores indicate values higher than the mean, and negative Z-scores represent values lower than the mean. Applying the Z-score to the slope of the OBV allows us to comprehend the degree of deviation of the current OBV slope from its historical mean.
A Z-score of 1 suggests that the OBV's slope is one standard deviation from the mean, which implies that the slope is within the range of values where approximately 68% (not 67%) of all values lie.
A Z-score of 2 implies that the slope is two standard deviations from the mean, thus within the range where roughly 95% of all values lie.
A Z-score of 3 indicates that the slope is three standard deviations from the mean, putting it within the range where about 99.7% of all values lie.
Z-scores of 4 and 5 and beyond are increasingly rare and represent extreme values.
4. The Z-Score(Slope(OBV)) Indicator and Line Break Chart Synergy: The Z-Score(Slope(OBV)) indicator's efficiency is further amplified when visualized using a Line Break chart. This chart type disregards time, concentrating solely on price changes, thus providing a clear visualization of market trends. When combined with the Line Break chart, the Z-Score(Slope(OBV(LBC))) indicator can help traders identify trend shifts more accurately and promptly, reinforcing the hypothesis that price levels where money flows into and out of an asset often mark local extremes.
In summary, the Z-Score(Slope(OBV)) indicator, combining volume, momentum, and statistical analysis, provides a robust tool for traders to predict local extremes in asset prices.
Regarding Implementation:
- This is implemented using Pinescript V5
- Uses inbuilt ta module
- Very effective and simple and efficient computation in 30 lines of code
EquiVolume [LuxAlgo]EquiVolume is a charting method that aims to incorporate volume information to a candlestick chart. Volume is highlighted through the candle body width, with wider candles suggesting more significant volume.
Our script shows an EquiVolume chart for the visible chart range. Additionally regular volume can be plotted as a column plot with the column's width controlled by volume.
🔶 SETTINGS
🔹 Options
Chart: Shows candles with volume adjusted width.
Volume: Shows volume with volume adjusted width.
🔹 Intrabar Analysis
Enable/disable: When LTF is enabled, the script will calculate the % volume/candles in the same direction than current timeframe.
You can choose a LTF between 1 and 240 minutes.
Type %:
- Volume: sum of volume of all LTF candles, which are in the same direction.
- #bars: sum of all LTF candles, which are in the same direction.
🔹 Width Boxes (bars)
Minimum width: sets the minimum width of a box (candle/volume)
Maximum width: sets the maximum width of a box (candle/volume)
🔶 USAGE
This charting method makes it easier to spot large volume candles, against comparing candles to volume.
Another example:
Additionally, users can make the script perform an intrabar analysis on the chart candles, allowing to highlight bullish/bearish activity within a candle. The script can estimate bullish/bearish trading activity within a candle or simply use intrabar candle signs.
Example
- 15-minute candle is green
- 10 1-minute candles (LTF) IN that 15-minute candle are green -> 10/15 = 66,667%
-> The current 15-minute candle will be 66,667% filled with green color.
Note that the script will draw everything from last visible bar at the right to left, as such you can scroll backwards, and the script will show you the data of the visible chart.
Scrolling back will return the following result:
🔶 REMARKS
When the LTF is too far apart from current timeframe, you should get an error. To prevent this, the LTF will automatically rise, giving no error.
When this happens, the adjusted LTF will be displayed. Do note, due to a maximum available LTF data, sometimes boxes won't always be visible (since there is no LTF data anymore)
To solve this, just elevate your LTF:
When the set LTF is higher than current TF, you would normally get an error as well.
This script will automatically adjust the LTF to current TF, together with a visible warning (no error though).
Due to the inability to draw a line in the space between bars, sometimes a wick won't be placed exactly in the middle.
Bar composition in 1minute | True candlestick colorThe indicator shows the true color of a bar based on the internal composition on 1 minute timeframe and the final outcome. It uses following parameters of 1minute and current timeframe inputs
relative bar close, average volume vs current volume and finally the volume of internal candles.
It follows following steps:
First, it defines the arrays of high, low, close, volume in one minute timeframe
Second, it identifies the negative and positive volume based on the bar closing at one minute timeframe
Third , it adds all the volume and find whether the overall volume is positive or negative for overall bar in higher timeframe (current timeframe)
Fourth, it compare the volume in current timeframe to average of volume in in current timeframe
Fifth, if relative closing, relative volume (current timeframe) and the combined volume (in 1 minute timeframe) gives same outcome then color of the bar is decided whether the bar is bullish, bearish or inconclusive/contnuation.
Through this you get to check price action in 1minute timeframe and the ultimate outcome in current timeframe. this helps in understanding whether the bar is truly bullish or bearish or continuation of the trend
Feel free to connect for any query.
PM RTH AH VWAPs [vnhilton]FOR STOCKS ONLY.
Simply 3 different VWAPs for the pre-market, regular trading session, and the after hours, using session.is_ variables (not sure if they were recently added. Regardless, it would be nice to have a session.isfirstbar_postmarket variable to avoid having to write the code for calculating VWAP instead of simply using a ta.vwap function). Treats all 3 sections of the day as separate sessions with their own characteristics i.e. differing levels of liquidity and market dynamics. I would argue this is better than just using a VWAP calculated from the pre-market open until after hours close, as it would make using the VWAPs as a benchmark more accurate when taking trades at these different periods of the day.
Open Interest All ExchangesThe indicator collects data from available exchanges based on open interest. The indicators are calculated in the amount of Bitcoin.
Below are the tickers of the exchanges that provide the data:
- BITFINEX:BTCUSD
- BITFINEX:BTCUST
- KRAKEN:BTCUSDPERP
- BITMEX:XBTUSD
- BITMEX:XBTUSDT
- BINANCE:BTCUSDTPERP
- BINANCE:BTCUSDPERP (due to low volumes and limitations of 40 requests of the request.security function, the code contains data without using the calculation)
For me, Open Interest indicators play an important role in the trading system, for this reason I share with you. I am not a financial advisor.
**Open for cooperation**