PINE LIBRARY

SMC_Structure

154
Library "SMC_Structure"

get_swing_high(length)
  スイングハイを取得する
  Parameters:
    length (int): 左右の確認バー数
  Returns: [float, int] スイングハイの価格と発生したバーインデックス

get_swing_low(length)
  スイングローを取得する
  Parameters:
    length (int): 左右の確認バー数
  Returns: [float, int] スイングローの価格と発生したバーインデックス

detect_break(src_price, level, is_bull)
  BOS (Break of Structure) または CHoCH (Change of Character) の判定
  Parameters:
    src_price (float): 現在の価格(終値など)
    level (float): 突破を監視するスイングレベル
    is_bull (bool): 強気目線かどうか
  Returns: bool 構造破壊の有無

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.