Type/to search
Built-in Functions
Structures
Ticker
Depth
OrderBook
Trade
Record
Market
Order
Condition
Account
Asset
Position
Funding
Other Structures
HttpQuery-options
HttpQuery-return
LogStatus-table
LogStatus-btnTypeOne
LogStatus-btnTypeTwo
Status Bar Components
grid
tabs
kpi
stat
progress
gauge
sparkline
chart
heatmap
calendar
histogram
pie
timeline
markdown
alert
badge
Chart-options
Chart-return
KLineChart-options
KLineChart-return
SetData-data
EventLoop-return
exchange.Go-return
DBExec-return
Dial-return
Thread.join-return
Built-in Variables and Constants
Conventions
Exchanges

LogStatus accepts objects with a type directly, and the status bar renders them as components such as KPI cards, charts and tabs. Components are for display only; use status bar buttons for interaction.

The table lists all components; tables and buttons can be placed next to them.

ComponentUse
gridGrid layout that drops columns with the container width
tabsTabs
kpiKPI card
statKey-value list
progressProgress bar
gaugeGauge
sparklineSparkline
chartLine, bar and area charts with a right axis and buy/sell marks
heatmapHeatmap
calendarReturn calendar
histogramHistogram
piePie chart
timelineTimeline
markdownMarkdown text
alertAlert
badgeBadges
LogStatus-tableTable (type is table) with column formats and up/down colors
LogStatus-btnTypeTwoButton (type is button); the strategy reads clicks with GetCommand
Common fields

Every component accepts the following fields, written the same way.

FieldDescription
idStable identifier. Set it when the number or order of components changes, so refreshes do not rebuild the component (tabs keep their selection, charts do not flicker)
spanColumns spanned in the enclosing grid, default 1
colorup and down colors (following the page's up/down color setting; FMZ defaults to green for up and red for down), primary theme color, warning color, muted secondary text color; other values are ignored
formatNumber format: precision decimal places; compact: true for compact notation (12.3K); percent: true shows a ratio as a percentage (0.12 shows 12%). Without it up to 8 decimals are kept, with digit grouping by page language

Texts such as title, label and text support the [trans] bilingual tag like status bar text. Colors follow the page's light or dark theme. A malformed component (missing required field, unknown type, over a limit) shows an error card only in its own place, naming the faulty field and showing the first 200 characters of its JSON; the other components render as usual.

In this sectionRead the whole section

NameDescription
gridArranges components in columns and drops columns automatically when the container gets narrow.
tabsGroups components into tabs; the selected tab is kept when the status bar refreshes.
kpiShows one prominent number with optional unit, change and hint, for equity, returns or the last price.
statLists label and value pairs, for details such as balances, frozen funds, leverage or liquidation price.
progressShows a ratio, or current value / total, as a bar.
gaugeShows where a value sits in a range on a half-circle dial, with optional threshold colors; for RSI, exposure or risk.
sparklineShows a number with a small trend line, colored by the first-to-last change by default.
chartDraws line, bar or area charts with several series, a right axis and buy/sell marks; use Chart for more options.
heatmapShades a 2D grid by value, for returns by period and symbol or correlation matrices.
calendarShows returns as daily heat cells (like a contribution graph) or as a year × month table.
histogramBins raw data automatically and shows the counts with sample size, mean, median and share of positive values.
pieShows the share of each part in the total; a donut by default with the total in the center.
timelineLists events in order, for fills, trading signals or risk events.
markdownRenders Markdown text with headings, lists, bold and tables, for strategy notes and market commentary.
alertShows an info, success, warning or error message with an icon, for risk and error notices.
badgeShows small labels with a dot inline, so they can follow a line of text.