Export historical data - script for MetaTrader 5

Export historical data - script for MetaTrader 5

The script purpose is to export historical rates data to format, convenient for analysis in external programs, for example, in MathCad (example is attached). The output file contain the historical price data (bars) of the specified month in the following form:  DoubleToString(rates[i].time,0),     // number of seconds, passed from 1 Janunary 1970
SphereSample - script for MetaTrader 5

SphereSample - script for MetaTrader 5

The script SphereSample.mq5 illustrates control of graphic objects using the classes from the Standard Library (Base class of objects array CArrayObj, CChartObjectText).
ObjChartSample - script for MetaTrader 5

ObjChartSample - script for MetaTrader 5

The script ObjChartSample.mql5 illustrates control of chart properties using the classes from the Standard Library (CChart).
sChartsSynchroScroll - script for MetaTrader 5

sChartsSynchroScroll - script for MetaTrader 5

The script provides a synchronous scrolling for all charts opened in the client terminal. Before the script run, enable the chart shift from the right part of the window (enable the button on the Standard toolbar, if the button is absent, you can add it to the toolbar using the right mouse button click on the panel - "Customize..."): Specify the shift size using the triangle marker, located on the upper edge of the chart and configure it as you