Download MetaTrader 5

New HistorySelectByPosition() Function

To add comments, please log in or register
Trade like successful traders - subscribe to their signals!
Wackena
648
Wackena 2010.06.24 16:39 
In my testing of the new HistorySelectByPosition() function, this function worked OK in a Demo account, but did not work in the Strategy Tester. I have attached a test EA that will open multiple trades in one direction (short). Could someone confirm if the Log Print("pos_id = ",pos_id,"   HistoryDealsTotal() = ",total); in this EA will print correct results in both demo and Strategy Tester.
Alexey Da
Moderator
6606
Alexey Da 2010.06.24 19:41  

Thank you.

We will check it.

To add comments, please log in or register