OnBalanceVolume by DGTComparing relative action between price bars and On-Balance Volume (OBV) generates more actionable signals, and plotting OBV on top of price chart alows to visually emphasis the relation between the price bars and OBV.
The On Balance Volume indicator (OBV) is a good metric for measuring buying and selling pressure. Many people believe that buying and selling pressure precede changes in price, making this indicator valuable. The actual individual quantitative value of OBV is not relevant. Instead, traders and analysts look to the nature of OBV movements over time; the slope of the OBV line carries all of the weight of analysis.
* Trend Identification - On Balance Volume (OBV) is useful for identifying or confirming overall market trends, when both price and OBV are moving in the same direction the underlying trend is likely to continue.
* Devrgence - divergence occurs when price movement is not confirmed by the indicator. In many cases, these divergences can indicate a potential reversal
* During a trading range, if the OBV is rising, accumulation may be taking place—a warning of an upward breakout, and coversly if the OBV is falling, distribution may be taking place—a warning of a downward breakout.
Note of caution in using the On Balance Volume
- It is a leading indicator, meaning that it may produce predictions, but there is little it can say about what has actually happened in terms of the signals it produces. Because of this, it is prone to produce false signals. It can therefore be balanced by lagging indicators. Add a moving average line to the OBV to look for OBV line breakouts; you can confirm a breakout in the price if the OBV indicator makes a concurrent breakout
- A large spike in volume on a single day can throw off the indicator for quite a while. For instance, a surprise earnings announcement, being added or removed from an index, or massive institutional block trades can cause the indicator to spike or plummet, but the spike in volume may not be indicative of a trend
This study additionally presents
- Volume Histogram with a Volume Moving Average
- Volume Weighted Colored Bars
Other alternatives where OBV is used as source of creating indicators : RelativeStrength of VolumeIndicators , Neglected-Volume , StochX Indicator of Indicators , etc
As with most indicators however, it is best to use OBV with additional technical analysis tools
Disclaimer: Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Breadth Indicators
NYSE Advance/Decline Line 1.0NYSE 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 NYSE stocks advancing and total number of NYSE stocks declining in one day, providing another way to grasp the market breath at any moment.
Green columns mean more than 50% of NYSE stocks are advancing, red columns mean more than 50% of NYSE 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, NYSE Advance/Decline Line should be used in conjunction with other indicators (volatility, volume, etc.).
gangood bot for FinandyGangood is a mean reversion algorithm currently optimized for trading the ETH/USDT pair on the 1 hour chart time frame. All indicator inputs use the closing price of the period, and all trades are executed at the open of the period following the period in which the trading signal was generated.
To take into account slippage, the commission costs 0.15%.
Backtest result from 2020.
Result since 2019 2,500,000%, maximum drawdown 18%
This bot uses 11 indicators:
1) ADX
2) RANGE FILTER
3) SAR
4) RSI
5) TWAP
6) JMA
7) MACD
8) VOLUME DELTA
9) VOLUME WEIGHT
10) MA
11) TSI
Pattern 1:
There are 3 main components that make up Gangood: I. Trend Filter. The algorithm uses a version of the ADX indicator as a trend filter to only trade during certain time periods when price is most likely to be range-bound (i.e., average retracement). This indicator consists of a fast ADX and a slow ADX both using the same lookback period.
The ADX is smoothed with a 6-period EMA and the slow ADX is smoothed with a 12-period EMA. When the fast ADX is above the slow ADX , the algorithm does not trade because it indicates that the price is most likely trending, which is bad for a mean reversion system. Conversely, when the fast ADX is below the slow ADX, the price is likely to be in a range, so this is the only time the algorithm is allowed to trade. II. Bollinger Bands When the trend filter allows trading, the algorithm uses Bollinger Bands.
Indicator for opening long and short positions. The Bolliger Bands indicator has a 20 lookback period and a 1.5 standard deviation for both the upper and lower bands. When the price crosses the lower band, a buy signal is generated and a long position is opened. When the price crosses the upper band, a sell signal is generated and a short position is opened.
Pattern 2:
Based on RSI which is commonly used as a trend reversal indicator. However, here it is used as a trend-setting indicator, often with great success. This pattern only takes long trades, which is quite successful in a bull market.
Pattern 3:
Long or short trades are determined by the intersection of the fast EMA with the slow EMA for long positions and vice versa for short positions. Trades should only occur close to intersections. We then use the MACD for the long position. an indicator with a 10-minute time frame where we look for high peaks in negative values for longs and vice versa for shorts. They should be significantly higher than the other peaks.
Capital Management:
The maximum leverage in this strategy, I would recommend 2x, in order to trade without unnecessary risks and keep your nerves in order.
Bot setup:
I use the Finandy terminal, in which you can easily trade with this strategy.
1. We go to binance and turn on the hedging mode, this is necessary so that if tradingview sends a webhook for buying later than for selling.
2. Adding a new signal to Finandy
2.1. Open tab
2.1.1. "Order side" Strategy
2.1.2. "Amount" Balance% x Leverage
2.1.3. We set the percentage of the order two times less than the one you want
2.1.4. "Shoulder" is twice as large as the one you want
2.2.Close tab
2.2.1. "Enebaled" tick
2.2.2. "Reverse / Close" Disable
3. Set a notification for this strategy.
4. Copy "Signal URL" and paste it into webhook on tradingview
5. Copy "Signal Message" and paste it into the message on tradingview
UpVol/TVol NYSE Lowry Upside DaysTakes Tradingviews Upside Volume for NYSE and divides it by Total Volume on NYSE.
Tradingview's data source generally has different volume figures than say the Wall Street Journal. Therefore, this indicator is an estimate.
10% upside volume shows extreme panic and is consistent with market sell offs.
90% upside days, following a decline, are often occur within a week or so of significant market bottoms.
Recommend using columns as the plot type.
Based on research of LowryResearch Corp.
MR_Volume Bull/Bears pathThis script is aimed at helping to achieve the study taught by Brian Beamish in Level 1, chapter 'Volume analysis" at www.therationalinvestor.com
Just move it to your existing pane with OBV13 and Volume indicators. You can turn off Buyers/Sellers and other indicators in the pane for a better analysis.
#PMA4TW!
MR_Volume Bulls/Bears pathsThis script pretends to helps in the study taught by Brian Beamish in Level 1, chapter 'Volume analysis"
Just add it to your existing pane with OBV13 and Volume indicators. You can turn off Buyers/Sellers and other indicators in the pane for a better analysis.
#PMA4TW!
MACD+RSI FerrantelliSe trata de la suma de la línea lenta del indicador MACD mas el RSI. De modo que acentuar el momento en que ambos muestran sobre venta o sobre compra.
Conteo de velasCuenta velas en un periodo determinado
En ese periodo se cuentan las velas verdes y las velas rojas, y en cada vela repite el proceso
Stairs Gain Strategy - MGI will explain step by step.
1- The position order filtering option is used to filter out duplicate positions.
2- The reason I use an ATR multiplier is to balance the ATR value that differs in instruments.
3- ATR lower limit and ATR upper limit values are to reduce unnecessary transactions and commission expenses in the horizontal market.
4- Strategy take profit and stop loss levels are calculated as percentages. The reason why there is no point account is that it can be used in the stock market.
5- Developer friends can get a more efficient result in forex market instruments by converting this to a point account.
Notice :
Variables are different in each instrument. Therefore, this strategy should be optimized for each instrument used.
BankNifty - OBVThis script tries to draw OBV for BankNifty using Futures Volume along with Average OBV. For Nifty50 just change the Futures Volume symbol in settings. Look at devations in Price vs OBV or Average OBV breakout.
NSE:NIFTY
NSE:BANKNIFTY
xBrat BIAS DEPTH HeatmapThis Trading Indicator is the "Go - No Go Gauge" for any trading signals strategy. A Sub-Chart that looks up 6 time frames and gives you real time BIAS. Bullish, Neutral or Bearish on each level. Making decisions, acting on trading signals easier! Only identifying those highest probability trades, no matter what signals trading indicator you are using. Ideal for Forex Trading, Futures Trading, Crypto Trading and Stocks Trading
This BIAS Depth Heatmap includes:
6 Levels of BIAS Depth
Scalping Setting
Day Trading Setting
Swing Trading Setting
And by only concentrating on trading the highest probability trades of any trading strategy, we can block out all the other noise and concentrate on a simple set of rules!
This is why our Founder, Paul Bratby, decided to help filter out all the noise and allow traders to see what's going off on higher timeframes "in depth" to help make those important trade entry decisions. This more global view of the BIAS DEPTH is designed to help traders make decisions faster!
Sector Performance TableThis is a simple performance table for the SPY and its component sectors as well as VIX.
Importantly, the performance is intraday from session open time.
It is NOT a daily change - credit to ShadowTrader for this distinction.
Credit also to PineCoders for their string manipluation instructions for Pine Script.
Each of the 14 symbols in the table can be set by the user.
The table can be placed Top or Bottom, Left or Right
The user will need to set the cell width and height and transparency and bulilsh/ bearish colors to best suit their own displays.
There are two color gradients built in to help illustrate which symbols are leading or lagging
I have also published one for the FANGMANT stocks that is otherwise very similar to this
FANGMANT Performance TableThis is a simple performance table for QQQ, SPY and the main FANGMANT stocks shown left to right by current order of weighting.
Importantly, the performance is intraday from session open time.
It is NOT a daily change - credit to ShadowTrader for this distinction.
Credit also to PineCoders for their string manipluation instructions for Pine Script.
Each of the 12 symbols in the table can be set by the user.
For publication purposes I have included QQQ, SPY, VXN and TNX as these are all relevant to Nasdaq performance too
The table can be placed Top or Bottom, Left or Right
The user will need to set the cell width and height and transparency and bulilsh/bearish colors to best suit their own displays.
There are two color gradients built in to help illustrate which symbols are leading or lagging
I will also publish one for the SPY sectors that will otherwise be very similar to this
Correction TerritoryA simple indicator showing how much percentage has been corrected since a recent highest high.
You can set 3 horizontal line to compare with past correction rates.
直近の最高値からの調整率を表示するインジケーターです。
過去の調整規模との比較のため、3本の水平線も設定可能です。
Trending Bar SRTrending Bar SR is a simple script define a Bar called "Trending Bar".
Depend on direction of Trending Bar, if Trending Bar is UpTrend then this indicator plot Bar's Low Price as Support and if Trending Bar is DownTrend then it plot Bar's High Price as Resistance.
Beside, this indicaor also plot 4 levels retracement of Trending Bar for trading.
1. Define Trending Bar
1.1 Uptrend Bar
+ Close Price higher than previous High Price
+ Body greater than sum of shadows (up and down)
+ Color: A green dot is plotted at bottom chart.
1.2 Downtrend Bar
+ Close Price lower than previous Low Price
+ Body greater than sum of shadows (up and down)
+ Color: A red dot is plotted at bottom chart.
2. Retracement Level
+ Trending Bar Retracement 0.5 is called Equerium.
+ Trending Bar Retracement 0.618 is called Perfect Entry.
+ Trending Bar Retracement 0.705 is called Optimal Entry.
+ Trending Bar Retracement 0.79 is called Max Entry.
3. Trading
+ When Price crossed Equerium, consider open position at Perfect Entry, Optimal Entry with stoploss place at Max Entry.
+ If place order at Max Entry, stoploss can place at Support or Resistance.
VOLD-MarketBreadth-RatioThis script provides NASDAQ and NYSE Up Volume (volume in rising stocks) and Down Volume (volume in falling stocks) ratio. Up Volume is higher than Down Volume, then you would see green label with ratio e.g 3.5:1. This means Up Volume is 3.5 times higher than Down Volume - Positive Market Breadth. If Down Volume is higher than Up Volume, then you would see red label with ratio e.g -4.5:1. This means Down Volume is 4.5 times higher than Up Volume.
For example, ratio is 1:1, then it is considered Market Breadth is Neutral.
PS: Currently TradingView provides only NASDAQ Composite Market volume data. I have requested them to provide Primary NASDAQ volume data. If they respond with new ticket for primary NQ data, I will update the script and publish the updated version. So if you have got similar table on ToS, you would see minor difference in NQ ratio.
Intrabar OBV/PVTI got this idea from @fikira's script Intrabar-Price-Volume-Change-experimental
The indicator calculates OBV and PVT based on ticks. Since, the indicator relies on live ticks, it only starts execution after it is put on the charts. The script can be useful in analysing intraday buy and sell pressure. Details are color coded based on the values.
Data is presented in simple tabular format.
Formula for OBV and PVT can be found here:
www.investopedia.com
www.investopedia.com
Breadth Ratio BubblesBubbles for ADD thats shows ratios between up and down volumes for the NYSE and NASDAQ
Here Is The Bottom(VIX and Its MA Deviation Rate)I found a very interesting article on Bloomberg with the title “JP Morgan Strategists See Sure Fire Sign It Is Time to Buy Stocks”.
It says when VIX index far exceeds its 1 month MA by 50%, then stock prices rise later except recession period. This buying signals are almost 100% accurate and now is the time to buy stocks as the VIX met the condition on Jan25 this year, the article says.
I can’t post the URL of the article here as it violates TradingView house rules, so if you are interested, you just google it with the title.
Anyway, I have developed this indicator to see what JP Morgan says.
It draws VIX, its MA and its MA deviation rate.
You will see the truth.
Enjoy!
World Markets Open/Close BackgroundIndicator fills background color on the chart for different markets around the world.
This can be helpful in some markets to understand after hours and premarket price action. User can study if there is correlation between highs/low in whole session or open/close of different markets.
Tokyo, Hong Kong and Shanghai are Asian Markets in Red are combined
Bombay, London and NYSE are individually plotted.
Times can be changed for each session to include the entire session, or selected block of 15 minutes.
Less than 15 minutes will need to be changed in the default value of the code which is why I'm publishing it open source.
All coded default times for each market are in CST.
Background color can be turned off individually under the Style tab, and can also be unchecked under Inputs and can just be used for source for further coding.
My intentions for this script is to use it and its variable value to plot the highs and lows just in the specific times in a session and to more easily visualize those sessions with color coding.
I hope this is useful
Cheers!
S&P Sector Advance/Decline Weighted -Tom1traderEnjoy, enhance your trading (I hope), copy or adapt to your needs and keep smiling!
Thanks to @MartinShkreli. The sector variables and the "repaint" option (approx lines 20 through 32 of this script) are used directly from your script "Sectors"
RECOMMENDATION: Update the sector weightings -inputs are provided. They change as often as monthly and the
annual changes are certainly significant. When updating weighting percentages use the decimal value. I.E. 29% is .29
Good on any time frame. Especially SPY, SPX and ES scalpers and 0DTE options traders may like this a lot.
This gives good signals on S & P and related (ES, SPY) and indicates / plots differently than the AD line or ratio.
Each sector's entire % weight is added or subtracted depending of whether that sector advanced or declined.
Example: Information Tech weight at 29% so that % of 500 (145) is added if InfoTech is up a penny and subtracted if it is
down a penny. All sectors processed the same way so that for a given bar/candle the value will be between +500 (all
sectors up) and -500 (all sectors down). This weighted AD line of sectors is scaled to +/- 350 and plotted as a red/green line
along with aqua/fuchsia columns of its 5 period ema. The line is actual sector behavior and the columns seem to make a
good signal with column zero crosses standing out.
The columns aqua / fuchsia are a 5 period ema of the Sector AD line and give pretty good signals at
zero cross for SPX. I colored the AD red green line also to emphasize the times it opposes the ema
for example the histo/colums zero cross signal is NOT true when the AD line is showing all or most sectors
going the other way.
For readability, the AD line itself is scaled to 350. This lets the columns of the ema stand out better. The hlines at
350 and at 175 give an idea for the AD green red line how much of the sector's weight is up or down.
350 is all sectors up (advancing) and -350 is all sectors down (declining). The hlines at +/- 175 seem to outline
a more or less "neutral" zone. For example in an uptrend with most of the AD level positive and the columns positive;
a negative spike that does not pass the -175 line and returns positive does not seem to impact the price as much as
a deeper negative spike.
IB + ExtensionsInitial Balance with Extensions.
Other traders have posted similar indicators. I wrote my own because I wanted additional features.
Features:
Supports up to 9 extensions. Default = 3.
Each extension is filled using an automatic gradient. Fill can be disabled if you like.
IB levels extend into the future to the end of the current session.
By default only the current IB levels are shown, but you can enable past IB's as well.
When showing past IB's, each session has a clean break - no awkward lines connecting one session to the other (this really annoyed me about other IB indicators!)
The IB midpoint is also supported. It is on by default, but can be disabled.
You may notice the midpoint of past IB's looks different than the current IB . There is a technical reason for this that I won't go into here. Ask if you want the full explanation.
NOTE: This indicator was designed for the crypto charts. It may have some rendering issues when used with other markets.