PINE LIBRARY
Updated VandelayIndicatorLib

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.
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
v2Removed:
stc(source, fast, slow, cycle, d1, d2)
Calculates the value of the Schaff Trend Cycle indicator.
Release Notes
v3Added:
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
v4Release Notes
v5Updated:
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
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 publications 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.
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 publications 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.