mz1zcd / Publications
Forum
Closing Position via FIFO in a fast moving market
I'm having trouble enforcing FIFO closing of positions in a fast moving market in MQL4. Based on other forum questions I keep a class array of my open orders sorted by OrderOpenTime. I use Limit Orders exclusively to open these positions. The order in which these limit orders can be triggered cannot