Forum

Read File - return value of variable

Hello, I'm writing values inside a file,line by line, like : OrderTicket1=value1 OrderTicket2=value2 OrderTicket3=value3 ..etc, with : ResetLastError (); string InpDirectoryName = "Telegram - MT4" ; string InpFileName = "values.ini" ; int file_handle= FileOpen

telegram.mqh reply to msg

Hello, I am currently coding an EA with telegram.mqh that send mt4 signals to my telegram. What I'm trying to do now is to make updates about my trades when they hit a TP and send a 'TP hit' message in telegram. This is no big deal but I was wondering if it was possible to link this 'TP hit' message

Auto open chart when a trade is running

Hi, I would like that when I take a trade, it automatically open the corresponding chart in my MT4 and when the trade is closed, the chart auto-close. So that the only opened charts are the ones where a trade is currently running. Does anyone know how I could manage to do that