PINE LIBRARY

PubLibSwing

Theo theEccentricTrader
Library "PubLibSwing"
swing high and swing low conditions, prices, bar indices and range ratios for indicator and strategy development

sh()
  swing high condition
  Returns: bool

sl()
  swing low condition
  Returns: bool

shbi(occ)
  swing high bar index, condition occurrence n
  Parameters:
    occ (simple int)
  Returns: int

slbi(occ)
  swing low bar index, condition occurrence n
  Parameters:
    occ (simple int)
  Returns: int

shcp(occ)
  swing high close price, condition occurrence n
  Parameters:
    occ (simple int)
  Returns: float

slcp(occ)
  swing low close price, condition occurrence n
  Parameters:
    occ (simple int)
  Returns: float

shp(occ)
  swing high price, condition occurrence n
  Parameters:
    occ (simple int)
  Returns: float

slp(occ)
  swing low price, condition occurrence n
  Parameters:
    occ (simple int)
  Returns: float

shpbi(occ)
  swing high price bar index, condition occurrence n
  Parameters:
    occ (simple int)
  Returns: int

slpbi(occ)
  swing low price bar index, condition occurrence n
  Parameters:
    occ (simple int)
  Returns: int

shrr(occ)
  swing high range ratio, condition occurrence n
  Parameters:
    occ (simple int)
  Returns: float

slrr(occ)
  swing low range ratio, condition occurrence n
  Parameters:
    occ (simple int)
  Returns: float
statisticsstrategiestechindicator

Thư viện Pine

Theo tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này dưới dạng thư viện nguồn mở để các lập trình viên Pine khác trong cộng đồng của chúng tôi có thể sử dụng lại. Chúc mừng tác giả! Bạn có thể sử dụng thư viện này riêng tư hoặc trong các bài đăng nguồn mở khác. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ.

Thông báo miễn trừ trách nhiệm