INVITE-ONLY SCRIPT

YinYang Volume

Overview:

YinYang Volume is an Advanced Volume Indicator. Regular Volume can be deceiving. It can be hard to tell how much of the Volume bar is Buy vs Sell volume, especially since the bar is green or red simply based on if it closes at a greater price than it opened. With YinYang Volume you'll be able to see how much Buy AND Sell Volume there is on each bar. Being able to see both is very useful, but the cherry on top is the Buy and Sell Moving Average Lines. These lines (White is Buy and Orange is Sell) can show who is currently winning the fight, Bulls or Bears. When the lines cross it's a shift in momentum and when combined with other technical analysis you can better understand the direction the market is moving and make an informed and educated trading decision. YinYang Volume also has Information tables, these tables display the Buy vs Sell volume on different Timeframes. This way even if you're trading on a Low Timeframe (like 15 minutes) you can see how the Buy vs Sell volume is fairing on other Timeframes.

Tutorial:

snapshot

Unlike most volume indicators, including standard volume, we can see both Buy AND Sell volume for each bar. You may be wondering, well what’s the importance of this? The answer is EVERYTHING! Volume is one of the most important indicators when it comes to trading. Nothing moves without volume. However, with standard volume, the bar is either red or green simply based on if it closes greater than it opens. Now, that is pretty silly if you ask us. Let’s get into depth as to why seeing both Buy and Sell volume is important, and examples for how you can make trades with it:

snapshot

In this example above, we have 2 green bars and they both have high levels of volume. This bar on the right however, has more volume than the one on the left. The issue here is, the bar on the right has MORE Sell volume than it even does have Buy volume; meanwhile the bar on the left has way more buy volume than the bar on the right with little sell volume. Without separating them and by simply looking at the price bar and regular volume bar, we would never be able to deduce this. It is crucial to understand and see how much of each volume there is as it plays a huge role in the price movements.

snapshot

The white line represents the Buy Volume Moving Average and the orange line represents the Sell Volume Moving Average. These moving averages are very useful as when they cross they represent strong Buy and Sell Signals.

snapshot

We’ve enabled signals which plot circles onto the MA’s to display when they’ve crossed. The white circle represents a Buy Signal and the Orange circle represents a Sell Signal. These signals are very strong, but there is a catch that comes with it. The bar right after the signal has the highest chance of a reversal so it isn’t always advised to make the trade until confirmed that the reversal didn’t happen on the following bar. If you have enough data based on other technical analysis to know the first signal is true, then use it as a way to solidify the fact that it is a good entry/exit location.

snapshot

You can change the length of which the MA’s are smoothed out over. For instance, in the previous examples and by default the length is 14. However, if we are to change it to 50 for instance, it makes them a longer lasting MA that has much fewer crosses. This can be useful based on your trading style and if you prefer to stay in trades for quite awhile. As you can see, all signals with the 50 length are quite accurate and would have produced profitable trades, likely more so than at 14, but since it moves slower there's fewer signals to trade on.

snapshot

Our Information Tables are there to show you the amount of Buy vs Sell %’s on 6 different Time Frames at the same time. It can be very useful to know how people are feeling on different Time Frames without you having to change your own. This way you can stay on say the 15 minute Time Frame locked in your trade and can see if the momentum of your long trade is cooling down based on higher Time Frames Buy vs Sell volume %’s.

For example, let's say you got an alert from YinYang Volume for Buy Signal on the 1 Day. You then entered a trade which you deemed a good location on the 15 minutes (after doing your own technical analysis on the 15 minute too). The Buy vs Sell Volume %’s on the 1 Day was 55% Buy and 45% Sell when you entered the trade. You are still waiting for exit confirmation on the 15 minute but you notice the Buy vs Sell Volume % on the 1 Day goes down to 52% Buy and 48% Sell. You can see the momentum changing. Even though you haven’t received confirmation for exit on the 15 minute, it may still be a good time to get out as momentum is clearly changing on the 1 Day.

We will conclude this Tutorial here. We hope you’ll get some good use out of our Volume Indicator and its ability to display unique Volume Data. If you have any Questions, Comments, Suggestions or Concerns, please don’t hesitate to contact us.

Settings:

1. Show Signals:
Toggling this setting shows when the Buy and Sell Volume MA’s cross each other. It produces a white circle when the Buy Volume Crosses over the Sell Volume (BULLISH) and an orange circle when the Sell Volume Crosses over the Buy Volume (BEARISH).

2. Length:
How far back should we average the Buy and Sell Volume Moving Averages? 14 is default has been tested and proven to work well, however you can change it if there is a different value that suits your trading style better.

3. Type:
How is the Moving Averages calculated? VWMA (Volume Weighted Moving Average) is the default as it has been tested and worked best; afterall, we are calculating volume and therefore should use a volume weighted MA calculation. However, you can change it as your options are:
VWMA, EMA and SMA

4. Information Tables:
4.1. Show Information Tables:
Our Information tables display 6 different resolutions so you can see how much Buy vs Sell volume there is as a % in multiple different Time Frames without having to change your Time Frame.

4.2. Strength:
The Buy / Sell Volume %’s displayed within your Information Tables are based on Moving Averages. The length this moving average uses is based on the Strength you select. The strengths aren’t as simple as just a length amount but are a calculation involving multiple different lengths and averages. However, the stronger the strength, generally the farther the lookback length is as an average. Your options for strength are:
  • Unbreakable
  • Very Strong
  • Strong
  • Average
  • Weak
  • Very Weak
  • Glass

We recommend ‘Average’ Strength, however if you find you want to see the %’s change more or less frequently you can adjust to your trading style

4.3. Res1 / Res2/ Res3 / Res4 / Res5 / Res6:
These represent the different resolutions (Time Frames) being used in your information tables and can be modified to display whatever resolution works best for your trading style. By default they are:
  • Res1: Current Timeframe
  • Res2: 15 Minute
  • Res3: 1 Hour
  • Res4: 4 Hour
  • Res5: 1 Day
  • Res6: 1 Week
  • Backup Res (not changeable): 5 Minute (this is only used if your Current Timeframe in Res1 is a duplicate of one of the other resolutions)


HAPPY TRADING!
algorithmsbuyCyphermarketpurchaseSELLsignalsTrend AnalysisVolume IndicatorVolumeyinyang

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact YinYangAlgorithms for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

You can purchase our Indicators and Strategies on our website: http://www.yinyangalgorithms.com

Want to use this script on a chart?

Warning: please read before requesting access.

Follow us for Free Indicators and Strategies released weekly!

Visit our website to purchase our Premium Indicators and Strategies. Try for 7 days risk free!
YinYangAlgorithms.com

Join our Discord Community: discord.gg/ccEHem37FB
Also on:

Disclaimer