CapitalFlowsResearch: YC Regime (Shading)

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 بالدفع مقابل برنامج نصي أو استخدامه إلا إذا كنت تثق تمامًا في مؤلفه وتفهم كيفية عمله. يمكنك أيضًا العثور على بدائل مجانية ومفتوحة المصدر في نصوص مجتمعنا.
تعليمات المؤلف
إخلاء المسؤولية
نص برمجي للمستخدمين المدعوين فقط
يمكن فقط للمستخدمين الذين تمت الموافقة عليهم من قبل المؤلف الوصول إلى هذا البرنامج النصي. ستحتاج إلى طلب الإذن والحصول عليه لاستخدامه. يتم منح هذا عادةً بعد الدفع. لمزيد من التفاصيل، اتبع تعليمات المؤلف أدناه أو اتصل ب Capital_Flows_Dev مباشرة.
لا توصي TradingView بالدفع مقابل برنامج نصي أو استخدامه إلا إذا كنت تثق تمامًا في مؤلفه وتفهم كيفية عمله. يمكنك أيضًا العثور على بدائل مجانية ومفتوحة المصدر في نصوص مجتمعنا.