• The pane and scale a study's price input is picked on and anchored to, or null when that cannot be told. An explicit pick target with both halves is used as given. Otherwise the study's own plots decide: the price belongs where they are drawn, which must be one scale on one pane (and inside any half the descriptor did name), since a price read off the wrong scale is a different number.

    Parameters

    • chart: { panes(): readonly unknown[] }
    • study: IndicatorApi
    • key: string

    Returns StudyInputTarget | null