New HistorySelectByPosition() Function

 
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.
 

Thank you.

We will check it.