论坛

HistoryTotal() and ordersHistoryTotal()

请教那一位能回答这个问题?如果MT4程序员能够回答更好。先在这里谢谢了。 for(int i = 0; i < HistoryTotal(); i++) { OrderSelect(i, SELECT_BY_POS, MODE_HISTORY); } 这个编写方式为什么能够编译通过?我在好几个程序中发现了这个问题。 HistoryTotal()既不是程序自带的函数,也不是自定义函数,难道 HistoryTotal()与Orders HistoryTotal()一样吗? 另外,以下写法居然也能编译通过,不知是何原因? Highest(NULL, 0, MODE_HIGH, Lasttime()

the function for quit MT4

In MT4, It is good if there is a function out of the MT4. That is, when the profit or loss to achieve the target value, all flat out positions, exit MT4. And then automatically shut off the computer, which can save the energy