OPEN-SOURCE SCRIPT
10Y Yield x Oil Price

█ OVERVIEW
This indicator plots the product of the US 10-Year Treasury yield and the price of crude oil. The resulting composite captures a specific macro stress condition: when the cost of money and the cost of energy are both elevated simultaneously, the real economy is being squeezed from two directions at once. Historically, extreme readings in this product have preceded severe economic contractions.
The concept is drawn from Luke Gromen's macro framework at FFTT, where he identifies this combined measure as a concise summary of stagflationary pressure on the economy.
═══════════════════════════════════════════════════════════════════
█ CONCEPT
Interest rates and energy prices are the two most pervasive input costs in any modern economy. Elevated rates raise the cost of capital, slow credit creation, and compress asset valuations. Elevated oil prices increase transportation, manufacturing, and agricultural input costs, feeding directly into consumer prices. When both are high simultaneously, the economy faces a pincer: tightening financial conditions on one side, rising real-world costs on the other.
Neither variable in isolation tells the full story. Rates can be high during healthy expansion (late 1990s), and oil can be high during loose monetary policy (2005 to 2007). The product of the two, however, spikes only when both pressures converge. This convergence historically coincides with or immediately precedes recessions.
═══════════════════════════════════════════════════════════════════
█ HISTORICAL REFERENCE POINTS
Going back to 1980, the yield × oil product has reached extreme levels only twice before:
• January 1980: The Fed funds rate had been ratcheted above 13% and oil had doubled following the Iranian Revolution. What followed was a vicious double-dip recession (January to July 1980, then July 1981 to November 1982) that drove unemployment above 10%.
• March 2008: The 10-year yield sat above 3.5% while oil surged past $100 on its way to $147 in July. The global financial crisis was already underway, with Bear Stearns collapsing that same month. The S&P 500 would lose more than half its value over the following year.
Both prior extremes resolved through demand destruction and economic contraction severe enough to pull one or both inputs sharply lower. The indicator's current reading context is left to the chart.
═══════════════════════════════════════════════════════════════════
█ HOW TO USE
This is a macro context indicator, not a trade signal generator. It belongs on a weekly or monthly chart as a background condition monitor alongside your existing framework.
Reading the chart
• Rising toward or above the red reference line: The economy is experiencing the same dual squeeze that preceded the two worst economic outcomes of the last 45 years. Risk management should be prioritized over return seeking.
• Between the yellow and red reference lines: Elevated but not extreme. Conditions are stressful but not historically unprecedented. Warrants caution.
• Below the yellow reference line: The dual squeeze is not present. Either rates, oil, or both are low enough that the economy is not being compressed from both sides.
Important caveats
• The reference hlines are approximate visual guides, not precise thresholds. The exact values of the January 1980 and March 2008 peaks depend on whether you use spot or front-month oil, daily or monthly yield data, and which exact date you measure. Adjust the hline levels to match what you see on your chart's data.
• This indicator says nothing about when the resolution occurs. January 1980 conditions persisted for months before the recession officially began. March 2008 was already in crisis but the worst was still six months away. Extreme readings are a condition, not a timer.
• The product can decline by either input falling. A drop driven by collapsing oil demand (2008 scenario) means something very different from a drop driven by rate cuts (stimulative policy). The direction of the decline matters as much as the decline itself.
═══════════════════════════════════════════════════════════════════
█ SETTINGS
• 10-Year Yield Symbol: defaults to TVC:US10Y. Can be changed to FRED:DGS10 or any other yield source.
• Oil Symbol: defaults to NYMEX:CL1! (WTI front-month continuous). Can be changed to TVC:USOIL, NYMEX:BZ1! (Brent), or any other crude benchmark.
═══════════════════════════════════════════════════════════════════
█ ATTRIBUTION
The yield × oil product as a macro stress indicator is attributed to Luke Gromen, founder of FFTT (Forest for the Trees). Gromen has highlighted this combined metric in his subscriber research and public commentary as a concise measure of stagflationary pressure, noting that its extreme readings have historically coincided with only the most severe economic stress episodes since 1980.
Disclaimer: This indicator is an educational and analytical tool. It does not constitute investment advice. Past historical patterns do not guarantee future outcomes. Always conduct your own research and risk management.
This indicator plots the product of the US 10-Year Treasury yield and the price of crude oil. The resulting composite captures a specific macro stress condition: when the cost of money and the cost of energy are both elevated simultaneously, the real economy is being squeezed from two directions at once. Historically, extreme readings in this product have preceded severe economic contractions.
The concept is drawn from Luke Gromen's macro framework at FFTT, where he identifies this combined measure as a concise summary of stagflationary pressure on the economy.
═══════════════════════════════════════════════════════════════════
█ CONCEPT
Interest rates and energy prices are the two most pervasive input costs in any modern economy. Elevated rates raise the cost of capital, slow credit creation, and compress asset valuations. Elevated oil prices increase transportation, manufacturing, and agricultural input costs, feeding directly into consumer prices. When both are high simultaneously, the economy faces a pincer: tightening financial conditions on one side, rising real-world costs on the other.
Neither variable in isolation tells the full story. Rates can be high during healthy expansion (late 1990s), and oil can be high during loose monetary policy (2005 to 2007). The product of the two, however, spikes only when both pressures converge. This convergence historically coincides with or immediately precedes recessions.
═══════════════════════════════════════════════════════════════════
█ HISTORICAL REFERENCE POINTS
Going back to 1980, the yield × oil product has reached extreme levels only twice before:
• January 1980: The Fed funds rate had been ratcheted above 13% and oil had doubled following the Iranian Revolution. What followed was a vicious double-dip recession (January to July 1980, then July 1981 to November 1982) that drove unemployment above 10%.
• March 2008: The 10-year yield sat above 3.5% while oil surged past $100 on its way to $147 in July. The global financial crisis was already underway, with Bear Stearns collapsing that same month. The S&P 500 would lose more than half its value over the following year.
Both prior extremes resolved through demand destruction and economic contraction severe enough to pull one or both inputs sharply lower. The indicator's current reading context is left to the chart.
═══════════════════════════════════════════════════════════════════
█ HOW TO USE
This is a macro context indicator, not a trade signal generator. It belongs on a weekly or monthly chart as a background condition monitor alongside your existing framework.
Reading the chart
• Rising toward or above the red reference line: The economy is experiencing the same dual squeeze that preceded the two worst economic outcomes of the last 45 years. Risk management should be prioritized over return seeking.
• Between the yellow and red reference lines: Elevated but not extreme. Conditions are stressful but not historically unprecedented. Warrants caution.
• Below the yellow reference line: The dual squeeze is not present. Either rates, oil, or both are low enough that the economy is not being compressed from both sides.
Important caveats
• The reference hlines are approximate visual guides, not precise thresholds. The exact values of the January 1980 and March 2008 peaks depend on whether you use spot or front-month oil, daily or monthly yield data, and which exact date you measure. Adjust the hline levels to match what you see on your chart's data.
• This indicator says nothing about when the resolution occurs. January 1980 conditions persisted for months before the recession officially began. March 2008 was already in crisis but the worst was still six months away. Extreme readings are a condition, not a timer.
• The product can decline by either input falling. A drop driven by collapsing oil demand (2008 scenario) means something very different from a drop driven by rate cuts (stimulative policy). The direction of the decline matters as much as the decline itself.
═══════════════════════════════════════════════════════════════════
█ SETTINGS
• 10-Year Yield Symbol: defaults to TVC:US10Y. Can be changed to FRED:DGS10 or any other yield source.
• Oil Symbol: defaults to NYMEX:CL1! (WTI front-month continuous). Can be changed to TVC:USOIL, NYMEX:BZ1! (Brent), or any other crude benchmark.
═══════════════════════════════════════════════════════════════════
█ ATTRIBUTION
The yield × oil product as a macro stress indicator is attributed to Luke Gromen, founder of FFTT (Forest for the Trees). Gromen has highlighted this combined metric in his subscriber research and public commentary as a concise measure of stagflationary pressure, noting that its extreme readings have historically coincided with only the most severe economic stress episodes since 1980.
Disclaimer: This indicator is an educational and analytical tool. It does not constitute investment advice. Past historical patterns do not guarantee future outcomes. Always conduct your own research and risk management.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.