Order History Functions
The Order History function library includes these functions:
- The fnGetHistoryInfo function it used to get information about a closed order.
- The fnGetLastTradeDuration is used to get the duration, in minutes, of the last closed trade.
- The fnGetLastClosedTradeSymbol is used to get the currency symbol of the last closed trade.
- The fnGetConsecutiveCount function is used the get the number of the last consecutive winning or losing trades.
- The fnGetLargestProfit function is used to find the largest profit of a closed trade within the last X trades or minutes.
- The fnGetLargestLoss function is used to find the largest loss of a closed trade within the last X trades or minutes.