MidpointTwo Parameters

Each row below shows a parameter the MidpointTwo strategy actually uses, its current value, and a one-line plain-English definition of what it controls. Values are pulled live from the strategy's source code, so this page always reflects the algorithm as it runs today.

  • Long Lookback (p1)
    150 bars

    Longest base period used to locate the consolidation midpoint (daily; 75 on weekly).

  • Mid Lookback (p2)
    100 bars

    Intermediate base period for midpoint validation (daily; 50 on weekly).

  • Short Lookback (p3)
    75 bars

    Shortest base period for midpoint validation (daily; 25 on weekly).

  • Midpoint Tolerance
    90-103%

    Price must sit within this band of the computed midpoint to qualify for entry.

  • Up/Down Ratio Floor
    0.9

    Up/down volume ratio must exceed this threshold to confirm demand.

  • Range Position Floor
    40%

    The lowest prices must hold above 40% of the highest to confirm a valid base.