INVITE-ONLY SCRIPT
CapitalFlowsResearch: YC Regime (Shading)

CapitalFlowsResearch: YC Regime (Shading) — Yield Curve Environment Overlay
CapitalFlowsResearch: YC Regime (Shading) turns the yield curve into a live, colour-coded market backdrop, classifying the curve into six intuitive regimes: bull steepener, bear steepener, steepener twist, bull flattener, bear flattener, and flattener twist. Instead of staring at raw spreads or multiple rate charts, you get a simple visual answer to: “What kind of curve move am I trading in right now?”
The script compares a short-dated and long-dated yield and tracks how both the spread and the individual legs have evolved over a chosen lookback window. From that, it tags each bar with the dominant curve regime and paints either the background or the candles accordingly, so regime changes are immediately obvious on any price chart you overlay it on. An optional on-chart legend summarises the regime definitions and colour scheme, making it easy to interpret at a glance and consistent across instruments and timeframes.
In practice, this overlay acts as a rates context layer for everything else you trade—equities, FX, credit, commodities—helping you link price action back to whether the curve is bull-steepening, bear-flattening, or twisting in ways that often line up with shifts in macro narrative, policy expectations, and risk appetite, all without exposing the underlying classification logic.
CapitalFlowsResearch: YC Regime (Shading) turns the yield curve into a live, colour-coded market backdrop, classifying the curve into six intuitive regimes: bull steepener, bear steepener, steepener twist, bull flattener, bear flattener, and flattener twist. Instead of staring at raw spreads or multiple rate charts, you get a simple visual answer to: “What kind of curve move am I trading in right now?”
The script compares a short-dated and long-dated yield and tracks how both the spread and the individual legs have evolved over a chosen lookback window. From that, it tags each bar with the dominant curve regime and paints either the background or the candles accordingly, so regime changes are immediately obvious on any price chart you overlay it on. An optional on-chart legend summarises the regime definitions and colour scheme, making it easy to interpret at a glance and consistent across instruments and timeframes.
In practice, this overlay acts as a rates context layer for everything else you trade—equities, FX, credit, commodities—helping you link price action back to whether the curve is bull-steepening, bear-flattening, or twisting in ways that often line up with shifts in macro narrative, policy expectations, and risk appetite, all without exposing the underlying classification logic.
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系Capital_Flows_Dev。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Please contact Capital Flows Admin on substack at https://capitalflowsadmin.substack.com/ for access.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系Capital_Flows_Dev。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Please contact Capital Flows Admin on substack at https://capitalflowsadmin.substack.com/ for access.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。