I have a situation where an if statement with multiple arguments is behaving unexpectedly. As example, where you wanted to discard any bar that does not have the currentbar's high being higher than the prior two bars and the currentbar's high being higher than one of the third or fourth prior bars, would the below code work? If not why?
As always any assistance would be appreciated.
Shannon
Comment