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 do Pine

De acordo com o verdadeiro espírito do TradingView, o autor publicou esse código Pine como uma biblioteca de código aberto para que outros programadores Pine de nossa comunidade possam reutilizá-lo. Parabéns ao autor! Você pode usar essa biblioteca de forma privada ou em outras publicações de código aberto, mas a reutilização desse código em uma publicação é regida pelas Regras da Casa.

Aviso legal