INVITE-ONLY SCRIPT

YinYang RSI

Aggiornato
YinYang RSI is a Momentum Oscillator. It is loosely based on the standard RSI but uses our Custom True Value Zone Algorithm. Essentially it is a stronger, more accurate RSI that isn't manipulated by consolidation. YinYang RSI moves slightly slower than the standard RSI but when it does move it is much more accurate.

Why do we deem YinYang RSI to be a more accurate RSI? Well, let's discuss some of the underlying logic behind it. YinYang RSI is derived from the High and Low data from multiple Security Requests, we send that data into a modified Donchian Channel to calculate its Basis. That basis is then taken and averaged between multiple different VWMA calculations to ‘Smooth’ it out before we send it into an RSI calculation and display the final results.

This may sound a little confusing and you may be wondering, why bother doing this? The main reason we created the YinYang RSI is to remove the fact that consolidation causes Regular RSI to go down in index value. In our opinion RSI shouldn’t go down due to consolidation. By removing consolidation from RSI it innately made the RSI more smooth and since it became more smooth there were less times it crossed the RSI Moving Average (MA). In turn, since it crosses the RSI MA less, it means when it does cross the RSI MA, it is a much stronger more accurate signal; but don’t just take our word for it! Let’s get into some examples to show you exactly how it works:

Our RSI is very smooth, because of the way we apply VWMA to it, it keeps it from being a jagged line like the regular RSI is:

istantanea

Our Indicator features 3 RSI’s in it: YinYangRSI, Regular RSI and YinYang Stoch RSI. The reason there are 3 is not only for the Information Tables (we will talk about this later), but also for the fact that you can overlay them on top of each other.

Here is the same dates but with Regular RSI:

istantanea

Hopefully you can see how different they are and how smooth ours is, but if not, lets overlay them so you get a better idea:

istantanea

When the YinYang RSI and Regular RSI are overlaid on top of each other, the Regular RSI’s colors change for easier readability. The Regular RSI turns Pink and the Regular RSI MA turns Orange. As you can see here, they function much differently and it is quite clear that the YinYang RSI holds itself during consolidation and is more smooth.

You may be asking yourself, this is great and all, but how does it help me trade?

Well, now that you understand the difference between YinYang and Regular RSI let's discuss exactly that!

istantanea

So as you can see in the image above, when the RSI crosses the RSI MA it represents a strong movement in price is likely about to occur. When the RSI is very low (20 or less) and it crosses ABOVE the RSI MA, this represents a BUY/LONG signal. When the RSI is very high (80 or above) and it crosses BELOW the RSI MA, this represents a SELL/SHORT signal.

There are times where it is a good time to buy or sell, but the RSI may not be in the right place. This is rare but it does happen. We marked a location that did exactly that with an Orange circle in the picture above. These things happen, however we don’t recommend you act on them. The main reason is that they are much more risky. Nothing will ever be 100% accurate, but the key is making decisions that are more in your favor than not. When the RSI and RSI MA cross and the RSI is near 50, it's much less accurate, however, not impossible for it to be a good signal.

Now you may be wondering, how come I see 2 SELL or 2 BUY signals before the RSI moves a lot? This is quite normal. Based on the picture above, all of the BUY and SELL signals are accurate, but not all of them have insane price movements. However, they all did feature SOME price movements. Just because a BUY or SELL (RSI and RSI MA crossing) happens, doesn’t mean the RSI is going to move all the way from 80 to 20, sometimes the price only moves a bit and then corrects back. This is completely normal.

The part that is up to you is knowing when to exit these trades. You can use the YinYang RSI to see entry locations for Long/Short, but it can be risky to assume that you can go from a BUY right to a SELL and vice versa.

Don’t fret, there is a reason we have our YinYang Stoch RSI within this indicator and its not just because we felt like it! When you overlay the YinYang RSI and YinYang Stoch RSI on top of each other, you can get a very good idea of when a signal may be over and likely it’s a good time to get out. However, first, just so you understand what our YinYang Stoch RSI does, let's take a quick look at it.

istantanea

At first glance, the YinYang Stoch RSI can look pretty strange and even overwhelming, this is completely normal. It features drastic movements, but only when there is good reason to! When the blue line (K) crosses the orange line (D) it represents momentum in price. So when the blue line crosses above the orange line it means BUY and when the blue line crosses below the orange line it means SELL.

How it works with the YinYang RSI is simple, lets toggle the two of them on together in the settings:

istantanea

It may look a little confusing at first, and we don’t necessarily recommend you do it for your entry as it can be a little too much and sometimes confusing, but it can be very helpful for understanding your exit and if the momentum has changed/died down. Here's an example based on our initial BUY/SELL image above:

istantanea

So since we’re talking about the double SELL signal and how to know if its momentum is ending we’ve zoomed in on this example. Here we can see where the pink circle is, that the YinYang Stoch RSI has gained buy momentum and the sell momentum has likely ended here. This is canceled out however, by the fact that shortly after we see another SELL signal combined with the Stoch RSI crossing under and also showing SELL momentum. The blue Vertical lines are to show visually where the stoch crossed over/under as they can be a little hard to see visually. Also, based on this example, you can see where the orange circle is that was clearly a very good buy location and also has the stoch crossover in that location too. So even though the RSI isn’t very low, there is still a decent amount of bullish momentum in that location. Is this enough for you to make a purchase on? In our opinion, it’s still a little too risky, but maybe it fits your trading style, or maybe you decide its a good time to Dollar Cost Average / purchase just a small amount.

Now, you may be wondering, as we mentioned it early, what are those Information Tables that have been sitting on the right of every example?

istantanea

These Information Tables are there to display very important Time Frame data for you. Not only can you see 6 Different Time Frames, which you can customize within your Settings. You also get to see the level of RSI and RSI MA for YinYang, Regular and YinYang Stoch RSI. Being able to see this data on multiple different Time Frames without having to change the Time Frame you are on can be very helpful, especially if you’re trading on a lower Time Frame like 15 minutes. The color of the box is based on if the RSI has crossed the MA or not. When the box is Green, the RSI is greater than the MA (Bullish). When the box is Red, the RSI is less than the MA (Bearish).

This concludes our Tutorial on how to use YinYang RSI, below you will see all of our current Settings, what they all mean and how you can customize them.

Settings:
1. Show Signals:
Signals are when the RSI crosses the RSI MA (for any RSI TYPE active). When these crosses happen, it will make a plot on the chart that represents Buy and Sell Signals. These signals have alerts that correspond with them, but you will manually need to set up these alerts yourself through the indicator. Please refer to TradingView for how to set up alerts.

2. RSI Type:
We have 3 types of RSI’s within this Indicator:
  • YinYang RSI
  • Regular RSI
  • YinYang Stoch RSI

These RSI’s can be used individually or overlaid on top of each other for easier comparison. It can be useful to go back and forth between indicators or have them overlaid to get a better understanding of what's going on.

2.1. YinYang RSI:
Our YinYang RSI is our custom RSI that is based on our True Value Zone Algorithm. It is the main purpose of this Indicator but can be used in conjunction with Regular RSI and YinYang Stoch RSI. YinYang RSI is a much more smooth, slow moving form of RSI that doesn’t go down from consolidation and therefore makes the RSI and RSI MA crosses much more accurate.

2.2. Regular RSI:
This is a regular RSI that is within our indicator so you can make comparisons and also overlay on top of our YinYang RSI and/or YinYang Stoch.

2.3. YinYang Stoch RSI:
This is a Stoch RSI that is calculated with our YinYang RSI’s values to create a very unique Stoch RSI. Our YinYang Stoch RSI moves very drastically and quickly when there is true momentum swings but it never really hovers in the middle. It makes its way from 0-100 and 100-0 within 2-3 candles usually and if it makes it all the way, you know there is momentum backing this price movement.

3. Information Tables:
3.1. Show Information Tables:
Our Information tables display 6 different Time Frame resolutions to give you the data of YinYang RSI/MA, Regular RSI/MA and Stoch RSI/MA over multiple different Time Frames so you don’t constantly have to keep changing yours and can focus on the trade at hand.
You can choose to display:
  • ‘All’,
  • ‘None’,
  • ‘YinYang RSI’,
  • ‘Regular RSI’,
  • ‘YinYang Stoch RSI’

and/or any combination of the three so you can see all the data you want to your liking.

3.2. Display Tables Direction:
Since there are 6 different Time Frames shown, and you have the ability to display all 3 RSI and MA values, this table can get pretty big. If you have a large monitor and not too many indicators active it's no big deal and a vertical display is likely what you’ll want. However, if you have a smaller monitor or many Indicators active, it will scrunch this Indicator and make it difficult to see all of your Time Frames in the tables. For this reason, we have the option to display them ‘Horizontally’.

3.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)


Alerts are available and customizable within the Indicator. You can set up an alert for any of the RSI crossing Signals.

If you have any Questions or Concerns, don’t hesitate to contact us.

HAPPY TRADING!
Note di rilascio
- Added Bull and Bear divergence calculations for the YinYang RSI
algorithmsaveragebuyChart patternsmovingpurchaseRelative Strength Index (RSI)SELLsignalstrendTrue Strength Index (TSI)yinyang

Script su invito

L'accesso a questo script è riservato agli utenti autorizzati dall'autore, solitamente dietro pagamento di una commissione. Puoi aggiungerlo ai preferiti, ma sarai in grado di utilizzarlo solo una volta ricevuto il via libera da parte dell'autore. Per ulteriori informazioni, contatta YinYangAlgorithms o segui le istruzioni dell'autore riportate di seguito.

TradingView non suggerisce di pagare per uno script e di utilizzarlo a meno che non ci si fidi al 100% del suo autore e non si comprenda il suo funzionamento. In molti casi, è possibile trovare gratuitamente una buona alternativa open-source nei nostri Script della comunità.

Istruzioni dell'autore

Get a 7 Day Free Trial for all of our Premium Indicators and Strategies on our website: http://www.YinYangAlgorithms.com

Vuoi usare questo script sui tuoi grafici?

Attenzione: leggi prima di richiedere l'accesso.

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
Anche su:

Declinazione di responsabilità