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

Biblioteca Pine

Siguiendo fielmente el espíritu TradingView, el autor ha publicado este código Pine como una biblioteca de código abierto, permitiendo que otros programadores de Pine en nuestra comunidad lo utilicen de nuevo. ¡Olé por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero tenga en cuenta que la reutilización de este código en una publicación se rige por las Normas internas.

Exención de responsabilidad