Say I have an array of "Go Short" signals and an array of "Go Long" signals, I can exrem the arrays against each other to achieve alternation of signals with the "first of each" being recognised.
Does anyone know a way, without resorting to looping, to recognise the "last of each"?
That is, if I have four "Go Long" signals in between two "Go Short" signals, I want to make the first three of the four False.
This is a brain wracker for me.