PINE LIBRARY

VandelayIndicatorLib

Updated
Library "VandelayIndicatorLib"
Art Vandelay's Indicator library

STC_VIL(EEEEEE, BBBB, BBBBB)
  Schaff Trend Cycle Calculations
  Parameters:
    EEEEEE (int): = Slengt, BBBB = FALenght, BBBBB = SLOLenght
    BBBB (simple int)
    BBBBB (simple int)
  Returns: Long : mAAAAA > mAAAAA[1] - Short : mAAAAA < mAAAAA[1]

stc(source, fast, slow, cycle, d1, d2)
  Calculates the value of the Schaff Trend Cycle indicator.
  Parameters:
    source (float): (series int/float) Series of values to process.
    fast (simple int): (simple int) Length for the MACD fast smoothing parameter calculation.
    slow (simple int): (simple int) Length for the MACD slow smoothing parameter calculation.
    cycle (simple int): (simple int) Number of bars for the Stochastic values (length).
    d1 (simple int): (simple int) Length for the initial %D smoothing parameter calculation.
    d2 (simple int): (simple int) Length for the final %D smoothing parameter calculation.
  Returns: (float) The oscillator value.
Release Notes
v2

Removed:
stc(source, fast, slow, cycle, d1, d2)
  Calculates the value of the Schaff Trend Cycle indicator.
Release Notes
v3

Added:
EFI_VIL(AAAA)
  Elder Force Index Indicator
  Parameters:
    AAAA (simple int): = lenght
  Returns: Long : efi>0 or ta.crossover(efi,0) - Short : efi<0 or ta.crossunder(efi, 0)
Release Notes
v4
Release Notes
v5

Updated:
STC_VIL(EEEEEE, BBBB, BBBBB, AAA)
  Schaff Trend Cycle Calculations
  Parameters:
    EEEEEE (int): = Slengt, BBBB = FALenght, BBBBB = SLOLenght
    BBBB (simple int)
    BBBBB (simple int)
    AAA (float)
  Returns: Long : mAAAAA > mAAAAA[1] - Short : mAAAAA < mAAAAA[1]

Removed:
EFI_VIL(AAAA)
  Elder Force Index Indicator
strategiestechindicator

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