MQL4的官方文档中对OrderSelect的定义是这样的: https://www.mql5.com/en/docs/trading/orderselect 但是当我们的EA去执行了OrderSend方法去挂单,等挂单触发后,再去调用OrderSelect方法来查询当前订单池(比如OrderSelect(n, SELECT_BY_POS)),这个时候遍历订单池,查找新生成的订单,可以查询到OrderType是sell stop的挂单...
MQL4 Programming Help!!! - Only One Opened Trade Pair, Per Signal. How to get data from orders generated in strategy tester (offline) and write to .csv file ? hey, you could probably loop through all the orders once and count them by pairs separately (for example in array with counter ...