Download Series Integer Info and Rates Bar Information Utility, displays how many bars there are in all timeframes for any user selected symbol, and shows the 'Copy Rates' information availablity for any bar for MetaTrader 5

Series Integer Info and Rates Bar Information Utility, displays how many bars there are in all timeframes for any user selected symbol, and shows the 'Copy Rates' information availablity for any bar

Series Integer Info and Rates Bar Information Utility, displays how many bars there are in all timeframes for any user selected symbol, and shows the 'Copy Rates' information availablity for any bar

This is a powerful addition to your MetaTrader 5 toolkit designed to optimize market analysis and performance. 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 Series Integer Info and Rates Bar Information Utility, displays how many bars there are in all timeframes for any user selected symbol, and shows the 'Copy Rates' information availablity for any bar

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


This utility is not a trading information utility. It will only have value for those getting information on the Number of Bars that have terminal data. This utility uses the functions
SeriesIntegerInfo
and
CopyRates
to obtain and display information about the availability of bar information from the terminal.
The utility allows the user to use the current chart symbol (default) or input any symbol in their market watch, and creates a column with three items of information returned by the SeriesIntegerInfo function in each timeframe for the symbol.

SERIES_SYNCHRONIZED
, if the data in the terminal is synchronized (the indicator display's SYNC or UN_SYNC for the functions true or false).

SERIES_BARS_COUNT
, the Bars available in that time frame (including bar zero).

SERIES_FIRSTDATE
, the date of the oldest bar in that time frame.
The utility also makes a 2nd column showing CopyRates information for any valid bar in each time frame (valid bars are based on the information returned from SeriesIntegerInfo). The utility defaults to displaying the CopyRates information for the oldest bar in each timeframe (as indicated by SERIES_BARS_COUNT), but the user may input any valid bar number they desire.
The indicator display stabilizes as the terminal initializes data for a few seconds, to a typical chart as shown below, as list with several 4401 'Terminal Data not Available" errors. Scroll below to see a description of what the numbered controls do:
The Controls:
1) "Rates and Bar" - Select and drag to move the display to a different location on the chart.
2) This is the Bar Number input Box. Enter a bar number to see if CopyRates information is available for that bar.
3) "Symbol" - Click to toggle the Bar Number to the 'Oldest' default, or the last entered bar number.
4) This is the Symbol input Box. Input any symbol in your Market Watch to display for that symbol.
5) Click the MN1 CopyRates information to toggle writing logs on and off. When on, errors returned from Bars and CopyRates will be written to the logs.
During my testing, SeriesIntegerInfo would report bar values greater than 100,000, but CopyRates never appears to get data for bar numbers greater than 99,999. The below picture shows the CopyRates 4401 error for bar 100,0000, and the success for bar 99,9999:

You May Also Like

RobotFX does not own any of the code provided on this platform. All tools are freely available on the internet; we simply index and re-offer them for download. We are not responsible for any financial losses that may occur. Trading responsibilities rely solely on the traders downloading and using the displayed Expert Advisors, indicators, and scripts. These tools are provided for educational purposes only and may require modification or optimization to align with a trader's specific strategy or needs.
© ROBOTFX - Best MetaTrader Expert Advisors & Indicators