OPEN-SOURCE SCRIPT
מעודכן 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.
הערות שחרור
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.הערות שחרור
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.סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.