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.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?