OandaX Ratio History
The OandaX product series is designed to display additional data on orders and positions provided by the Oanda FxLabs service.
The OandaX Ratios indicator is designed to display the history data on buyers and sellers ratio. For the constant update of data it is necessary for the OandaX Download Manager EA to be running in the terminal. To display the previously downloaded data the EA is not required.
The ratio of sellers and buyers is the percentage of the number of traders who have short net position (sellers) and a long net position (buyers).
The history 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.
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 (TimeOffset)
- 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
Calculation is performed in the OandaX Download Manager EA when the first tick arrives.
The offset is stored in the MQL4/files/OandaX/utc_offset file
Reworked the configuration of the UTC Offset. When set to "AUTO", the indicator will attempt to apply the shift calculated by the EA. Any other value is considered to be a user-defined offset
Now this indicator is universal and it is able to display all data supported by the EA (except the complex ones, such as OrderBook)
Removed lags. Now the indicator does not slow down the terminal even if there is a lot of data.