i need MT5 script which converts the tick data into OHLC bars as per my logic and then export the converted tick data in real-time to .csv file, need ability to export x number of historical minutes on initial load and then append new bars as they come. the script must be stable it will run 24/7 Date and Time needs to be converted From UTC which is default mt5 to pc local pc time. To Convert the Tick bars to OHLC as following columns in output csv file. Date,Time,Open,High,Low,Close,Vol Date: Same as Tick bar Time: Same as Tick Bar Open: Previous tick Last Value High: Previous tick Last Value Low: Previous Tick Last Value Close: Current Ticks Last value. Initial Tick History to Export(Minutes): Allow to set Tick history to export on initial run, if set to say 20 then on initial run it will backfill export 20 min of tick data to csv file and then append new tick data to csv file as new data comes in. The Script will be run on at least 10 charts 24/7 so i needs to be stable and fast. I need MT5 Export only who has experience with this already.