Lets get entry price of required position.
EntryPrice members:
// Properties
double this[int positionAgo] // returns entry price of positionAgo entry
// positionAgo is counted as follows:
// EntryPrice[0] - entry price current entry,
// EntryPrice[1] - entry price of previous entry and so on.