YinYangAlgorithms

YinYang Fear and Greed Index (FGI)

Overview:

YinYang Fear and Greed Index is used for seeing how people are feeling towards the current price. It works similar to an RSI, but fluctuates differently. Essentially you want to be Greedy when the Index displays Fear and Fearful when it displays Greed. Our Indicator displays a Green Circle (Greed Signal) on the YinYang Fear and Greed Index when there is a large amount of Greed at this price point. It displays a Red Circle (Fear Signal) when there is a large amount of Fear. The Fear and Greed Signals can happen at any Fear and Greed Index but generally they correlate with the Index level. The Fear and Greed Signals are much more important at dictating a swing in momentum than the actual Index itself. The Index is more of a guide and is useful for seeing when the Index level crosses the Ma (the yellow line) as you can see a shift in momentum. However for large swings in momentum, the Fear and Greed Signals should be used. Do NOT Ignore these signals, they are quite powerful at predicting momentum swings.

Tutorial:


As you can see, the Fear and Greed Index looks somewhat similar to an RSI, but it has the ability to gain drastic momentum when there are strong changes in Fear and Greed.


When it comes to identifying buy/sell locations you generally want to ensure 2 things:

  1. For a buy, the Fear and Greed Index (FGI) is less than 30.
  2. For a sell, the FGI is greater than 70.

A signal has occurred. For buy that is the red circle and for sell that is the green circle.
The reason we generally want to ensure these 2 rules is to ensure you have the highest chance of being right with the lowest risk of being wrong. The way you want to use this indicator is; Be Fearful when others are Greedy and Greedy when others are Fearful.


There will be times when a fear or greed signal appears when the index is between 30-70. When these occur, they are still generally strong signal locations that represent a high chance of momentum in the direction they signal, however they face a higher risk of being wrong and therefore shouldn’t be used on its own to make a trade.


In the photo above we can see that the FGI’s color changed from Red to Orange in the candle after the Fear Signal. This happened because there was high price movement right after it (which is normal) and caused the Fear level to drop.

The color the FGI displays is based not off the FGI but by the STATE it is currently in. When the color is Green it is in a state of HIGH GREED, when the color is Red it is in a state of HIGH FEAR. When the color is Teal it is in a state of SLIGHT GREED, when the color is Orange it is in a state of SLIGHT FEAR. These colors hold true for the Information Tables as well.

As we can also see from the example above, it is 100% possible to have a state of HIGH GREED when the FGI is low. For instance look at the Fear (BUY) signals circled. Right before the Fear Signals happened, it was in a state of HIGH GREED (Green). The opposite is also true with Fear. We can have a high state of Fear when the FGI is high. However, please do remember, the lowest risk and best time to make trades is still:

  • FGI is higher than 70 and there is a Greed Signal = SELL
  • FGI is lower than 30 and there is a Fear Signal = BUY


You may notice there are sometimes occurrences that we call ‘Oddballs’. These oddballs are quite rare but they do happen and when they do they’re generally in clusters (close together). These Oddballs are when a Greed Signal occurs when the FGI is very low or when a Fear Signal occurs when the FGI is very high. Basically, they are occurring in the opposite location that they are supposed to. These may not seem like they matter but they matter a lot. As you can see based on where the blue vertical lines are, the price moved in the direction the signal identified shortly after the signal.

You may be wondering, are Oddball’s stronger price influencers than the regular signal? The issue with Oddballs is they sometimes CAN BE. But generally they aren’t. They generally do signal price movement will occur in the direction they are influencing, but generally not as much movement as if it occurred properly (Fear signal under 30 or Greed signal above 70).

The takeaway from Oddballs is to acknowledge their existence and potentially use them as markers for smaller purchases or DCA locations. We don’t recommend treating them as a legitimate purchase signal as they generally are weaker and less predictable, but nevertheless don’t dismiss them.


Our Information Tables are there to show you the FGI on 6 different Time Frames at the same time. This can be very useful for knowing how the other Time Frames are fairing while you are trading without needing to constantly change the Time Frame you are on.

For example, you see a Fear Signal on the 1 Day Time Frame, you then swap to the 15 minute Time Frame to find your entry location. Well, once you’re locked into that trade, you’ll likely be fixated on the 15 minute Time Frame. There’s a chance while you’re still waiting for your exit that levels and states of the FGI could change on higher Time Frames. This could drastically influence when and where your exit on the lower Time Frame should be.

This concludes our Tutorial on how to use YinYang Fear and Greed Index (FGI). However, continue reading for a description and better understanding of the Settings available to you for customization within this Indicator.

Settings:

1. Information Tables:
1.1. Show Information Tables:
Our Information Tables display 6 different Time Frames (resolutions) so that you can see the current level of Fear and Greed (FGI) that is prevalent on each Time Frame. There are 4 different states the FGI can be in:
  1. Fear (Red)
  2. Minor Fear (Orange)
  3. Greed (Green)
  4. Minor Greed (Teal)
The color of each Time Frame Cell (on Oscillator and in the table) is based on the following:
  • Red: Red represents that it is currently in a state of Fear. When it is in a state of fear it means traders are being overly bearish and selling when they likely shouldn’t. While it is in a state of Fear, there is a high chance of BULLISH price movement occurring. Remember, Be Fearful when others are Greedy and Greedy when others are Fearful.
  • Orange: Orange represents that it is currently in a state of Minor Fear. Minor Fear means that the FGI is less than 50, but it’s not currently in a state of Fear or Greed. While it is in this state, there is a better chance for BULLISH price action than there is bearish but it's nowhere near as likely as when in a state of Fear.
  • Green: Green represents that it is currently in a state of Greed. When it is in a state of Greed, it means traders are being overly bullish and buying when they shouldn’t. While it is in a state of Greed, there is a high chance of BEARISH price movement occurring.
  • Teal: Teal represents that it is currently in a state of Minor Greed. Minor Greed means that the FGI is greater than 50, but it’s not currently in a state of Fear or Greed. While it is in this state, there is a better chance for BEARISH price actions than there is bullish; but it’s nowhere near as likely as when its in a state of Greed.

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

Our Fear and Greed Index can be very useful for understanding how people are feeling in the market and when large price swings will occur. Remember, Be Greedy when others are Fearful and Fearful when others are Greedy!

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

HAPPY TRADING!

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
僅限邀請腳本

僅限作者授權的用戶訪問此腳本,並且通常需要付費。您可以將其增加到收藏腳本中,但是只有在向作者請求並獲得許可之後,才能使用它。 請與YinYangAlgorithms聯繫以獲取更多資訊,或按照以下作者的說明進行操作。

在您100%信任腳本作者並了解腳本的工作原理之前,TradingView不建議您購買腳本並使用它。在很多情況下,您可以在我們的社群腳本庫中免費找到一個不錯的開源替代品。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

作者的說明

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

想在圖表上使用此腳本?

警告:請閱讀,然後再請求訪問權限。