testevpsa1 / Publications
Forum
How to update the log file?
Hello I'm trying to use the log file to recover the Alert signals but the mt4 doesn't update it in "real time", it takes some seconds. How can I make the mt4 to continuasly update the log file
How to use OrderPrint() and write it to a file?
Hello, I'm trying to recover the last open order on Metatrader and write into a file. I'm getting this error: Expression has no effect, expression of 'void' type is illegal. Could someone give a me help here? Thanks for your help! CODE: int OnInit () { //--- Alert ( "WatchBOT initiated." );
[Newbie code] How to write all open orders to a file?
Hello guys, i'm starting in MQL programming and I want to do a simple thing: Constantly check (loop) the open orders and write them into a file. Please, could someone guide me what I need to do? (OrdersTotal? FileWrite?) Thank you for any help, have a good day