PINE LIBRARY

ChasinAlts_Library

Updated
Library "ChasinAlts_Library"

rci(_BCgtg, _Tgtg, _close, _smaLen, _bar_index)
  Parameters:
    _BCgtg
    _Tgtg
    _close
    _smaLen
    _bar_index

printedBC(_time, _minPerc, _Tgtg, _lkbk)
  Parameters:
    _time
    _minPerc
    _Tgtg
    _lkbk

form123(_ppLen, _BCgtg, _Tgtg, _high, _low, _close, _bar_index)
  Parameters:
    _ppLen
    _BCgtg
    _Tgtg
    _high
    _low
    _close
    _bar_index

obosCnt(_BCgtg, _Tgtg, _rci, _obosMin, _obosMax, _thresh)
  Parameters:
    _BCgtg
    _Tgtg
    _rci
    _obosMin
    _obosMax
    _thresh

div(_thresh, _HLestLen, _Tgtg, _BCgtg, _rci, _time, _price, _LSL, _SSL, _LTP, _STP, _colorid, _long, _short)
  Parameters:
    _thresh
    _HLestLen
    _Tgtg
    _BCgtg
    _rci
    _time
    _price
    _LSL
    _SSL
    _LTP
    _STP
    _colorid
    _long
    _short

tradeSim(_SL, _TP, _BCgtg, _Tgtg, _ppLen, _high, _low, _close, _bar_index, _time, _bull_rev, _bear_rev, _bull_obosCnt_gtg, _bear_obosCnt_gtg)
  Parameters:
    _SL
    _TP
    _BCgtg
    _Tgtg
    _ppLen
    _high
    _low
    _close
    _bar_index
    _time
    _bull_rev
    _bear_rev
    _bull_obosCnt_gtg
    _bear_obosCnt_gtg
Release Notes
v2: Changed a mistake in the ob/os count filter
Release Notes
v3

Added:
RCI(_close, _smaLen)
  Parameters:
    _close
    _smaLen

Updated:
obosCnt(_rci, _obosMin, _obosMax, _thresh)
  Parameters:
    _rci
    _obosMin
    _obosMax
    _thresh

form123(_ppLen, _high, _low, _close, _bi)
  Parameters:
    _ppLen
    _high
    _low
    _close
    _bi

div(_thresh, _HLestLen, _rci, _time, _price, _LSL, _SSL, _LTP, _STP, _colorid, _long, _short)
  Parameters:
    _thresh
    _HLestLen
    _rci
    _time
    _price
    _LSL
    _SSL
    _LTP
    _STP
    _colorid
    _long
    _short

tradeSim(_SL, _TP, _ppLen, _high, _low, _close, _bi, _time, _bull_rev, _bear_rev, _bull_obosCnt_gtg, _bear_obosCnt_gtg)
  Parameters:
    _SL
    _TP
    _ppLen
    _high
    _low
    _close
    _bi
    _time
    _bull_rev
    _bear_rev
    _bull_obosCnt_gtg
    _bear_obosCnt_gtg

Removed:
rci(_BCgtg, _Tgtg, _close, _smaLen, _bar_index)
Release Notes
v4

Updated:
tradeSim(_SL, _TP, _ppLen, _high, _low, _close, _bi, _time, _thresh, _rci, _bull_obosCnt_gtg, _bear_obosCnt_gtg)
  Parameters:
    _SL
    _TP
    _ppLen
    _high
    _low
    _close
    _bi
    _time
    _thresh
    _rci
    _bull_obosCnt_gtg
    _bear_obosCnt_gtg
Release Notes
v5
Release Notes
v6
Release Notes
v7
Release Notes
v8 removed minimum OB/OS Bar Count Filter to have JUST a max ob/os count filter

Updated:
obosCnt(_rci, _obosMax, _thresh)
  Parameters:
    _rci
    _obosMax
    _thresh
techindicator

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