brett0923

When was the last time we were in stagflation?

Here I coded a strategy that indicates when we should enter a long position in the US dollar. The three indicators I used were the Inflation Rate, 10Y interest rate, and GDP growth rate. Right now in our economy, It seems as though we are in stagflation due to high inflation and declining GDP growth. Thoughts on how our government should handle the oversupply of money in the economy right now are another conversation. The reason I built this indicator is to see when the last time our country was in this type of market environment was and to see how far the dollar rose from that point on. It is necessary to say that the US dollar generally does not show these steep increases in value unless there is a hard cut in the Money supply. However, what we see is that the last time we were in stagflation was around the early 1980s when the dollar value rose to around 107( the levels we're at right now) and did not stop until It hit its peak at 150!!!! This isn't all that exciting really because if the FED follows a similar path as It did back in the '80s then we are going to see a whole lot more money supply being cut, an increase in interest rates, and a declining GDP Growth rate.

ATTENTION: This indicator does not tell you to buy any financial instrument that follows the DXY(US Dollar index), with that being said please feel free to comment and tell me your opinion. whether it's how bad my coding is(I'm a beginner sorry!!) or whether my ideas on our market environment right now are bogus or just do not make sense.
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?