sHistoryExport – handy script to export the historical data in the МetaТrader 4 format – script MetaTrader 5

sHistoryExport - handy script to export the historical data in the МetaТrader 4 format - script for MetaTrader 5
Script for historical data export. Problems with history in MetaTrader 4? Load the detailed history of any depth from MetaTrader 5!   Step 1: Set up Load script in the “terminal_data_folder\MQL5\scripts\”. Load libraries CheckHistory and String to the “terminal_data_folder\MQL5\Include\komposter\”. Compile the script.    Step 2: Set the depth of the history Go to the menu “Tools – Options”