How would I write a condition that confirms that a certain number of bars has passed in a session, rth for example, before evaluating [0] ?
I'm having trouble with an indicator that checks if the close of [0] is greater than the close of [20] , but I don't want the close of [20] to be a bar from a prior session/day. I want [20] to be at least the first bar of a session or greater.
thanks,
David
Comment