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

Libreria Pine

In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Un saluto all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.

Declinazione di responsabilità