Richard37

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

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House Rules.

Frånsägelse av ansvar

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this library?

Copy the following line and paste it in your script.