Library "enhanced_ta"
Collection of all custom and enhanced TA indicators
ma(source, maType, length) returns custom moving averages
Parameters:
bb(source, maType, length, multiplier) returns Bollinger band for custom moving average
Parameters:
bbw(source, maType, length, multiplier) returns Bollinger bandwidth for custom moving average
Parameters:
bpercentb(source, maType, length, multiplier) returns Bollinger Percent B for custom moving average
Parameters:
kc(source, maType, length, multiplier) returns Keltner Channel for custom moving average
Parameters:
kcw(source, maType, length, multiplier) returns Keltner Channel Width with custom moving average
Parameters:
kpercentk(source, maType, length, multiplier) returns Keltner Channel Percent K Width with custom moving average
Parameters:
dc(source, useCustomSource, length) returns Custom Donchian Channel
Parameters:
oscillatorRange(source, method, highlowLength, rangeLength) returns Custom overbought/oversold areas for an oscillator input
Parameters:
Collection of all custom and enhanced TA indicators
ma(source, maType, length) returns custom moving averages
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
bb(source, maType, length, multiplier) returns Bollinger band for custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
bbw(source, maType, length, multiplier) returns Bollinger bandwidth for custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
bpercentb(source, maType, length, multiplier) returns Bollinger Percent B for custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
kc(source, maType, length, multiplier) returns Keltner Channel for custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
kcw(source, maType, length, multiplier) returns Keltner Channel Width with custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
kpercentk(source, maType, length, multiplier) returns Keltner Channel Percent K Width with custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
dc(source, useCustomSource, length) returns Custom Donchian Channel
Parameters:
- source: - Custom source
- useCustomSource: - Custom source is used only if useCustomSource is set to true
- length: - donchian channel length
oscillatorRange(source, method, highlowLength, rangeLength) returns Custom overbought/oversold areas for an oscillator input
Parameters:
- source: - Osillator source such as RSI, COG etc.
- method: - Valid values for method are : sma, ema, hma, rma, wma, vwma, swma, highlow
- highlowLength: - length on which highlow of the oscillator is calculated
- rangeLength: - length used for calculating oversold/overbought range - usually same as oscillator length
發布通知:
Library "enhanced_ta"
Collection of all custom and enhanced TA indicators
ma(source, maType, length) returns custom moving averages
Parameters:
bb(source, maType, length, multiplier, sticky) returns Bollinger band for custom moving average
Parameters:
bbw(source, maType, length, multiplier, sticky) returns Bollinger bandwidth for custom moving average
Parameters:
bpercentb(source, maType, length, multiplier, sticky) returns Bollinger Percent B for custom moving average
Parameters:
kc(source, maType, length, multiplier, sticky) returns Keltner Channel for custom moving average
Parameters:
kcw(source, maType, length, multiplier, sticky) returns Keltner Channel Width with custom moving average
Parameters:
kpercentk(source, maType, length, multiplier, sticky) returns Keltner Channel Percent K Width with custom moving average
Parameters:
dc(length, useAlternateSource, alternateSource, sticky) returns Custom Donchian Channel
Parameters:
dcw(length, useAlternateSource, alternateSource, sticky) returns Donchian Channel Width
Parameters:
dpercentd(useAlternateSource, alternateSource, length, sticky) returns Donchian Channel Percent of price
Parameters:
oscillatorRange(source, method, highlowLength, rangeLength, sticky) returns Custom overbought/oversold areas for an oscillator input
Parameters:
Collection of all custom and enhanced TA indicators
ma(source, maType, length) returns custom moving averages
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
bb(source, maType, length, multiplier, sticky) returns Bollinger band for custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
- sticky: - sticky boundaries which will only change when value is outside boundary.
bbw(source, maType, length, multiplier, sticky) returns Bollinger bandwidth for custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
- sticky: - sticky boundaries which will only change when value is outside boundary.
bpercentb(source, maType, length, multiplier, sticky) returns Bollinger Percent B for custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
- sticky: - sticky boundaries which will only change when value is outside boundary.
kc(source, maType, length, multiplier, sticky) returns Keltner Channel for custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
- sticky: - sticky boundaries which will only change when value is outside boundary.
kcw(source, maType, length, multiplier, sticky) returns Keltner Channel Width with custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
- sticky: - sticky boundaries which will only change when value is outside boundary.
kpercentk(source, maType, length, multiplier, sticky) returns Keltner Channel Percent K Width with custom moving average
Parameters:
- source: Moving Average Source
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow
- length: Moving Average Length
- multiplier: Standard Deviation multiplier
- sticky: - sticky boundaries which will only change when value is outside boundary.
dc(length, useAlternateSource, alternateSource, sticky) returns Custom Donchian Channel
Parameters:
- length: - donchian channel length
- useAlternateSource: - Custom source is used only if useAlternateSource is set to true
- alternateSource: - Custom source
- sticky: - sticky boundaries which will only change when value is outside boundary.
dcw(length, useAlternateSource, alternateSource, sticky) returns Donchian Channel Width
Parameters:
- length: - donchian channel length
- useAlternateSource: - Custom source is used only if useAlternateSource is set to true
- alternateSource: - Custom source
- sticky: - sticky boundaries which will only change when value is outside boundary.
dpercentd(useAlternateSource, alternateSource, length, sticky) returns Donchian Channel Percent of price
Parameters:
- useAlternateSource: - Custom source is used only if useAlternateSource is set to true
- alternateSource: - Custom source
- length: - donchian channel length
- sticky: - sticky boundaries which will only change when value is outside boundary.
oscillatorRange(source, method, highlowLength, rangeLength, sticky) returns Custom overbought/oversold areas for an oscillator input
Parameters:
- source: - Osillator source such as RSI, COG etc.
- method: - Valid values for method are : sma, ema, hma, rma, wma, vwma, swma, highlow
- highlowLength: - length on which highlow of the oscillator is calculated
- rangeLength: - length used for calculating oversold/overbought range - usually same as oscillator length
- sticky: - overbought, oversold levels won't change unless crossed
發布通知:
Library "enhanced_ta"
Updated indicators
atr(maType, length) returns ATR with custom moving average
Parameters:
atrpercent(maType, length) returns ATR as percentage of close price
Parameters:
oscillator(type, length, shortLength, longLength, source, highSource, lowSource, method, highlowLength, sticky) oscillator - returns Choice of oscillator with custom overbought/oversold range
Parameters:
Updated indicators
atr(maType, length) returns ATR with custom moving average
Parameters:
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median
- length: Moving Average Length
atrpercent(maType, length) returns ATR as percentage of close price
Parameters:
- maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median
- length: Moving Average Length
oscillator(type, length, shortLength, longLength, source, highSource, lowSource, method, highlowLength, sticky) oscillator - returns Choice of oscillator with custom overbought/oversold range
Parameters:
- type: - oscillator type. Valid values : cci, cmo, cog, mfi, roc, rsi, stoch, tsi, wpr
- length: - Oscillator length - not used for TSI
- shortLength: - shortLength only used for TSI
- longLength: - longLength only used for TSI
- source: - custom source if required
- highSource: - custom high source for stochastic oscillator
- lowSource: - custom low source for stochastic oscillator
- method: - Valid values for method are : sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median
- highlowLength: - length on which highlow of the oscillator is calculated
- sticky: - overbought, oversold levels won't change unless crossed
發布通知:
Minor corrections
發布通知:
Added Usage examples
發布通知:
Update chart with examples
發布通知:
Convert multiplier to float from simple float to allow variable values
發布通知:
multibands(bandType, source, maType, length, useTrueRange, sticky, numberOfBands, multiplierStart, multiplierStep) multibands - returns Choice of oscillator with custom overbought/oversold range
Parameters:
bandType: - Band type - can be either bb or kc
source: - custom source if required
maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median
length: - Oscillator length - not used for TSI
useTrueRange: - if set to false, uses high-low.
sticky: - for sticky borders which only change upon source crossover/crossunder
numberOfBands: - Number of bands to generate
multiplierStart: - Starting ATR or Standard deviation multiplier for first band
multiplierStep: - Incremental value for multiplier for each band
Returns: array of band values sorted in ascending order
Parameters:
bandType: - Band type - can be either bb or kc
source: - custom source if required
maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median
length: - Oscillator length - not used for TSI
useTrueRange: - if set to false, uses high-low.
sticky: - for sticky borders which only change upon source crossover/crossunder
numberOfBands: - Number of bands to generate
multiplierStart: - Starting ATR or Standard deviation multiplier for first band
multiplierStep: - Incremental value for multiplier for each band
Returns: array of band values sorted in ascending order
發布通知:
v9
Added mfi to oscillator sources for oscillator method
Added mfi to oscillator sources for oscillator method
發布通知:
v10
Reverted last change as mfi was already there :(
Reverted last change as mfi was already there :(
發布通知:
v11
Added:
mbandoscillator(bandType, source, maType, length, useTrueRange, stickyBands, numberOfBands, multiplierStart, multiplierStep) mbandoscillator - Multiband oscillator created on the basis of bands
Parameters:
bandType: - Band type - can be either bb or kc
source: - custom source if required
maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median
length: - Oscillator length - not used for TSI
useTrueRange: - if set to false, uses high-low.
stickyBands: - for sticky borders which only change upon source crossover/crossunder for band detection
numberOfBands: - Number of bands to generate
multiplierStart: - Starting ATR or Standard deviation multiplier for first band
multiplierStep: - Incremental value for multiplier for each band
Returns: oscillator state - current state, median values
Added:
mbandoscillator(bandType, source, maType, length, useTrueRange, stickyBands, numberOfBands, multiplierStart, multiplierStep) mbandoscillator - Multiband oscillator created on the basis of bands
Parameters:
bandType: - Band type - can be either bb or kc
source: - custom source if required
maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median
length: - Oscillator length - not used for TSI
useTrueRange: - if set to false, uses high-low.
stickyBands: - for sticky borders which only change upon source crossover/crossunder for band detection
numberOfBands: - Number of bands to generate
multiplierStart: - Starting ATR or Standard deviation multiplier for first band
multiplierStep: - Incremental value for multiplier for each band
Returns: oscillator state - current state, median values
發布通知:
v12
發布通知:
v13
發布通知:
v14
Added:
timer(timeStart, endTime) finds difference between two timestamps
Parameters:
timeStart: - start timestamp
endTime: - end timestamp
Added:
timer(timeStart, endTime) finds difference between two timestamps
Parameters:
timeStart: - start timestamp
endTime: - end timestamp
Trial - www.trendoscope.io/trial
Subscribe - www.trendoscope.io/pricing
Telegram: p.trendoscope.io/telegram
Rate us : www.trustpilot.com/review/trendoscope.io
Subscribe - www.trendoscope.io/pricing
Telegram: p.trendoscope.io/telegram
Rate us : www.trustpilot.com/review/trendoscope.io