[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!

 
testevpsa1: starting in MQL programming, could someone guide me what I need to do?
  1. Decide MQL4 or MQL5. (4 is easier.)
  2. learn to code it
  3. Use this when necessary.
This website uses cookies. Learn more about our Cookies Policy.