Symbol Info Card
Sizing a stop, checking whether a pending order is far enough from price, or working out the cost of holding overnight all need the same handful of MarketInfo() figures: stop level, freeze level, tick value, tick size, contract size, swap long/short and margin per lot. Normally that means opening the symbol's Properties dialog or Market Watch column view mid-trade. This card keeps all of it on the chart, in one place, always current. Every field is re-read from MarketInfo() on each refresh rather than cached once at attach time. Stop level and freeze level can be session-dependent on some brokers, swap can jump on a triple-swap day, and margin requirements can change intraday on broker notice - a cached card would look authoritative while quietly showing stale numbers exactly when it matters most. Notes and limitations The card always reflects Symbol() - the symbol of the chart it is attached to - not an arbitrary user-chosen symbol, so it needs to be attached to (or duplicated onto) whichever chart you are actually about to trade. Spread is read live and can jump around a news release or at session open/close; the card shows the instantaneous value at each refresh, not a smoothed or historical average.
Indicator · MT4 · v1.0 · Free
About Symbol Info Card
Symbol Info Card is an indicator for MetaTrader 4. It has 5 settings, such as Corner, X offset and Y offset. MQL source code included.
Files in the download: SymbolInfoCard.mq4, SymbolInfoCard.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| Corner | CORNER_RIGHT_UPPER | Panel corner |
| X offset | 10 | Horizontal offset from the corner, in pixels |
| Y offset | 20 | Vertical offset from the corner, in pixels |
| Font size | 9 | Panel font size |
| Text color | clrWhite | Text colour |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: Pending Orders · MT4 Indicator · MQL4 Source Code