Open
Description
crossany returns 1 both crossover and crossunder situations
why not return 1 for crossover and -1 for crossunder? then use abs(crossany(..)) to get the original returns if needed.
thus we can get crossover and crossunder in a single calculation, otherwise we'd have to call crossover(a,b) and crossover(b,a) to do so.
Metadata
Metadata
Assignees
Labels
No labels