VWAP BreadthThe Concept
The volume-weighted average price (VWAP) is an indicator that gives the average price of a security based on both volume and price. VWAP is calculated by adding up the dollars traded (price*volume) and dividing it by the total volume. Generally speaking, prices above VWAP is bullish, while prices below VWAP is bearish.
VWAP can also be used as a breadth indicator, represented by the % of stocks above VWAP (orange line in above chart). However, the raw data of daily VWAP breadth is extremely noisy and hard for traders to decipher any tradable pattern.
This script aims to address this issue by adding multiple bars of VWAP breadth together, and then calculating the mean and standard deviation (STDEV) of previous accumulated VWAP breadth values.
The Signals:
20 days of accumulated VWAP breadth shows that:
1. Big market (S&P500 or Nasdaq) rallies happen when VWAP breadth is above mean.
2. Big market selloffs happen when VWAP breadth is below mean.
3. VWAP breadth above +2 STDEV is overbought but still bullish (overbought suggests strong buying interest despite the potential for a temporary pullback).
4. VWAP breadth below -2 STDEV is oversold but still bearish (oversold suggests strong selling interest despite the potential for a temporary rebound).
5. A VWAP breadth decreasing during an uptrend forms a bearish divergence.
6. A VWAP breadth increasing during a downtrend forms a bullish divergence.
The Variables:
Users can change how many bars of data to add together. I personally use 20 bars of accumulated data in daily charts.
The STDEV lookback period has a default value of 1000 bars, and does not need to be changed unless users experience lag.
Indikator-Indikator Rentang
OBV Overbuy+sell by RSUOn-balance volume (OBV) is a technical trading momentum indicator that uses volume flow to predict changes in stock price. Joseph Granville first developed the OBV metric in the 1963 book Granville's New Key to Stock Market Profits.
This indicator is based on the OBV indicator and adds 2 times the standard deviation Bollinger Band to evaluate the overbought and oversold phenomenon of the OBV indicator.
The characteristics of Bollinger Bands: According to the normal distribution phenomenon, only 5% of the cases will exceed 2 times the standard deviation of the Bollinger Bands. So when it exceeds, I will use colors to mark red overbought and green oversold situations.
Usage:
1.Identify trends: Identify current stock trends by OBV's 30 average line color.
2.Breakthrough:A break below overbuy could signal a temporary end to the uptrend.
3.Oversell and overbuy:A break below overbuy could signal a temporary end to the uptrend.
4.Divergence:When the slope of the two highs is opposite to the slope of the two highs of the indicator, a trend reversal signal may occur.
4C NYSE Market Breadth RatioThe NYSE Market Breadth Ratio is considered by some to be the “king” of market internals. It lets you know instantly how strong current buying or selling pressure is in the broad market, to eliminate guessing or opinion.
This indicator plots the Market Breadth Ratio values for the NYSE and the NASD exchanges in real time.
It also plots the NYSE Market Breadth Ratio in a histogram plot for visual reference.
The indicator dynamically changes colors between green and red depending on whether breadth is currently positive or negative.
This indicator divides the 'Up-Volume' ("UVOL") by 'Down-Volume' ("DVOL"), for each exchange.
It can be added to any chart, but is incredibly useful when added to other sources of market internals like the NYSE Advancers/Decliners Difference (ticker ADD) or with the NYSE UVOL / DVOL Difference (ticker VOLD ).
Credit goes to author=@auron9000 as the bulk of this code was from their Breadth Ratio Bubbles indicator.
---> The changes made to their indicator include: bug fixes where the values werent properly updating; fixed indicator to be a separate plot (not chart overlay), and added the histogram plot.
Average of Average SP500 breadthAverage of % of stocks in S&P500 above 20/50/100/200 MA summed up and divided by 4. So average of average of SP500 breadth :) with directional color. Adjustable MA and Color smoothing.
NASDAQ Advance/Decline Line 1.0NASDAQ Advance/Decline Line is a Market Breath indicator.
Brought to you by IQ-trading (Andrei Bogdan) via Trading View Pine script. If you find this helpful in anyway, please leave a like!
A/D line calculates a ratio between total number of NASDAQ stocks advancing and total number of NASDAQ stocks in one day, providing another way to grasp the market breath at any moment.A
Green columns mean more than 50% of NASDAQ stocks are advancing, red columns mean more than 50% of NASDAQ stocks are declining.
Green values above the top band mean correlation to the upside, red values bellow the low band mean correlation to the downside.
Correlation means rising probability of capitulation (to the upside or to the downside).
For a better interpretation, NASDAQ Advance/Decline Line should be used in conjunction with other indicators (volatility, volume, etc.).
--------------------
NASDAQ here refers to the totality of assets listed on the NASDAQ exchange, not to the Nasdaq Composite index or the Nasdaq100 index.
NASDAQ is the second-largest stock exchange on earth, and operates the two major stock indexes based on companies that trade on its exchange: the Nasdaq Composite and the Nasdaq 100.
The Nasdaq Composite tracks the performance of more than 3,000 stocks listed on the Nasdaq while the Nasdaq 100 captures the performance of the exchange’s largest non-financial companies.
OBV+EMA HistogramHistogram of the difference between On Balance Volume and an EMA of the On Balance Volume (OBV + EMA).
Using a 55 EMA, on the daily timeframe of BTC, bull/bear trends occur when the histogram is above/below the zero line respectively.
Divergences also have a notable effect.
-- Added alert conditions when OBV crosses EMA to signal a possible trend change, for bullish and bearish cases.
[TTI] Stage 2 Signal & NetNewHighs vs NetNewLowsHISTORY AND CREDITS –––––––––––––––––––––––––––––––––––––––––––––––––––––––
Stage 2 is part of Mark Minervini's NON-NEGOTIABLE criteria. What does this mean? Well it means that Mark does not enter a trade that is not in Stage 2. Stage analysis is the work of Stan Weinstein who divides stock price movements in 4 stages (Stage1, Stage2, Stage3 and Stage4). Additionally, the second part of the indicator, NetNewHighs (NNH) vs NetNewLows (NNL), has been used by many traders, most recently I have seen Matt Caruso use it in his methodology.
WHAT IT DOES ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
1️⃣ Stage 2 Signal
This method uses price, moving averages, volume in order to asses when it is the best time to get in a trade.
👉 Stage 1 - stock goes sideways and does not make any price progress
👉 Stage 2 - stock gains a lot of value and is trending up. It shows strong support from institutions
👉 Stage 3 - stock goes in a sideways action again
👉 Stage 4 - stock loses a lot of it gain in a short amount of time
Stage 2 is shown by the AQUA/CYAN color on the first line of the indicator.🟦
2️⃣ Net New Highs vs Net New Lows
This assess the general market health. It looks at the ration of New Highs vs New Lows. The indicator assess when there has been 3 consecutive days of Net New Highs > Net New Lows, this show that the general market is moving up as more stocks are advancing than those that are declining. As per Investor Business Daily research the stocks move is determined 50% by the move of the general market, 25% by the move of the sector it is in and 25% by the stock itself. Therefore, the indicator helps assess and analyze the 50% of the general marekt.
When the condition of 3consecutive days is met the indicator prints green square on the bottom line 🟩.. The sensitivity (i.e. the 3 day can be changed in the settings).
HOW TO USE IT –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
1️⃣ Stage 2 Signal
Only enter trades when they are in a Stage 2. This drastically increases the probability of success when trading to the long side. Look for AQUA/CYAN squares print before entering a trade
2️⃣ Net New Highs vs Net New Lows
Look for confirmation criteria indicated by a printing of green squares in the bottom of the indicator.
Session LevelsThis indicator plots important session (intraday) levels for the day. It plots high and low of previous day, week, month, 52 week and all time. Also plots the vix range which shows the daily expected trading range of the instrument. These levels acts as important support/resistance for the day.
For example, if price closes above previous day, week, or month high/low it indicates bullish sentiment and vice versa for bearish.
Vix Range plots top, center, bottom line for expected trading range for the day. It is calculated based on the volatility index selected (NSE:India VIX is used by default).
Hotch DMI+OBV+RSI ConfluenceThis Indicator uses the Relative Strength Index, On Balance Volume, and ADX to identify viable trading trends.
A quick description of what is on display:
1.) Green Triangle = OBV crossing over OBV MA
2.)Red Triangle = OBV Crossing under OBV SMA
3.) The background coloring between the RSI Oversold and Overbought Values has multiple conditions.
----It is green when the DI+ > DI-
----It is purple when the DI+ < DI-
----the brightness represents the ADX value. Darker areas(or more transparent) show a weak ADX value(4). Brighter (or less transparent) show a stronger ADX value(3)
5.) RSI and RSI moving average, including a divergence indicator.
6.) A histogram representing the normalized value of OBV-OBVMA to show changes in value while remaining readably in range on the chart with other indicators.
In the included chart screen shot is an example of an applicable strategy. This example is no guaranteed success and is also not the only strategy applicable to the indicator.
IPB_NHNLThis indicator is a market breadth indicator.
This is an index that is derived from the number of stocks within the nifty constituents that has made 52weeks high and low.
Only top 40 stocks of nifty50 are selected as there is a limitation of calling securities in pinescript.
This indicator has to be used in conjunction with other market breadth indicators like IPB_MAMB, IPB_ADMIN, etc.
The index is customized for weekly chart. Hence please use only on weekly chart to analyze the market breadth .
Look for divergences with the price which indicate reversals.
MicroStrategy MetricsA script showing all the key MSTR metrics. I will update the script every time degen Saylor sells some more office furniture to buy BTC.
All based around valuing MSTR, aside from its BTC holdings. I.e. the true market cap = enterprise value - BTC holdings. Hence, you're left with the value of the software business + any premium/discount decided by investors.
From this we can derive:
- BTC Holdings % of enterprise value
- Correlation to BTC (in this case we use CME futures...may change this)
- Equivalent Share Price (true market cap divided by shares outstanding)
- P/E Ratio (equivalent share price divided by quarterly EPS estimates x 4)
- Price to FCF Ratio (true market cap divided by FCF (ttm))
- Price to Revenue (^ but with total revenue (ttm))
US Treasury YieldsDisplay all US Treasury Yields and highlight if the specified period is inverse.
Visualizing the reverse spread in U.S. Treasuries may help us capture the signs of a recession.
Contains :
TVC:US30Y
TVC:US20Y
TVC:US10Y
TVC:US07Y
TVC:US05Y
TVC:US03Y
TVC:US02Y
TVC:US01Y
TVC:US06MY
TVC:US03MY
TVC:US02MY
TVC:US01MY
30Y-20Y
10Y-5Y
10Y-2Y
7Y-5Y
5Y-2Y
3Y-2Y
10Y-1Y
10Y-3M
Aggregated On Balance Volume - InFinitoOn Balance Volume calculated with aggregated and normalized volume data and a few other features:
Aggregation code originally from Crypt0rus
Candle Plotting code from LonesomeTheBlue
***The indicator can be used for any coin/symbol to aggregate volume, but it has to be set up manually***
As normal OBV, this indicator can be used to find divergences and to have an idea of volume flow. Using aggregated data makes it more accurate and allows to compare volume flow between different kinds of markets (Spot, Futures, Perpetuals, Futures+Perpetuals and All Volume).
As well, in order to make the data as accurate as possible, the data from each exchange aggregated is normalized to report always in terms of 1 BTC. In case this indicator is used for another symbol, the calculations can be adjusted manually to make it always report data in terms of 1 contract/coin.
Extra features:
- Based off LonesomeTheBlue, OBV can be plotted as candles and as Heiken Aishi candles (which give wick information)
- A Moving Average (SMA, EMA, WMA, RMA, VWMA) can be plotted to the OBV. This can be used as a confluent signal to enter a trade on a crossover or to know the strength of the current move.
- The OBV basis can be reset to 0 periodically, making it more oscillator-like and allowing to focus only on a certain period of time.
Trend OptimizerWhat is this?
This horizontal trend color and vertical trend bar is a trend identification to optimize your positioning in the market. Colors helps you to understand the trend easily, spontaneously.
The indicators & Strategies?
1. A horizontal trend color which represents the medium term trend. The color change is based on the price position towards moving average. We exclude the moving averaged from chart area so the chart area will be clean and you'll have an easier interpretation. This trend color helps you to understand the major trend as simple as you see navigation maps in your smartphone. When the trend color changed from the long red into white, then green, then blue, it indicates a bottom reversal. This module will work best with out other module: Trend Optimizer Module and Momentum line Module.
2. A vertical trend bar represents long term trend. Bars that above the axis is an uptrend bar. If it occurs, the long term bullish trend is exists. Bars below the axis is a downtrend bar. If it occurs, the long term bearish trend is exists. If there is no bars (empty), means the long term trend is weakened but the trend still as same as the last bars occurrence.
Benefit for you:
You'll have a guidance the existing trend and the trend progress from time to time.
If you combine this script with our other two module: Profit Trader module & Momentum Line Module, You'll have a complete template to analyze both trend and swing strategies.
On Balance Volume wi Normalization (OSC)Hello everyone, I'm sorry that the previous open-source version was hidden due to the house rules, I've re-edited the description and re-posted it
(1) Indicator introduction
This indicator is a normalized OBV that never dulls and has a better divergence accuracy than RSI
This indicator is plotted on the Normalized OBV and can display the divergence locations and corresponding divergence intensity
The tolerance of N Klines at the top or bottom positions for price and indicator is supported, which is set by the "Tolerant Kline Number"
Support the display of divergence intensity, that is, the REG/HID value displayed on the label, which is less than 0. The smaller the intensity value, the more obvious divergence
Support the filtering of divergence intensity, which is set by "Cov Threshold". The divergence that REG/HID divergence intensity greater than this value will be ignored
In the label, REG indicates regular top/bottom divergence while HID indicates hidden top/bottom divergence
In the label, SRC(x-y) indicates a divergence occurred from the x-th kline to the y-th kline
In the label, OSC(x-y) indicates a divergence occurred from the indicator corresponding to the x-th kline to the y-th kline
(2) Parameter introduction
- Normalized On Balance Volume
MA Type: Type of moving average for calculating the normalized OBV, default is SMA
MA Period: Period of moving average of normalized OBV, which is SMA14 by default
NOBV Sigma: Upper and lower range of normalized OBV
- Normalized On Balance Volume Divergence
Pivot Lookback Right: Number of K-line bars recalling the pivot top/bottom point to the right
Pivot Lookback Left: Number of K-line bars recalling the pivot top/bottom point to the left
Max of Lookback Range: Maximum number of retracing K-line bars to find the pivot top/bottom point
Min of Lookback Range: Minimum number of retracing K-line bars to find the pivot top/bottom point
Tolerant Kline Number: Maximum tolerance in indexing top/bottom points of Klines and indicators
Cov Threshold: Divergence intensity, which is less than 0. The smaller the intensity value, the more obvious divergence
Plot Bullish: Whether to draw regular bullish divergence label
Plot Hidden Bullish: Whether to draw hidden bullish divergence label
Plot Bearish: Whether to draw regular bearish divergence label
Plot Hidden Bearish: Whether to draw hidden bearish divergence label
Happy trading and enjoy your life!
————————————————————————————————————————
各位朋友大家好,很抱歉之前的开源版本因为规则原因被隐藏,我已经重新编辑了说明并重新发布
(1) 指标说明
该指标是 OBV 的归一化版本,永不钝化,背离准确率高于 RSI
该指标绘制于 归一化OBV 上,并在对应位置显示背离点以及背离程度
支持顶底位置 N 根K线的容差,由 Tolerant Kline Number 参数设置
支持背离强度的显示,即标签上显示的 REG/HID 值,该值小于 0,且越小说明背离程度越大
支持背离强度的过滤,由 Cov Threshold 参数设置, REG/HID 值大于这个值的背离会被忽略
标签中,REG 表示常规顶/低背离,而 HID 表示隐藏顶/底背离
标签中,SRC(x-y) 表示从当前第 x 根 bar 开始到第 y 跟 bar 出现背离
标签中,OSC(x-y) 表示从当前第 x 根 bar 所对应的指标开始到第 y 跟 bar 所对应的指标出现背离
(2) 参数说明
- Normalized On Balance Volume
MA Type: 计算归一化 OBV 的移动平均的类型,默认为 SMA
MA Period: 计算归一化 OBV 的移动平均的周期,默认为 SMA14
NOBV Sigma: 归一化 OBV 的过滤区间
- Normalized On Balance Volume Divergence
Pivot Lookback Right: 枢纽顶/底点往右回顾的 K线 bar 数量
Pivot Lookback Left: 枢纽顶/底点往左回顾的 K线 bar 数量
Max of Lookback Range: 回寻找枢纽顶/底点的最大回溯 K线 bar 数量
Min of Lookback Range: 回寻找枢纽顶/底点的最小回溯 K线 bar 数量
Tolerant Kline Number: K线和指标的顶/底点索引的最大误差
Cov Threshold: 背离程度,该值小于 0,且越小说明背离程度越大
Plot Bullish: 是否绘制常规底背离提示
Plot Hidden Bullish: 是否绘制隐藏底背离提示
Plot Bearish: 是否绘制常规顶背离提示
Plot Hidden Bearish: 是否绘制隐藏顶背离提示
祝大家交易愉快
On Balance Volume wi Normalization (SRC)Hello everyone, I'm sorry that the previous open-source version was hidden due to the house rules, I've re-edited the description and re-posted it
(1) Indicator introduction
This indicator is a normalized OBV that never dulls and has a better divergence accuracy than RSI
This indicator is plotted on the klines and can display the divergence locations and corresponding divergence intensity
The tolerance of N Klines at the top or bottom positions for price and indicator is supported, which is set by the "Tolerant Kline Number"
Support the display of divergence intensity, that is, the REG/HID value displayed on the label, which is less than 0. The smaller the intensity value, the more obvious divergence
Support the filtering of divergence intensity, which is set by "Cov Threshold". The divergence that REG/HID divergence intensity greater than this value will be ignored
In the label, REG indicates regular top/bottom divergence while HID indicates hidden top/bottom divergence
In the label, SRC(x-y) indicates a divergence occurred from the x-th kline to the y-th kline
In the label, OSC(x-y) indicates a divergence occurred from the indicator corresponding to the x-th kline to the y-th kline
(2) Parameter introduction
- Normalized On Balance Volume
MA Type: Type of moving average for calculating the normalized OBV, default is SMA
MA Period: Period of moving average of normalized OBV, which is SMA14 by default
NOBV Sigma: Upper and lower range of normalized OBV, but the function is reserved
- Normalized On Balance Volume Divergence
Pivot Lookback Right: Number of K-line bars recalling the pivot top/bottom point to the right
Pivot Lookback Left: Number of K-line bars recalling the pivot top/bottom point to the left
Max of Lookback Range: Maximum number of retracing K-line bars to find the pivot top/bottom point
Min of Lookback Range: Minimum number of retracing K-line bars to find the pivot top/bottom point
Tolerant Kline Number: Maximum tolerance in indexing top/bottom points of Klines and indicators
Cov Threshold: Divergence intensity, which is less than 0. The smaller the intensity value, the more obvious divergence
Plot Bullish: Whether to draw regular bullish divergence label
Plot Hidden Bullish: Whether to draw hidden bullish divergence label
Plot Bearish: Whether to draw regular bearish divergence label
Plot Hidden Bearish: Whether to draw hidden bearish divergence label
Happy trading and enjoy your life!
————————————————————————————————————————
各位朋友大家好,很抱歉之前的开源版本因为规则原因被隐藏,我已经重新编辑了说明并重新发布
(1) 指标说明
该指标是 OBV 的归一化版本,永不钝化,背离准确率高于 RSI
该指标绘制于 K线 上,并在对应位置显示背离点以及背离程度
支持顶底位置 N 根K线的容差,由 Tolerant Kline Number 参数设置
支持背离强度的显示,即标签上显示的 REG/HID 值,该值小于 0,且越小说明背离程度越大
支持背离强度的过滤,由 Cov Threshold 参数设置, REG/HID 值大于这个值的背离会被忽略
标签中,REG 表示常规顶/低背离,而 HID 表示隐藏顶/底背离
标签中,SRC(x-y) 表示从当前第 x 根 bar 开始到第 y 跟 bar 出现背离
标签中,OSC(x-y) 表示从当前第 x 根 bar 所对应的指标开始到第 y 跟 bar 所对应的指标出现背离
(2) 参数说明
- Normalized On Balance Volume
MA Type: 计算归一化 OBV 的移动平均的类型,默认为 SMA
MA Period: 计算归一化 OBV 的移动平均的周期,默认为 SMA14
NOBV Sigma: 归一化 OBV 的过滤区间,其功能暂时保留
- Normalized On Balance Volume Divergence
Pivot Lookback Right: 枢纽顶/底点往右回顾的 K线 bar 数量
Pivot Lookback Left: 枢纽顶/底点往左回顾的 K线 bar 数量
Max of Lookback Range: 回寻找枢纽顶/底点的最大回溯 K线 bar 数量
Min of Lookback Range: 回寻找枢纽顶/底点的最小回溯 K线 bar 数量
Tolerant Kline Number: K线和指标的顶/底点索引的最大误差
Cov Threshold: 背离程度,该值小于 0,且越小说明背离程度越大
Plot Bullish: 是否绘制常规底背离提示
Plot Hidden Bullish: 是否绘制隐藏底背离提示
Plot Bearish: 是否绘制常规顶背离提示
Plot Hidden Bearish: 是否绘制隐藏顶背离提示
祝大家交易愉快
Wick StrategyThis measure bull vs bear power by taking wicks length calculation. Wicks means price rejection. !
OBV Oscillator [LazyBear]- with some MAsThis indicator in modified OBV written by @LazyBear
I just added the 2 different Bollinger Bands and 2 different moving averages to the OBV version of LazyBear.
OBV line green -> OBV above zero
OBV line red -> OBV under zero
green background line -> OBV crossover 1st Moving Average
red background line -> OBV crossunder 1st Moving Average
blue '◆' -> OBV crossover 2nd Moving Average
yellow '◆' -> OBV crosunder 2nd Moving Average
blue '+' -> 1st Moving Average crossUNDER 2nd Moving Average
red '+' -> 1st Moving Average crossOVER 2nd Moving Average
Ribbon % OF stocks above 20/50/100/200 DayMA S&P500Moving average ribbon of % stocks above 20/50/100/200 Day moving average in th S&P500. Directional color. Pretty good indicator for big bottoms. Tops - not so much. use 1D timeframe.
Supply and Demand ZonesSupply/demand
Best for swings
One can also use the same for intraday by using daily zones
Relative Strength Index JoaScript desarrollado para RSI
Modificado para una correcta entrada y salida de los mercados Cryptos