OPEN-SOURCE SCRIPT
Atualizado F&G_Index

Introduction.
This indicator shows the behavior of Fear and Greed Index (F&G_Index) for the cryptocurrency market in an intuitive way for traders. This indicator has been modified from a script developed by cptpat called "Fear and Greed Index FGI (Daily Update) alternative.me" (Tradingview user). The Fear and Greed Index values are taken directly from alternative.me.
The novelty of this proposal is to indicate the extreme levels (lower/upper) of the Fear and Greed Index according to a statistical analysis of the historical data. Also its daily update. It is not recommended to use in isolation. The appropriate way is in consensus with other indicators.
The extreme values.
Two upper and lower limits are established that correspond to the first standard deviation (1·SD) and 1.5 standard deviation (1.5·SD), respectively. These limits will help to know different important levels of greed or fear in the market based on real and historical data. The values obtained for each case are shown below, which will mark the extremes. These values may be modified in the future. If so, they will be updated and the community will be informed.
1·SD higher = 69 (F&G_Index).
1·SD lower = 24 (F&G_Index).
1.5·SD higher = 81 (F&G_Index).
1.5·SD lower = 12 (F&G_Index).
These limits are statistically significant and representative of extreme values of the Fear and Greed Index. Above all, for the case of 1.5·SD higher/lower, whose occurrence of the cases are significantly lower. These data are obtained for a daily record from August 2017 to December 2021, for a total of 1407 data. The occurrence of the Fear and Greed Index value exceeding the indicated levels is shown below.
F&G_Index > 1·SD higher (Greed). Occurrence <22,5%
F&G_Index < 1·SD lower (Fear). Occurrence <19%
1·SD lower < F&G_Index < 1·SD higher (Neutral). Occurrence ≈59%
F&G_Index > 1.5·SD higher (Extreme Greed). Occurrence <8%
F&G_Index < 1.5·SD lower (Extreme Fear). Occurrence <3%
How to use the indicator.
Its use is very simple and intuitive and is based on the levels indicated above. The blue line shows the historical value of F&G_Index. When the value of F&G_Index exceeds the levels indicated above, a vertical band of color will be tinted (brown/red, green/lime green or gray with transparency) as indicated below. This allows you to locate important areas in a very visual way.
F&G_Index > 1·SD higher (Greed). Brown color
F&G_Index < 1·SD lower (Fear). Green color.
1·SD lower < F&G_Index < 1·SD higher (Neutral). Gray color with transparency.
F&G_Index > 1.5·SD higher (Extreme Greed). Red color.
F&G_Index < 1.5·SD lower (Extreme Fear). Lime green color.
Image of the indicator.

This indicator shows the behavior of Fear and Greed Index (F&G_Index) for the cryptocurrency market in an intuitive way for traders. This indicator has been modified from a script developed by cptpat called "Fear and Greed Index FGI (Daily Update) alternative.me" (Tradingview user). The Fear and Greed Index values are taken directly from alternative.me.
The novelty of this proposal is to indicate the extreme levels (lower/upper) of the Fear and Greed Index according to a statistical analysis of the historical data. Also its daily update. It is not recommended to use in isolation. The appropriate way is in consensus with other indicators.
The extreme values.
Two upper and lower limits are established that correspond to the first standard deviation (1·SD) and 1.5 standard deviation (1.5·SD), respectively. These limits will help to know different important levels of greed or fear in the market based on real and historical data. The values obtained for each case are shown below, which will mark the extremes. These values may be modified in the future. If so, they will be updated and the community will be informed.
1·SD higher = 69 (F&G_Index).
1·SD lower = 24 (F&G_Index).
1.5·SD higher = 81 (F&G_Index).
1.5·SD lower = 12 (F&G_Index).
These limits are statistically significant and representative of extreme values of the Fear and Greed Index. Above all, for the case of 1.5·SD higher/lower, whose occurrence of the cases are significantly lower. These data are obtained for a daily record from August 2017 to December 2021, for a total of 1407 data. The occurrence of the Fear and Greed Index value exceeding the indicated levels is shown below.
F&G_Index > 1·SD higher (Greed). Occurrence <22,5%
F&G_Index < 1·SD lower (Fear). Occurrence <19%
1·SD lower < F&G_Index < 1·SD higher (Neutral). Occurrence ≈59%
F&G_Index > 1.5·SD higher (Extreme Greed). Occurrence <8%
F&G_Index < 1.5·SD lower (Extreme Fear). Occurrence <3%
How to use the indicator.
Its use is very simple and intuitive and is based on the levels indicated above. The blue line shows the historical value of F&G_Index. When the value of F&G_Index exceeds the levels indicated above, a vertical band of color will be tinted (brown/red, green/lime green or gray with transparency) as indicated below. This allows you to locate important areas in a very visual way.
F&G_Index > 1·SD higher (Greed). Brown color
F&G_Index < 1·SD lower (Fear). Green color.
1·SD lower < F&G_Index < 1·SD higher (Neutral). Gray color with transparency.
F&G_Index > 1.5·SD higher (Extreme Greed). Red color.
F&G_Index < 1.5·SD lower (Extreme Fear). Lime green color.
Image of the indicator.
Notas de Lançamento
Update latest value = 29 ; 2021-12-19Notas de Lançamento
Update latest value = 29 ; 2021-12-19 Notas de Lançamento
Update latest value = 25 ; 2021-12-20Notas de Lançamento
Update latest value = 25 ; 2021-12-20Notas de Lançamento
Update latest value = 25 ; 2021-12-20Notas de Lançamento
Update latest value = 25 ; 2021-12-20 Notas de Lançamento
Update latest value = 25 ; 2021-12-20Notas de Lançamento
Update latest value = 27 ; 2021-12-21Notas de Lançamento
Update latest value = 45 ; 2021-12-22Notas de Lançamento
Update latest value = 34 ; 2021-12-23Notas de Lançamento
Update latest value = 41 ; 2021-12-24Notas de Lançamento
Update latest value = 39; 2021-12-25Notas de Lançamento
Update latest value = 37 ; 2021-12-26Notas de Lançamento
Update latest value = 40 ; 2021-12-27Notas de Lançamento
Update latest value = 41 ; 2021-12-28Notas de Lançamento
Update latest value = 27 ; 2021-12-29Notas de Lançamento
Update latest value = 22 ; 2021-12-30Notas de Lançamento
Update latest value = 28 ; 2021-12-31 Notas de Lançamento
Update latest value = 21 ; 2022-01-01Notas de Lançamento
Update latest value = 21 ; 2022-01-01Notas de Lançamento
Update latest value = 23 ; 2022-01-04Notas de Lançamento
Update latest value = 24 ; 2022-01-05 Notas de Lançamento
Update latest value = 15 ; 2022-01-06Notas de Lançamento
Update latest value = 18 ; 2022-01-07Notas de Lançamento
Update latest value = 10 ; 2022-01-08Notas de Lançamento
Update latest value = 23 ; 2022-01-09Notas de Lançamento
Update latest value = 23 ; 2022-01-10Notas de Lançamento
Update latest value = 21 ; 2022-01-11Notas de Lançamento
Update latest value = 22 ; 2022-01-12Notas de Lançamento
Update latest value = 23 ; 2022-01-15Notas de Lançamento
Update latest value = 24 ; 2022-01-20Notas de Lançamento
Update latest value = 11 ; 2022-01-23Notas de Lançamento
Update latest value = 24 ; 2022-01-29Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.