Lets get maximum position profit.
MaxPositionProfit members:
// Properties
int this[int positionAgo] // returns maximum position profit including positionAgo entry
// positionAgo is counted as follows:
// MaxPositionProfit[0] - maximum position profit including current position,
// MaxPositionProfit[1] - maximum position profit that was on previous position and so on.