K - L
Last updated
Last updated
Disclaimer: The information provided on this page is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security. Please see our Risk Disclosure and Performance Disclaimer Statement.
How to access the studies in MotiveWave:
Go to the top menu, choose Study>Study Group>Study Name
or Go to the top menu, choose Study>All Studies> Start typing in the study name until you see it appear in the list> Click on the study name> Click OK.
Kase Indicator by Cynthia Kase uses volume and Average True Range in its formula. The user may change the period length. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Kase Indicator
The Kase Indicator may be used in conjunction with other indicators. No trading signals are given.
Calculation
//period = user defined, default is 10 //av = average //sqrt = square root //atr = average true range //moreT = moreThan, lessT = lessThan //index = current bar number
The Kaufman Adaptive Moving Average was created, not surprisingly, by Perry Kaufman. The KAMA takes into consideration the noise of the market. This version of KAMA uses smoothing constants of 2 and 30 for the periods of the shortest and longest moving averages respectively. The user may change the input (close), period length and shift number. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Click here for more information.
How To Trade Using the Kaufman Adaptive Moving Average
The Kaufman Adaptive Moving Average is a lagging trend indicator and may be used in conjunction with other studies. No trading signals are calculated.
Calculation
//input = price, user defined, default is close //period = user defined, default is 20 //shift = user defined, default is 0 //kama = kaufman adaptive moving average //index = current bar number
The Keltner Channel is named after Chester W. Keltner. In this modern version of the Keltner Channel, the middle line is an exponential moving average (EMA) of the given input. The upper and lower bands are a set distance that is a multiple (range attribute) of the Average True Range from the middle line. The user may change the input (close), period lengths and range attributes. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Click here for more information.
How To Trade Using Kelter Channel
No trading signals are currently calculated for Keltner Channel.
Calculation
//input = price, user defined, default is close //middlePeriod= user defined, default is 20 //atrPeriod= user defined, default is 10 //upperRange = user defined, default is 2 //lowerRange = user defined, default is 2 //ma = moving average, EMA = exponential moving average //index = current bar number, atr = average true range
The Kirshenbaum Bands were authored by Paul Kirshenbaum. Their range is based on standard error as calculated from a hypothetical linear regression line. This range is added to and subtracted from an exponential moving average of the price to produce a top and a bottom band. The user may change the input (close), method (EMA) and period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
The Kirshenbaum Bands may be used in conjunction with other studies. No trading signals are calculated for this indicator.
//input = price, user defined, default is closing price //method = moving average (ma), user defined, default is EMA //period1 = user defined, default is 30 //period2 = user defined, default is 20 //noSdDev = number of standard deviations, user defined, default is 1
//stdErr = standard error, index = current bar number
The Klinger Volume Oscillator was developed by Stephen J. Klinger. It is a conformation indicator. It uses high, low, close and volume to create a volume force. This volume force (VF) is then turned into an oscillator by taking a fast EMA of VF and subtracting a slow EMA of VF. A signal line (KOS), which is an EMA of the Klinger Oscillator (KO), is plotted to trigger trading signals. The user may change the method (EMA), and period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Although signals are generated as shown in the calculation, the Klinger Volume Oscillator is considered a conformation indicator and should be used in conjunction with other indicators.
Calculation
//method = moving average (ma) user defined, default is EMA //fastPeriod = user defined, default is 34 //slowPeriod = user defined, default is 55 //signalPeriod = user defined, default is 13 //index = current bar number
Know Sure Thing was developed by Martin J. Pring in the 1990s. The KST uses four rate of change values to determine the trend of the market. The user may change the input (close), methods (SMA, EMA) and multiple period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
If the KST crosses above the signal line a buy signal will be generated. Conversely, if the KST crosses below the signal line a sell signal will be given.
Calculation
//input = price, user defined, default is closing price //method1 = moving average (ma), user defined, default is SMA //method2 = moving average (ma), user defined, default is EMA //signalPeriod = user defined, default is 8 //ma1 default = 10, r1 default = 10, w1 default = 1 //ma2 default = 10, r2 default = 15, w1 default = 2 //ma3 default = 10, r3 default = 20, w1 default = 3 //ma4 default = 15, r4 default = 30, w1 default = 4 //index = current bar number, roc = rate of change
The Laguerre Filter (LF) was authored by John Ehlers. The LF requires the current price, three prior prices, a user-defined factor called alpha and a good deal of feedback to fill its calculation. The user may change the input (midpoint) and the alpha factor. This indicator’s definition is further expressed in the condensed code given in the calculation below.
See also article by John Ehlers
The Laguerre Filter is a trend indicator and may be used in conjunction with other studies. No trading signals are calculated.
Calculation
//input = price, user defined, default is midpoint //alpha = user defined factor, default is 0.2 //prev = previous, index = current bar number
The Laguerre Filter Adaptive (LFA) was authored by John Ehlers. The LFA requires the highest and lowest of the difference of current price and previous price, some averaging, and a good deal of feedback to fill its calculation. The user may change the input (midpoint) and the period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using the Laguerre Filter Adaptive
The Laguerre Filter Adaptive is a trend indicator and may be used in conjunction with other studies. No trading signals are calculated.
Calculation
//input = price, user defined, default is midpoint //period1 = p1 = user defined, default is 20 //period2 = p2 = user defined, default is 5 //abs = function, returns absolute value of argument //median = function, returns price at middle of period //diff = difference, prev = previous //index = current bar number
Laguerre RSI (LRSI) was authored by John Ehlers in his article Time Warp – Without Space Travel. The Relative Strength Index (RSI) itself, was authored by Wells Wilder. The LRSI uses the current price, a user defined gamma factor and plenty of feedback to calculate its final value. The user may change the input (close) and the gamma factor. This indicator’s definition is further expressed in the condensed code given in the calculation below.
See also article by John Ehlers
The Laguerre RSI may be used in conjunction with other studies. No trading signals are calculated.
Calculation
//input = price, user defined, default is close //gamma = user defined factor, default is 0.5 //prev = previous, index = current bar number
Laguerre Combo is a composite study that includes the Laguerre Filter and the Laguerre RSI. See individual studies for details. See Laguerre RSI See Laguerre Filter
How To Trade Using the Laguerre Combo
No trading signals are calculated.
LBR Paint Bars changes the color of the price bars depending on the trend direction. The trend is determined by the position of 2 volatility lines. The calculation of these lines uses a moving average of the Average True Range and applies it to (plus or minus) the highest highs and the lowest lows. The And Or option refers to the specific logic used see the code for details. The user may change the input (close), method (SMA), factor, period lengths and the and or option. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using LBR Paint Bars
The LBR Paint Bars may be used with other indicators. No signals are given for this indicator.
//input = price, user defined, default is closing price //method = moving average (MA) user defined, default is SMA //atrPeriod = Average True Range period user defined, default is 9 //hlPeriod = high low period user defined, default is 16 //factor = user defined, default is 2.5 //pb = paint bars user defined, default is true //sv = show volatility lines user defined, default is true //andOr = and or option user defined, default is and //index = current bar number
Calculation
Linear Regression is a statistical representation of the price data. It is a straight line on an x (date) y (price) graph that best represents the price data between its starting and ending points. It is calculated using the sum of least squares method. The user may change the input (close), number of regression bars and number of future bars. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Linear Regression
The linear regression line may be used to show the current trend. The slope of the line designates an upward or downward trend. No signals are generated and it should be used in conjunction with other indicators.
Calculation
//input = price, user defined, default is closing price //noBars = user defined, default is 40 //noFutureBars = user defined, default is 1 //index = current bar number
Linear Regression Curve (LRC) is a type of Moving Average based on the linear regression line equation (y = a + mx). The calculation produces a straight line with the best fit for the various prices for the period. The endpoint of this line is used to plot the LRC. A signal line (PRICE), which is the price chosen by the user is used to help trigger signals. Two user factors are applied to the price to determine the buy or sell signal. The user may change the input (close), period length and factors. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Click here for more information on Linear Regression
A buy signal is generated when the price moves below the linear regression curve times a user-defined percent value. Conversely, a sell signal is given when the price moves above the linear regression curve times a user-defined percent value.
//input = price, default is closing price //period = linear regression period, default is 9 //pcAbove = percent above, default is .009 //pcBelow = percent below, default is .009 //index = current bar number
Linear Regression Channel is a popular technical analysis that uses price volatility to provide the price trend directions and the potential buy/sell signals. This indicator displays a channel using a standard deviation multiplier above or below a Linear Regression trend line. The Linear Regression trend line is the middle/center line that represents the general trend in price movements. The other two lines: The Upper and Lower Channel, are paralleled to the center line, and their distances are computed using Standard Deviations. These Upper and Lower Channel lines act as resistance and support to signal potential breakouts of the price trend, therefore, offering buy or sell opportunities.
Click here for more information on the Linear Regression Channel
How to trade using Linear Regression Channel
The slopes of the channel indicate the trend of the prices, whether they are in an upward or downward trend, or a sideways market (flat slope).
By default, markers are generated when the prices cross above or below the top (Upper Channel line) or the bottom (Lower Channel line) lines. Users can enable/disable the markers for clearer readings.
In general, sell signals are given when the price reaches the resistance level (Upper Channel line). The sell signals are more reliable when the channel is in a downtrend. Conversely, buy signals are shown when the price drops right below the support level (Lower Channel line). The buy signals are more reliable when the channel is in an uptrend.
Linear Regression Slope is part of Standard Error Bands by Jon Anderson, Stocks and Commodities Mag. 09/1996. This study should be used with Standard Error PercentA, R Squared and Bollinger Bands®. The user may change the input (close) and period length. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Linear Regression Slope
Linear Regression Slope should be used with Standard Error PercentA, R squared and Bollinger Bands®. For a buy opportunity look for narrow Bollinger Bands® turning upward, R squared in the top 15 percent, and the upward trend of the Standard Error PercentA and the Linear Regression Slope. For a sell opportunity look for narrow Bollinger Bands® turning downward, R squared in the bottom 15 percent, and the downward trend of the Standard Error PercentA and Linear Regression Slope. No trading signals are calculated by this study.
Calculation
//input = price, user defined, default is close //period = user defined, default is 21 //index = current bar number