PINE LIBRARY

Library_RICH

Library "Library_RICH"
TODO: add library description here

sum(x) TODO: add function description here
  Parameters:
    x: TODO: add parameter x description here
  Returns: TODO: add what function returns

checkBuyReversal() : ckeck if there are buy reversal conditions (divergences) in rsi
insure that the bar count since the last pivot low is within the specified range (min- and max range)
ckeck if there is a higher-low in rsi and lower-low in the price
(doubel) ckeck if buy reversal condition is true
  Parameters:
    : : rsi value, pivot left lenght, pivot right lenght, min. and max. range
  Returns: : two values: bar-reversal-condition (true) and pivot low if is true

checkBuyContinuation() : ckeck if there are buy cintinuation conditions (hidden divergences) in rsi
insure that the bar count since the last pivot low is within the specified range (min- and max range)
ckeck if there is a lower-low in rsi and higher-low in the price
(doubel) ckeck if buy continuation condition is true
  Parameters:
    : : rsi value, pivot left lenght, pivot right lenght, min. and max. range
  Returns: : two results: bar-reversal-condition (true) and pivot low, if is true

checkSellReversal() : ckeck if there are sell reversal conditions (divergences) in rsi
insure that the bar count since the last pivot high is within the specified range (min- and max range)
ckeck if there is a lower-high in rsi and higher-high in the price
(doubel) ckeck if sell reversal condition is true
  Parameters:
    : : rsi value, pivot left lenght, pivot right lenght, min. and max. range
  Returns: : two results: sell-reversal-condition (true) and pivot high, if is true

checkSellContinuation() : ckeck if there are sell cointunuation conditions (divergences) in rsi
insure that the bar count since the last pivot high is within the specified range (min- and max range)
ckeck if there is a higher-high in rsi and lower-high in the price
(doubel) ckeck if sell continuation condition is true
  Parameters:
    : : rsi value, pivot left lenght, pivot right lenght, min. and max. range
  Returns: : two results: sell-continuation-condition (true) and pivot high, if is true
techindicator

Библиотека Pine

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

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