You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: