Skip to content

make 'crossany' more useful #103

Open
@aEgoist

Description

@aEgoist

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions