Oanda X Order Book Chart
This tool for MetaTrader 4 is specifically engineered to streamline your trading operations. This technical indicator acts as a specialized analysis tool designed to visualize market data. It helps traders identify emerging trends, momentum shifts, and key support or resistance levels by plotting statistical calculations directly onto price charts.
How to Setup and Use Oanda X Order Book Chart
1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.
2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.
3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.
4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.
Frequently Asked Questions
Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."
Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).
Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.
Description & Settings
The
OandaX
product series is designed to display additional data on orders and positions provided by the
Oanda FxLabs
service.
The
OandaX OrderBook Chart
indicator is designed to display the history histogram of orders or positions on the instrument, nearest to the time specified by user on the chart (vertical line is used for indication). For the constant update of data it is necessary for the EA to be running in the terminal. To display the previously downloaded data, the EA is not required.
This indicator serves as an example of calling to the data of histogram downloaded by the EA. The histogram scale is linked to the chart scale. This means that unlike the
OandaX OrderBook Image History
indicator, the histogram will be drawn not at the user-defined location, but directly on the chat area, for which the data had been downloaded. The time for which the histogram is drawn will be displayed in the upper left corner (using the Comment function).
If the vertical indication line is located at the 0 bar or to the right from it (at the location of upcoming history), the line will be automatically moved to the right when a new bar appears. This is done to be able to constantly monitor the latest data downloaded.
The order book (
OrderBook
) or
Open Orders
. This is a histogram that shows the distribution of limit and stop orders by price levels. The limit orders include the
Buy Limit
orders and the
Take Profit
levels. The stop orders include the
Sell Limit
orders and the
Stop Loss
levels.
Position book or
Open Positions
. This histogram shows the distribution of prices, at which the active positions of traders were opened at the time the histogram was formed.
The above information is available for 16 instruments:
AUDJPY, AUDUSD, EURAUD, EURCHF, EURGBP, EURJPY, EURUSD, GBPCHF, GBPJPY, GBPUSD, NZDUSD, USDCAD, USDCHF, USDJPY, XAUUSD, XAGUSD.
The minimum step of history data is 20 minutes, but depending on the history depth the step can increase up to 24 hours, there can also be unexpected gaps.
Four display formats are available for both (orders and positions) histograms:
basic; displays a basic level histogram without further processing
cumulative; the values of all the previous levels are added to each level
simple difference; instead of short and long orders (positions), their difference is displayed
cumulative difference; difference for the cumulative histogram
The data is downloaded and saved by
UTC
time, therefore, for the correct display of the histogram time, set the correct time zone of your broker server relative to
UTC
in the indicator settings
Indicator parameters
Use Custom Instrument — True
, if you have non-standard instrument names or if you need to display a histogram of another instrument on the chart;
Custom Instrument Name
—
instrument name in the format of
Oanda FxLabs
. For
EURUSD
—
EUR_USD
, for
Gold
,
XAUUSD
—
XAU_USD
, for
Silver
,
XAGUSD
—
XAG_USD
;
Server UTC Time Offset
—
time zone of your server relative to
UTC
Show Histogram Cumulative
—
if
True
, draws cumulative histogram, i.e. the values of previous levels are added to each subsequent level;
Show Histogram Difference
—
if
True
, displays difference horizontal, i.e. displays not buy or sell levels for the horizontal level, but their difference. Also works for the cumulative mode.
Show Orders (Positions if False)
—
if
True
, displays histogram of orders, if
False
, displays histogram of positions, i.e. level distribution of the prices the current positions were opened at.