OPEN-SOURCE SCRIPT
Updated MAEM - Macro Barometer

A compact macro dashboard for traders who can't watch four charts at once. MAEM - Macro Barometer places a single table on your active chart showing the live bias (Bullish / Bearish / Flat) and an RSI extreme flag (OB/OS) for four classic macro references: DXY, VIX, US10Y and WTI Crude Oil — the barometers most traders check before pulling the trigger on Gold, indices, or FX, regardless of what you're actually trading.
HOW IT WORKS
- Bias per barometer = price vs EMA + EMA slope (filters out single-tick whipsaws): Bullish only when price is above a rising EMA, Bearish only when price is below a falling EMA, otherwise Flat.
- The RSI column flags OB (overbought) / OS (oversold) on each barometer, so you catch when a macro driver may be running out of steam before it reverses against your position.
- All four barometers are read on your chart's own timeframe via request.security(), non-repainting (lookahead_off).
CUSTOMIZATION
- Toggle each barometer on/off individually.
- Override any of the four symbols if your broker/feed doesn't carry TVC: data.
- Adjust EMA length, RSI length/thresholds, panel position and text size.
Built for traders who want the macro backdrop at a glance without tab-hopping between separate charts — part of the MAEM suite alongside Structure Suite and Volume Suite.
Release Notes
Adds an optional Pulpo Bot webhook bridge (off by default): fires the combined bias/RSI of all 4 barometers once per bar close, used only as a visual cross-check by the bot MacroAgent, never as a replacement for its own institutional macro data. Same security pattern as Structure Suite: the webhook secret lives only in your local indicator settings, never in the published code.Release Notes
Chart preview cleanup only: republished with a clean chart (Macro Barometer alone, no other MAEM indicators overlapping) so the profile thumbnail clearly shows what this script does. No changes to bias/RSI logic or the webhook bridge.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.