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