PINE LIBRARY

CyclicRsiLib

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 [osc, crsi, rsi] 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
arrayscyclicinputsRelative Strength Index (RSI)

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.


Also on:

Disclaimer