if ( rules)
{indicatorBar = CurrentBar;}
Then I want to enter long if a bar closes high than the Close of the last indicatorBar. Something like this...
if (Close[0] > CLOSE OF LAST indicatorBar)
{EnterLong}
Naming the indicatorBar is easy enough, but I need to get the Close of this bar so I can see when a bar closes above it.

Comment