PINE LIBRARY

SlopeUtils

37
Library "SlopeUtils"

calcSlope(src, atr_series, length)
  Calculates a normalized slope based on price change relative to ATR.
  Parameters:
    src (float): (series float) The source input (e.g., close).
    atr_series (float): (series float) The ATR value for normalization.
    length (simple int): (simple int) The lookback period for the slope calculation.
  Returns: (float) The normalized slope value.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน