RozaniGhani-RG

CyclicRsiLib

RozaniGhani-RG Pro+ Updated   
█ OVERVIEW
This library is complementary for Cyclic RSI High Low With Noise Filter.

█ CREDITS
LoneSomeTheBlue
WhenToTrade

AlertFrequency()
  : AlertFrequency
  Parameters:
    : : _string
  Returns: : _freq

CyclicRSI()
  : CyclicRSI
  Parameters:
    : : _source, _length, _expression
  Returns: : osc
Credits to WhenToTrade

AddToZigzag()
  : AddToZigzag
  Parameters:
    : : _id, value, max_array_size
  Returns: : array.unshift, array.pop
Credits to LonesomeTheBlue

UpdateZigzag()
  : UpdateZigzag
  Parameters:
    : : _id, value, max_array_size, dir
  Returns: : AddToZigzag, array.set
Credits to LonesomeTheBlue

BoolZigzag()
  : BoolZigzag
  Parameters:
    : : ph , pl, dirchanged, _id, dir
  Returns: : AddToZigzag, UpdateZigzag
Credits to LonesomeTheBlue

NoiseSwitch()
  : NoiseSwitch
  Parameters:
    : : _string, _id
  Returns: : FilterNoise

LineGray()
  : LineGray
  Parameters:
    : : _id
  Returns: : LineGray

LabelDir()
  : LabelDir
  Parameters:
    : : _id, _string, _color, _float
  Returns: : LabelDir

TernaryLabel()
  : TernaryLabel
  Parameters:
    : : _dir, _bool1, _bool2, _string1, _string2
  Returns: : str_label

TernaryColor()
  : TernaryColor
  Parameters:
    : : _dir, _bool1, _bool2
  Returns: : col_label
Release Notes: v2

Add tuple to CyclicRSI
Release Notes: v3
Release Notes: v4
Add export to StringSwitch
Added:
StringSwitch()
  : StringSwitch
  Parameters:
    : : _string
  Returns: : str_OB, str_OS
Release Notes: v5

Added:
ColorNewSwitch()
  : ColorNewSwitch
  Parameters:
    : : _dir, _bool1, _bool2
  Returns: : NewColor

Updated:
LabelDir()
  : LabelDir
  Parameters:
    : : _id, _string, _color, _dir
  Returns: : LabelDir
Release Notes: v6

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.

Disclaimer

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.