Exposure Net Currency Panel

  • Indicatori
  • Keiki Ishii
    Keiki Ishii
    Independent MQL5 developer from Japan.
    I build tools for MetaTrader 5 traders: risk managers, indicators and Expert Advisors.
    How I work:
    - Every product is tested in the Strategy Tester and on demo accounts (hedging and netting) before release.
  • Versione: 1.0
  • Attivazioni: 5

Exposure Net is a display-only panel that folds your open positions (and optional pending orders) into net directional exposure by currency, metal, index, and crypto unit. It has no trade signals and never places orders.

Running several EAs or manual positions at the same time often hides concentration. Three different gold EAs buying XAUUSD alongside a long EURUSD trade all stack into one large short USD exposure. Exposure Net adds up the sign and quantity of every position so you can see the real net bias in one table.

What the panel shows

  • Net exposure by currency and asset: folds FX pairs into base and quote currencies, spot metals (XAU, XAG, XPT, XPD) into troy ounces plus their quote currency leg, crypto CFDs into coin units plus optional quote currency leg, and equity indices or other CFDs into contract units in their own directional bucket.

  • Account currency equivalents: converts both Net and Gross exposure into your account currency (USD, JPY, EUR, etc.) and displays Eq x ( |Net| / Equity ).

  • Hedging and netting support: when long and short positions on a hedging account cancel out, the row shows HEDGE (net 0) while keeping the full Gross amount visible. You can hide flat rows if you prefer.

  • Optional pending orders: include Limit, Stop, and Stop Limit orders in the folded totals with one input.

  • Magic number breakdown: an optional lower table groups open trades by magic number (including 0 (Manual) ), showing count, gross notional, and top net legs. Toggle it anytime with the Magic button on the panel, or filter to specific magic numbers.

  • Concentration thresholds and optional alerts: highlight rows in amber (Warning) or red (Alert) when |Net| exceeds your chosen Equity multiple, account currency amount, or share of total net exposure. Optional popup and mobile push alerts trigger once per threshold crossing with a per-bucket cooldown.

Built for real broker specifications

  • Reads each symbol's actual contract size ( SYMBOL_TRADE_CONTRACT_SIZE ), handling standard, mini, micro, cent, metal, index, and crypto CFD units without hardcoding lot sizes.

  • Indices (such as US100, US500, GER40, JP225) stay in their own directional index bucket instead of being misclassified as FX currency legs.

  • When a symbol reports zero tick value, conversion falls back automatically to OrderCalcProfit and then Market Watch cross rates.

  • Symbols with quotes older than 10 minutes or zero spread are marked with * and ranked below live quotes.

  • If the indicator adds any unquoted position symbol to Market Watch for pricing, it removes only the symbols it added when detached.

  • Batched scanning ( InpItemsPerPass ) keeps the chart responsive even on accounts with many open positions and pending orders.

Empty panel when flat

  • When you have zero open positions (and zero pending orders if included), the panel stays cleanly empty. No sample trades or fictional numbers are displayed.

What it does not do

  • No correlation estimates, beta weights, or synthetic hedge calculations. It folds exact position sign and quantity only.

  • No trade signals, no arrows, and no automated trading. It does not open, close, or modify orders.

  • Displaying concentration is an inventory view; it does not predict market direction or improve trading results by itself.

Inputs (main)

  • Scope: include pending orders, fold quote leg for metals / crypto, hide flat hedged rows, magic number filter

  • Thresholds and alerts: threshold mode (Equity multiple, account currency, % share, or Off), warning and alert levels, enable alerts, cooldown seconds, popup / push

  • Table: initial sort ( |Net| , Gross , Name ), rows per page, show magic breakdown, max magic rows, update interval, items per pass, footer note

  • Panel: corner, X/Y offset, font size, background, text, Long / Short / Warning / Alert colors

Notes

  • Works on any account currency, hedging or netting account, and any tradable symbol on your MT5 terminal.

  • In the Strategy Tester with no open positions, the indicator displays the empty panel as expected.

  • No DLL. No web requests.


Altri dall’autore
Equity Guard is a risk manager for MT5. It has no trading strategy. It watches every position on your account: positions from other Expert Advisors and manual trades. When a position breaks the rules you set, Equity Guard closes it, or adds a stop loss to it. Use it next to your own EAs, or while you trade by hand. It works on hedging and netting accounts, on any symbol. What it does Daily loss limit. Set the limit in percent or in money. When today's loss reaches it, the panel turns to BLOCKED.
Spread ATR Gate shows how much of your move the trading cost takes. It has no trade signals and never trades. Spread in points does not say much on its own. 30 points is small on a 4-hour gold chart and large on a 1-minute chart. Spread ATR Gate compares the round-trip cost (spread + the commission you enter) with the average bar range (ATR) and with the target distance you plan to use, and colors the result green, yellow or red. It works on any symbol: forex (including JPY pairs), gold and othe
Loss Streak Card shows how long a losing streak is normal at your win rate, and whether your current streak is inside that range. It has no trade signals and never trades. Losing streaks come from the win rate itself. At a 35% win rate, a run of 10 losses in a row happens in about 3 out of 4 sequences of 300 trades. At a 70% win rate, 5 losses in a row still happen in more than half of the sequences of 500 trades. Traders who do not expect this often increase the lot after losses. Loss Streak Ca
One Shot Panel is an order panel for manual traders. One click sends one market order with a stop loss, with the lot calculated from your risk and your stop distance. It refuses the orders that usually make a losing day worse: removing or widening a stop, adding to a losing position, and a bigger lot right after a loss. It has no trading idea of its own. You decide when to buy or sell. The panel does the arithmetic and keeps the rules you set while you are calm. Order buttons BUY and SELL : one
News Flat marks the minutes around economic releases on your MT5 chart, and can keep your account flat during them. It has no trading strategy. It reads the economic calendar built into MetaTrader 5. For the currencies of your chart symbol, it shades a window from X minutes before to Y minutes after each important release. You choose the importance and the window length. What you do with the window is your choice: watch it, or let News Flat close trades opened inside it. News Flat does not trade
Session Cost Map draws the Tokyo, London and New York session ranges and measures what happened after a range break on your own chart history, after your trading cost. It has no trade signals and never trades. "Asian range breakout" and "London breakout" are popular ideas. Session Cost Map does not give you an arrow for them. It gives you the numbers: how many breaks there were in the loaded history, and the average move N bars later, before and after the round-trip cost. Our own measurement. In
Swap Payback is a multi-symbol table that shows how many rollover days a positive swap needs to pay back the spread. It has no trade signals and never trades. A positive swap looks attractive in the symbol specification. But you pay the spread (and maybe a commission) when you open and close. Swap Payback puts the swap and the cost side by side for many symbols at once, and counts the days. What each row shows Swap long and swap short for one rollover, in your account currency per 1.00 lot and i
Strength Regime Board ranks the 8 major currencies and Gold by ATR-normalized price movement and labels each volatility regime as CONTRACT, NORMAL, or EXPAND. It is a display-only board with no trade signals and no automated orders. Standard percentage strength meters are often dominated by high-volatility JPY crosses, and watching XAUUSD alone does not tell you whether Gold moved or the US Dollar moved. Strength Regime Board divides each pair's price change by its own ATR, puts Gold on the same
Filtro:
Nessuna recensione
Rispondi alla recensione