chrism665

Fear/Greed Index

My goal was to create something akin to the Fear & Greed Index (https://money.cnn.com/data/fear-and-greed/) that CNN and others do.

A Fear/Greed Index can be used by any trader or investor but I believe it's best viewed with a contrarian's eye--
  • When the market appears to be signalling Extreme Fear, that is a good place to start buying from emotional players who want to sell no matter the price
  • When signalling Extreme Greed, that may be a good place to start taking profits off or getting hedged, as there may be too much exuberance in the air
  • Important to note and remember, however, is that there can often times be fear in the air for good reasons! I like to see this as if we dip into extreme fear and return shortly after, the fear may warrant constraint from buying, or returning back to extreme greed may be a very strong market extension

The script draws from several other tickers which I have read and personally observed to be decent macro correlations for the stock market (specifically the SP500). For the state of each of these metrics I gave a rating, good or bad, then added them together and put it into your standard Stochastic.

These macro correlations include--
  • The % of stocks in the SP500 above multiple Simple Moving Average lengths
  • VIX and its term-structure (contango, backwardation)
  • Treasury Bonds
  • Gold
  • Junk/High Yield Bonds
  • The Put/Call Ratio
  • The SP500 Options Skew
  • Advancing and Declining Issues

    On some of these I opted to use a function for the Relative Momentum Index instead of RSI, as the RMI oscillates better (in my opinion). I also used a Band-Pass Filter/Double EMA for smoothing the results of the stochastic.

    A LOT of these numbers were made to my own observation and discretion and can get out-dated over time. With that said, PLEASE feel free to revise, fine tune, modify this as you wish to optimize yours. And please let me know if I have made any mistakes here or something should be added.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?