MAIDR Documentation - v4.4.0
    Preparing search index...

    Interface CandleShapeThresholds

    How strict each test is, as fractions of the candle's own range.

    interface CandleShapeThresholds {
        marubozuBody: number;
        dojiBody: number;
        dojiShortShadow: number;
        dojiLongShadow: number;
        spinningBody: number;
        spinningShadowGap: number;
        tweezerLevel: number;
        hammerLowerShadow: number;
        hammerUpperShadow: number;
        hammerBodyFloor: number;
        trendLookback: number;
        starLargeBody: number;
        starSmallBody: number;
        soldierShadow: number;
    }
    Index

    Properties

    marubozuBody: number

    A marubozu's body must be at least this much of the range (#731).

    dojiBody: number

    A doji's body may be at most this much of the range (#733).

    dojiShortShadow: number

    A doji variant's short shadow may be at most this much (#733).

    dojiLongShadow: number

    A doji variant's long shadow must be at least this much (#733).

    spinningBody: number

    A spinning top's body may be at most this much of the range (#732).

    spinningShadowGap: number

    How far a spinning top's two shadows may differ (#732).

    tweezerLevel: number

    How far two candles' shared level may differ and still be one, as a fraction of the two ranges' mean (#737).

    hammerLowerShadow: number

    A hammer's lower shadow must be at least this many bodies (#734).

    hammerUpperShadow: number

    A hammer's upper shadow may be at most this much of the range (#734).

    hammerBodyFloor: number

    A hammer's body must sit at least this far up the range (#734).

    trendLookback: number

    How many earlier closes a hammer's run is read from (#734).

    starLargeBody: number

    A star's outer candles fill at least this much of their range (#739).

    starSmallBody: number

    A star's middle candle fills at most this much of its range (#739).

    soldierShadow: number

    A soldier's or crow's shadow, at most this much of its range (#740).