Forum

find pending position deleted time in history by its position ticket number

Hi, I going to complete this function to draw closed positions user added to chart. two type of positions we have here : those that opened and pending orders that deleted by user. I have position ticket of all positions in array Closed_order_list[].ticket. problem is for pending orders that never

use FileWriteArray() to write an Aarray of custom struct - ERROR structures or classes containing objects are not allowed

Hi, I have this fuction to write an array to the file : void WriteData() { //--- open the file ResetLastError (); int handle= FileOpen (path, FILE_READ | FILE_WRITE | FILE_BIN ); if (handle!= INVALID_HANDLE ) { //--- write array data to the end of the file FileSeek (handle, 0