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

Библиотека Pine

В истинном духе TradingView автор опубликовал этот код Pine как библиотеку с открытым исходным кодом, чтобы другие программисты Pine из нашего сообщества могли им воспользоваться. Вы можете использовать эту библиотеку в приватных или других публикациях с открытым исходным кодом, но повторное использование этого кода в публикации регулируется Правилами поведения.

Отказ от ответственности