Hi.

I have attached an image of what I was trying to do with the pivot taken from the last 3 days, and the bars 240mins.

The midpoint should be a series as it compares the close to the midpoint for last bar closed and the close to the midpoint of the 2nd last bar closed.

Is it...
xxx(0) for current open bar
xxx(1) for last closed bar
xxx(2) for 2nd last closed bar?
as all the referenced bars are closed bars

Peter

Attached Files
eurusdh4.png (9 downloads)