OPEN-SOURCE SCRIPT
Global Macro Bias Indicator

Global Macro Bias — Know the Environment Before You Trade
Most traders lose not because their setup was wrong — but because they traded against the macro environment without knowing it.
This indicator reads the macro backdrop for you. Every bar. Automatically.
It watches three things the big money watches:
— Whether the bond market is signaling growth or fear
— Whether the dollar is expanding or draining global liquidity
— Whether the market is in appetite or protection mode
Then it gives you one clear read:
🟢 RISK-ON — the environment favors longs and risk assets
🔴 RISK-OFF — the environment favors caution and safety
⚪ NEUTRAL — signals are mixed, better to wait
No numbers to crunch. No settings to change. You open the chart and you know.
How to use it:
— Before you take any trade, glance at the bias
— If you're looking to buy and it says RISK-OFF, that's your warning
— If it says RISK-ON STRONG and your setup aligns — that's confluence
— NEUTRAL means the macro isn't giving a clear edge, reduce size or wait
Works on any chart, any asset. Stocks, forex, crypto, commodities — macro affects everything.
If this helped you see the bigger picture, like and follow. More macro tools coming.
Most traders lose not because their setup was wrong — but because they traded against the macro environment without knowing it.
This indicator reads the macro backdrop for you. Every bar. Automatically.
It watches three things the big money watches:
— Whether the bond market is signaling growth or fear
— Whether the dollar is expanding or draining global liquidity
— Whether the market is in appetite or protection mode
Then it gives you one clear read:
🟢 RISK-ON — the environment favors longs and risk assets
🔴 RISK-OFF — the environment favors caution and safety
⚪ NEUTRAL — signals are mixed, better to wait
No numbers to crunch. No settings to change. You open the chart and you know.
How to use it:
— Before you take any trade, glance at the bias
— If you're looking to buy and it says RISK-OFF, that's your warning
— If it says RISK-ON STRONG and your setup aligns — that's confluence
— NEUTRAL means the macro isn't giving a clear edge, reduce size or wait
Works on any chart, any asset. Stocks, forex, crypto, commodities — macro affects everything.
If this helped you see the bigger picture, like and follow. More macro tools coming.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.