PINE LIBRARY

PubLibSwing

โดย 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

ไลบรารีไพน์

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

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