indicators

Indicators classified by Trend, Momentum, Perpetual and Oscillator categories for easy access via naming convention
fdiAdSupertrendPerp(fdiadPeriod, fdiadSpeed, fdiadMultiplier, fdiadAdaptive, fdiadaptiveSRC)
FDI-AD Supertrend Indicator
Parameters:
fdiadPeriod (int)
fdiadSpeed (int)
fdiadMultiplier (float)
fdiadAdaptive (bool)
fdiadaptiveSRC (float)
Returns: score
nadarayaWatsonRqkTrendPerp(nwrqkH, nwrqkR, nwrqkX0, smoothColors, nwrqkLag, nwrqkSrc)
Nadaraya-Watson: Rational Quadratic Kernel (Non-Repainting)
Parameters:
nwrqkH (float)
nwrqkR (float)
nwrqkX0 (float)
smoothColors (bool)
nwrqkLag (int)
nwrqkSrc (float)
Returns: score
ttpSupertrendPerp(ttpstInfluence, ttpstEffect, ttpstAdxLen, ttpstDiLen, ttpstAtrPeriod, ttpstFactor)
Nadaraya-Watson: TTP Supertrend ADX
Parameters:
ttpstInfluence (float)
ttpstEffect (string)
ttpstAdxLen (simple int)
ttpstDiLen (simple int)
ttpstAtrPeriod (simple int)
ttpstFactor (float)
Returns: score
adaptiveParabolicSarTrendPerp(apsarStartAFactor, apsarMinStep, apsarMaxStep, apsarMaxAFactor, apsarHiloMode, apsarAdaptMode, apsarAdaptSmth, apsarMinChng, apsarSrc)
Adaptive Parabolic SAR (PSAR)
Parameters:
apsarStartAFactor (float)
apsarMinStep (float)
apsarMaxStep (float)
apsarMaxAFactor (float)
apsarHiloMode (string)
apsarAdaptMode (string)
apsarAdaptSmth (simple int)
apsarMinChng (float)
apsarSrc (float)
Returns: long, short, score, title, shorttitle, plot
coralTrendPerp(ctiSmoothingPeriod, ctiConstantD, ctiSrc)
CORAL TREND INDICATOR
Parameters:
ctiSmoothingPeriod (int)
ctiConstantD (float)
ctiSrc (float)
Returns: long, short, score, title, shorttitle, plot
kijunSenBaseTrendPerp(kijunsbLen, kijunsbSrc)
KIJUN SEN Base
Parameters:
kijunsbLen (int)
kijunsbSrc (float)
Returns: long, short, score, title, shorttitle, plot
kamaOscillatorTrend(kamaFastPeriod, kamaSlowPeriod, kamaEfficiencyRatio, kamaNormalizationLookback)
NORMALIZED KAMA OSCILLATOR
Parameters:
kamaFastPeriod (simple int)
kamaSlowPeriod (int)
kamaEfficiencyRatio (int)
kamaNormalizationLookback (int)
Returns: long, short, score, title, shorttitle, plot
relativeTrendIndexOsc(rtiTrendDataCount, rtiTrendSensitivityPercentage, rtiSignalLength, rtiUseMASignals)
RELATIVE TREND INDEX
Parameters:
rtiTrendDataCount (int)
rtiTrendSensitivityPercentage (int)
rtiSignalLength (simple int)
rtiUseMASignals (bool)
Returns: long, short, score, title, shorttitle, plot
ichimokuMomentumTrendOsc(imcConvPeriods, imcBasePeriods, imcLagSpan2Periods, imcDisplacement, imcIsWeighted, useTrendAsSignal)
ICHIMOKU CLOUD
Parameters:
imcConvPeriods (int)
imcBasePeriods (int)
imcLagSpan2Periods (int)
imcDisplacement (int)
imcIsWeighted (bool)
useTrendAsSignal (bool)
Returns: long, short, score, title, shorttitle, plot
nonlinearRegZeroLagMaTrendPerp(nrzlmaZlmaper, nrzlmaRegressionper, nrzlmaSrc)
Nonlinear Regression, Zero-lag Moving Average
Parameters:
nrzlmaZlmaper (simple int)
nrzlmaRegressionper (simple int)
nrzlmaSrc (float)
Returns: long, short, score, title, shorttitle, plot
expWMaNormalizedOsc(ewmanoLength, ewmanoNormPeriod, ewmanoSource)
Parameters:
ewmanoLength (int)
ewmanoNormPeriod (int)
ewmanoSource (float)
kalmanPriceFilterTrendPerp(kpfProcessNoise, kpfMeasurementNoise, kpfN, kpfPriceSource)
Parameters:
kpfProcessNoise (float)
kpfMeasurementNoise (float)
kpfN (int)
kpfPriceSource (float)
kalmanHullSupertrendPerp(khstPriceSource, khstMeasurementNoise, khstProcessNoise, khstAtrPeriod, khstFactor)
Parameters:
khstPriceSource (float)
khstMeasurementNoise (float)
khstProcessNoise (float)
khstAtrPeriod (simple int)
khstFactor (float)
kalmanFilteredRsiOsc(kfrsioscProcessNoise, kfrsioscMeasurementNoise, kfrsioscN, kfrsioscRsiPeriod, kfrsioscSmooth, kfrsioscModeSwitch, kfrsioscSmoothLen, kfrsioscPriceSource)
Parameters:
kfrsioscProcessNoise (float)
kfrsioscMeasurementNoise (float)
kfrsioscN (int)
kfrsioscRsiPeriod (simple int)
kfrsioscSmooth (bool)
kfrsioscModeSwitch (string)
kfrsioscSmoothLen (simple int)
kfrsioscPriceSource (float)
lsmaZScoreOsc(lsmazsLen, lsmazsLookback, lsmazsSrc)
Parameters:
lsmazsLen (int)
lsmazsLookback (simple int)
lsmazsSrc (float)
demaRsiOverlayPerp(demarsiSubLen, demarsiLen, demarsiLongThreshold, demarsiShortThreshold, demarsiSource)
Parameters:
demarsiSubLen (simple int)
demarsiLen (simple int)
demarsiLongThreshold (int)
demarsiShortThreshold (int)
demarsiSource (float)
normalizedT3Osc(nt3oLen, nt3oVf, nt3oNormPeriod, nt3oMaType, nt3oMaLen, nt3oSource, nt3oUseMaSignals)
Parameters:
nt3oLen (simple int)
nt3oVf (simple float)
nt3oNormPeriod (int)
nt3oMaType (string)
nt3oMaLen (simple int)
nt3oSource (float)
nt3oUseMaSignals (bool)
signals
Fields:
long (series bool)
short (series bool)
score (series float)
title (series string)
shorttitle (series string)
plot (series float)
plotma (series float)
plotcolor (series color)
indicatortype (series string)
Standardized Indicators that return long, short, score, title, shorttitle, plot and indicatortype values. When using the library indicators can be recalled by using osc or perp, trend or momentum categories for ease of access.
Example:
Added:
schaffTrendCycleMomentum(stcLength, stcLengthFast, stcLengthSlow, stcWeightingFactor, stcSource)
Parameters:
stcLength (int)
stcLengthFast (simple int)
stcLengthSlow (simple int)
stcWeightingFactor (float)
stcSource (float)
oMAFilteredGannHiLoActivatorTrend(omafghaLen, omafghaConst, omafghaClsPer, omafghaAdapt)
Parameters:
omafghaLen (int)
omafghaConst (float)
omafghaClsPer (int)
omafghaAdapt (bool)
ultimateMATrend(umaLen, umaAType, umaSmoothe, umaSRC)
Parameters:
umaLen (simple int)
umaAType (string)
umaSmoothe (int)
umaSRC (float)
fsvzoVolumeOsc(fsvzoLength, fsvzoFisherLength, fsvzoSmoothLength, fsvzoIntraday, fsvzoSource)
Parameters:
fsvzoLength (int)
fsvzoFisherLength (int)
fsvzoSmoothLength (simple int)
fsvzoIntraday (bool)
fsvzoSource (float)
Updated:
signals
Fields:
long (series bool)
short (series bool)
score (series float)
title (series string)
shorttitle (series string)
plot (series float)
plot2 (series float)
plotcolor (series color)
indicatortype (series string)
Added:
rsiMomentumOsc(rsiLength, rsiMALength, rsiOB, rsiOS, rsiMAType, rsiSource)
Parameters:
rsiLength (simple int)
rsiMALength (simple int)
rsiOB (int)
rsiOS (int)
rsiMAType (string)
rsiSource (float)
macdTrendMomOsc(macdFastLength, macdSlowlength, macdSignallength)
Parameters:
macdFastLength (simple int)
macdSlowlength (simple int)
macdSignallength (simple int)
fixed kama color coding
Added:
trendIdentifierPerp(tiTimeInterval, tiSmoothining, tiSource)
Parameters:
tiTimeInterval (int)
tiSmoothining (simple int)
tiSource (float)
Updated:
schaffTrendCycleMomentum(stcLength, stcLengthFast, stcLengthSlow, stcWeightingFactor, stcMALength, stcLongThreshold, stcShortThreshold, stcSource)
Parameters:
stcLength (int)
stcLengthFast (simple int)
stcLengthSlow (simple int)
stcWeightingFactor (float)
stcMALength (simple int)
stcLongThreshold (int)
stcShortThreshold (int)
stcSource (float)
trendIdentifierPerp(tiTimeInterval, tiSmoothing, tiSource)
Parameters:
tiTimeInterval (int)
tiSmoothing (simple int)
tiSource (float)
Added:
stcMomentum(stcLength, stcLengthFast, stcLengthSlow, stcWeightingFactor, stcMALength, stcLongThreshold, stcShortThreshold, stcSource)
Parameters:
stcLength (int)
stcLengthFast (simple int)
stcLengthSlow (simple int)
stcWeightingFactor (float)
stcMALength (simple int)
stcLongThreshold (int)
stcShortThreshold (int)
stcSource (float)
Removed:
schaffTrendCycleMomentum(stcLength, stcLengthFast, stcLengthSlow, stcWeightingFactor, stcMALength, stcLongThreshold, stcShortThreshold, stcSource)
Updated:
stcMomentum(stcLength, stcLengthFast, stcLengthSlow, stcWeightingFactor, stcMALength, stcSource)
Parameters:
stcLength (int)
stcLengthFast (simple int)
stcLengthSlow (simple int)
stcWeightingFactor (float)
stcMALength (simple int)
stcSource (float)
Added:
lsmaForLoopTrendPerpViResearch(lsmaflLen, lsmaflA, lsmaflB, lsmaflThresholdL, lsmaflThresholdS, lsmaflSrc)
Parameters:
lsmaflLen (int)
lsmaflA (int)
lsmaflB (int)
lsmaflThresholdL (int)
lsmaflThresholdS (int)
lsmaflSrc (float)
rsiMomentumTrendPerp(rsimtLength, rsimtPosMomThreshold, rsimtNegMomThreshold, rsimtSource)
Parameters:
rsimtLength (simple int)
rsimtPosMomThreshold (int)
rsimtNegMomThreshold (int)
rsimtSource (float)
parabolicSarZoneTrend(pszStart, pszIncrement, pszMaxValue)
Parameters:
pszStart (simple float)
pszIncrement (simple float)
pszMaxValue (simple float)
gaussianSWMAForLoopTrendCoff(gswmaflWMALength, gswmaflSMALength, gswmaflA, gswmaflB, gswmaflThresholdL, gswmaflThresholdS, gswmaflSigma, gswmaflSource)
Parameters:
gswmaflWMALength (int)
gswmaflSMALength (int)
gswmaflA (int)
gswmaflB (int)
gswmaflThresholdL (int)
gswmaflThresholdS (int)
gswmaflSigma (float)
gswmaflSource (float)
modeForLoopTrendPerpViResearch(mflLen, mflA, mflB, mflThresholdL, mflThresholdS, mflSrc)
Parameters:
mflLen (int)
mflA (int)
mflB (int)
mflThresholdL (int)
mflThresholdS (int)
mflSrc (float)
Added:
adaptiveParabolicSarTrendPerpLoxx(apsarStartAFactor, apsarMinStep, apsarMaxStep, apsarMaxAFactor, apsarHiloMode, apsarAdaptMode, apsarAdaptSmth, apsarMinChng, apsarSrc)
Adaptive Parabolic SAR (PSAR)
Parameters:
apsarStartAFactor (float)
apsarMinStep (float)
apsarMaxStep (float)
apsarMaxAFactor (float)
apsarHiloMode (string)
apsarAdaptMode (string)
apsarAdaptSmth (simple int)
apsarMinChng (float)
apsarSrc (float)
Returns: long, short, score, title, shorttitle, plot, plotcolor, indicatortype
expWMaNormalizedOscBack(ewmanoLength, ewmanoNormPeriod, ewmanoSource)
Exponentially Weighted MA Normalised Oscillator
Parameters:
ewmanoLength (int)
ewmanoNormPeriod (int)
ewmanoSource (float)
Returns: long, short, score, title, shorttitle, plot, plotcolor, indicatortype
demavstopTrendPerpViResearch(demaVstopLength, demaVstopVstopLength, demaVstopMultiplier, demaVstopSource)
Parameters:
demaVstopLength (simple int)
demaVstopVstopLength (simple int)
demaVstopMultiplier (float)
demaVstopSource (float)
rsisdTrendPerpViResearch(rsisdLen, rsisdSdLen, rsisdSrc)
Parameters:
rsisdLen (simple int)
rsisdSdLen (int)
rsisdSrc (float)
Removed:
adaptiveParabolicSarTrendPerp(apsarStartAFactor, apsarMinStep, apsarMaxStep, apsarMaxAFactor, apsarHiloMode, apsarAdaptMode, apsarAdaptSmth, apsarMinChng, apsarSrc)
Adaptive Parabolic SAR (PSAR)
expWMaNormalizedOsc(ewmanoLength, ewmanoNormPeriod, ewmanoSource)
Exponentially Weighted MA Normalised Oscillator
Added:
invsddemarsiTrendPerpViResearch(isddemarsiSublen, isddemarsiSublen2, isddemarsiLen, isddemarsiThresholdL, isddemarsiThresholdS, isddemarsiSrc)
Parameters:
isddemarsiSublen (simple int)
isddemarsiSublen2 (int)
isddemarsiLen (simple int)
isddemarsiThresholdL (int)
isddemarsiThresholdS (int)
isddemarsiSrc (float)
lsmaatrTrendPerpViResearch(lsmaatrLenLsma, lsmaatrLen, lsmaatrSrc)
Parameters:
lsmaatrLenLsma (int)
lsmaatrLen (simple int)
lsmaatrSrc (float)
mediansdTrendPerpViResearch(msdLenDema, msdMedianLen, msdAtrLen, msdAtrMul, msdLenSd, msdSrc)
Parameters:
msdLenDema (simple int)
msdMedianLen (int)
msdAtrLen (simple int)
msdAtrMul (float)
msdLenSd (int)
msdSrc (float)
ewmaTrendPerpViResearch(ewmaviLen, ewmaviSrc)
Parameters:
ewmaviLen (simple int)
ewmaviSrc (float)
demaemaTrendPerpViResearch(demaemaLenDema, demaemaLen1st, demaemaLen2nd, demaemaSrcDema)
Parameters:
demaemaLenDema (simple int)
demaemaLen1st (simple int)
demaemaLen2nd (simple int)
demaemaSrcDema (float)
demadmiTrendPerpViResearch(demadmiLenDema, demadmiAdxSmoothingLen, demadmiDiLen)
Parameters:
demadmiLenDema (simple int)
demadmiAdxSmoothingLen (simple int)
demadmiDiLen (simple int)
emazscoreTrendPerpViResearch(emazscoreLen, emazscoreLookback, emazscoreThresholdL, emazscoreThresholdS, emazscoreSrc)
Parameters:
emazscoreLen (simple int)
emazscoreLookback (simple int)
emazscoreThresholdL (float)
emazscoreThresholdS (float)
emazscoreSrc (float)
Added:
kalmanPriceFilterTrendPerpBackQuant(kpfProcessNoise, kpfMeasurementNoise, kpfN, kpfPriceSource)
Kalman Price Filter
Parameters:
kpfProcessNoise (float)
kpfMeasurementNoise (float)
kpfN (int)
kpfPriceSource (float)
Returns: long, short, score, title, shorttitle, plot, plotcolor, indicatortype
kalmanFilteredRsiOscBackQuant(kfrsioscProcessNoise, kfrsioscMeasurementNoise, kfrsioscN, kfrsioscRsiPeriod, kfrsioscSmooth, kfrsioscModeSwitch, kfrsioscSmoothLen, kfrsioscPriceSource)
Parameters:
kfrsioscProcessNoise (float)
kfrsioscMeasurementNoise (float)
kfrsioscN (int)
kfrsioscRsiPeriod (simple int)
kfrsioscSmooth (bool)
kfrsioscModeSwitch (string)
kfrsioscSmoothLen (simple int)
kfrsioscPriceSource (float)
lsmaZScoreOscBackQuant(lsmazsLen, lsmazsLookback, lsmazsSrc)
LSMA Z-Score
Parameters:
lsmazsLen (int)
lsmazsLookback (simple int)
lsmazsSrc (float)
Returns: long, short, score, title, shorttitle, plot, plotcolor, indicatortype
demaRsiOverlayPerpBackQuant(demarsiSubLen, demarsiLen, demarsiLongThreshold, demarsiShortThreshold, demarsiSource)
DEMA RSI Overlay
Parameters:
demarsiSubLen (simple int)
demarsiLen (simple int)
demarsiLongThreshold (int)
demarsiShortThreshold (int)
demarsiSource (float)
Returns: long, short, score, title, shorttitle, plot, plotcolor, indicatortype
normalizedT3OscBackQuant(nt3oLen, nt3oVf, nt3oNormPeriod, nt3oMaType, nt3oMaLen, nt3oSource, nt3oUseMaSignals)
Parameters:
nt3oLen (simple int)
nt3oVf (simple float)
nt3oNormPeriod (int)
nt3oMaType (string)
nt3oMaLen (simple int)
nt3oSource (float)
nt3oUseMaSignals (bool)
hullforloopTrendPerpViResearch(hflLength, hflX, hflY, hflThresholdL, hflThresholdS)
Parameters:
hflLength (int)
hflX (int)
hflY (int)
hflThresholdL (int)
hflThresholdS (int)
demasupertrendTrendPerpViResearch(demastSubject, demastMul, demastDemalen, demastSrc)
Parameters:
demastSubject (simple int)
demastMul (float)
demastDemalen (simple int)
demastSrc (float)
lsmaTrendPerpViResearch(lsmaLenLsma, lsmaOff, lsmaSrc, lsmaEn)
Parameters:
lsmaLenLsma (int)
lsmaOff (simple int)
lsmaSrc (float)
lsmaEn (float)
almalagTrendPerpViResearch(almalagLenSubject, almaSrc)
Parameters:
almalagLenSubject (int)
almaSrc (float)
medianforloopTrendPerpViResearch(medflLen, medflA, medflB, medflThresholdL, medflThresholdS, medflSME)
Parameters:
medflLen (int)
medflA (int)
medflB (int)
medflThresholdL (int)
medflThresholdS (int)
medflSME (float)
hmaswingpointsTrendPerpViResearch(hmaspX, hmaspLen)
Parameters:
hmaspX (int)
hmaspLen (simple int)
mediansupertrendTrendPerpViResearch(medianstSubject, medianstMul, medianstSlen, medianstSrcMe)
Parameters:
medianstSubject (simple int)
medianstMul (float)
medianstSlen (int)
medianstSrcMe (float)
volumetrendswingpointsPerpViResearch(voltspX, voltspY)
Parameters:
voltspX (int)
voltspY (int)
demaafrTrendPerpViResearch(demaafrLen, demaafrP, demaafrAtrFactor, demaafrSrc)
Parameters:
demaafrLen (simple int)
demaafrP (simple int)
demaafrAtrFactor (float)
demaafrSrc (float)
dsmaTrendPerpViResearch(dsmaviLenSma, dsmaviLenDsma, dsmaviEnL, dsmaviEnS)
Parameters:
dsmaviLenSma (int)
dsmaviLenDsma (int)
dsmaviEnL (float)
dsmaviEnS (float)
doublesrcsmasdTrendPerpViResearch(dssmasdLenMa, dssmasdLenSd, dssmasdSrcMa)
Parameters:
dssmasdLenMa (int)
dssmasdLenSd (int)
dssmasdSrcMa (float)
demasmasdTrendPerpViResearch(demasmasdLenDema, demasmasdSrcDema, demasmasdLenMa, demasmasdLenSd, demasmasdSrcl, demasmasdSrcs)
Parameters:
demasmasdLenDema (simple int)
demasmasdSrcDema (float)
demasmasdLenMa (int)
demasmasdLenSd (int)
demasmasdSrcl (float)
demasmasdSrcs (float)
elderforcevolindexTrendPerpViResearch(efviLength)
Parameters:
efviLength (simple int)
Updated:
ttpSupertrendPerp(ttpstInfluence, ttpstEffect, ttpstAdxLen, ttpstDiLen, ttpstAtrPeriod, ttpstFactor)
Parameters:
ttpstInfluence (float)
ttpstEffect (string)
ttpstAdxLen (simple int)
ttpstDiLen (simple int)
ttpstAtrPeriod (simple int)
ttpstFactor (float)
adaptiveParabolicSarTrendPerpLoxx(apsarStartAFactor, apsarMinStep, apsarMaxStep, apsarMaxAFactor, apsarHiloMode, apsarAdaptMode, apsarAdaptSmth, apsarMinChng, apsarSrc)
Parameters:
apsarStartAFactor (float)
apsarMinStep (float)
apsarMaxStep (float)
apsarMaxAFactor (float)
apsarHiloMode (string)
apsarAdaptMode (string)
apsarAdaptSmth (simple int)
apsarMinChng (float)
apsarSrc (float)
kalmanHullSupertrendPerp(khstPriceSource, khstMeasurementNoise, khstProcessNoise, khstAtrPeriod, khstFactor)
Parameters:
khstPriceSource (float)
khstMeasurementNoise (float)
khstProcessNoise (float)
khstAtrPeriod (simple int)
khstFactor (float)
Removed:
kalmanPriceFilterTrendPerp(kpfProcessNoise, kpfMeasurementNoise, kpfN, kpfPriceSource)
Kalman Price Filter
kalmanFilteredRsiOsc(kfrsioscProcessNoise, kfrsioscMeasurementNoise, kfrsioscN, kfrsioscRsiPeriod, kfrsioscSmooth, kfrsioscModeSwitch, kfrsioscSmoothLen, kfrsioscPriceSource)
Kalman Filtered RSI Oscillator
lsmaZScoreOsc(lsmazsLen, lsmazsLookback, lsmazsSrc)
LSMA Z-Score
demaRsiOverlayPerp(demarsiSubLen, demarsiLen, demarsiLongThreshold, demarsiShortThreshold, demarsiSource)
DEMA RSI Overlay
normalizedT3Osc(nt3oLen, nt3oVf, nt3oNormPeriod, nt3oMaType, nt3oMaLen, nt3oSource, nt3oUseMaSignals)
Normalised T3 Oscillator
Libreria Pine
In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Complimenti all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.
Declinazione di responsabilità
Libreria Pine
In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Complimenti all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.