S - T
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.
The Schaff Trend Cycle (STC) was developed by Doug Schaff, in an attempt to improve the Moving Average Convergence Divergence (MACD). This oscillator combines concepts of MACD and Stochastics analysis to generate faster and more precise trend detection and potential trading opportunities through crossovers. The MACD is calculated and then applied a Stochastic Oscillator formula to create an oscillator that ranges from 0 to 100. The thresholds 25 and 75 indicate the oversold and overbought levels, respectively. The reason that makes the STC more responsive to price actions is the inclusion of shorter cycle periods.
How to trade using the Schaff Trend Cycle (STC)
When the value is above 75, it indicates an overbought condition. If the STC falls below this overbought line, it provides selling opportunities. Conversely, the market enters an oversold condition when the value is below 25. If the STC crosses above the oversold threshold, it suggests buying opportunities.
The STC can also help with trend confirmation. A rising STC line indicates an upward trend and a falling STC line signals a downtrend.
In addition, traders can look at the divergence between the price and STC to identify potential reversals. If the price is at lower lows and the STC is at higher lows, it shows a sign of a bullish reversal. Conversely, if the price is at higher highs and the STC is at lower highs, there might be a bearish reversal.
Seasonality displays the average gain as a percentage that is relative to the start of the month or the year. The recurring market behaviors at specific times of the year can reflect potential price movements. Traders usually analyze Seasonality charts based on the historical price activities of an instrument. Some factors that affect Seasonality's patterns are the seasons (travel stocks in summer or retail stocks throughout the four seasons), the market cycles (harvesting seasons, oil drilling, or gasoline season, gold or silver), and economic or calendar events (holidays, tax deadlines, etc.)
MotiveWave™ offers a projected line to provide potential trends in the future. Seasonality should be used in conjunction with other indicators, such as volume or moving averages to filter noises and false signals and confirm the trend.
Sector Rotation Model was authored by Giorgos Siligardos in the Stocks and Commodities Magazine, August 2012. Select daily bars only. S&P500 Exchange Traded Funds (ETF’s) Instruments are used as proxies for different sectors: XLF for the financial (bull) sector, XLY for the consumer discretionary (bull) sector, XLE for the energy (bear) sector, XLP for the consumer staples (bear) sector, XLU for the utilities (bear) sector. The Rate of Change (ROC) for each sector is used to form a bullish or bearish value. The difference of these values is plotted as an oscillator. The user may change the input (close), period (75), period length and instruments. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using the Sector Rotation Model
No trading signals are calculated for this indicator.
Calculation
//input = price, user defined, default is closing price //rocPeriod = user defined, default is 75 //instr1 = for financial sector use SP500 XLF //instr2 = for consumer discretionary sector use SP500 XLY //instr3 = for energy sector use SP500 XLE //instr4 = for utilities sector use SP500 XLU //instr5 = for consumer staples sector use SP500 XLP //index = current bar number
The Sentiment Zone Oscillator (SZO) was authored by Walid Khalil in the Stocks and Commodities Magazine, May 2012. The SZO uses a triple exponential moving average (TEMA) of a plus-minus value, triggered by the current and previous closing prices. Overbought and oversold paths and adjustable guides are also given. The user may change the input (close), method (TEMA), period lengths, percent factor and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Sentiment Zone Oscillator
Adjust the top and bottom guides to control the quantity and quality of the trading signals. SZO values above 7 are considered to be overbought and therefore offer an opportunity to sell. SZO values below -7 are considered oversold and present an opportunity to buy. In addition to the guides, dynamic over-bought or over-sold paths are plotted. If the SZO is above the top guide or crosses above the over-bought path a sell signal will be generated. Conversely, if the SZO is below the bottom guide or crosses the over-sold path a buy signal will be given.
//input = price, user defined, default is closing price //method = moving average, user defined, default is TEMA //period = user defined, default is 14 //longPeriod = user defined, default is 30 //index = current bar number
The original Sharpe Ratio (SR) was authored by William Forsyth Sharpe; it is given here with a correction done in 1994. It is designed to evaluate how well an investor is compensated for the risk taken. The higher the SR the better the instrument’s performance. The main ingredients are the current price and a prior price which are adjusted with the user-defined safe return. An average and standard deviation are taken; and the SR is their quotient. The user must select linear bars but may change the input (close), period length and a safe value. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using the Sharpe Ratio
The Sharpe Ratio may be used to evaluate an instrument’s performance. No trading signals are calculated.
Calculation
//input = price, user defined, default is close //period = p1, user defined, default is 30 //safe = safe return percentage, user defined, default is 2 //av = average, pow = power, index = current bar number //sma = simple moving average, sdDev = standard deviation
The Simple Moving Average (SMA) is a popular trend indicator that smooths out the price fluctuations by measures the average price of an asset over a specific period. It is an unweighted mean of the previous n bars. For example, a 10-day moving average of closing price is the mean of the previous 10 days’ closing prices. Traders use SMA to identify trend movements, both in short-term and long-term periods. The user may change the input (close), period length and shift number. Short-term SMAs reacts quickly to the price fluctuations and long-term SMAs, though are slower in response, but will smooth out false signals and noises. In addition, crossovers between the price and an SMA, or between SMA and SMA, or SMA and other moving averages can also suggest potential trading signals.
Click here for more information.
The Simple Moving Average is a lagging trend indicator and often be used in conjunction with other studies. When the SMA is moving upward, it indicates an uptrend. Meanwhile, if the SMA is moving downward, it indicates an downward trend.
No trading signals are shown; however, users can observe the crossovers of SMA with the price to make trading decisions. If the price rises over the SMA, it might indicate a buy opportunity. Conversely, if the price falls crosses below the SMA, traders might consider selling.
In case of crossovers between a long-term SMA and a short-term SMA or SMA with other MAs, trading signals are generated when users choose the Moving Average Cross Study in MotiveWave.
This indicator’s definition is further expressed in the condensed code given in the calculation below.
//input = price, user defined, default is close //period = user defined, default is 20 //shift = user defined, default is 0 //sma = simple moving average //index = current bar number
The Signal To Noise Ratio was authored by John Ehlers; it is derived from his Hilbert Transform Indicator. Highs, lows, Euler’s logarithms, factors and feedback are applied to Hilbert’s complex number calculations to produce this indicators amplitude value. The user may change the input (midpoint) and Hilbert period length. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Click here for more information on Ehler’s indicators.
Click here for more information on the Hilbert Transform Indicator
How To Trade Using the Signal To Noise Ratio
The Signal To Noise Ratio may be used in conjunction with other indicators. No trading signals are calculated in this study.
Calculation
//input = price, user defined, default is midpoint price //Hilbert period = user defined, default is 7 //quad = quadrature = imaginary part of complex number //inPhase = real part of complex number //amp = amplitude //index = current bar number
The SlowK Divergence (SKDV) was authored by www.bayou.com. The SKDV doubly smooths the slow K stochastic over two time periods. The user may change the input (close), method (SMA) and period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using SlowK Divergence
The SlowK Divergence may be used in conjunction with other studies. No trading signals are calculated for this indicator.
//input = price, user defined, default is closing price //period1 = user defined, default is 9 //period2 = user defined, default is 3 //method = moving average (ma), user defined, default is SMA //stochK = stochastics fast K //sk = slow K, index = current bar number
The Smart Money Index (SMI) is an indicator designed to observe the behaviors of institutional investors. These investors are often referred to as "Smart Money". The assumption is that organizations in the trading market have more opportunities for information and resources. Therefore, their decisions are potentially more precise compared to individual traders ( or "Dumb Money" traders), who are less informed and more emotional.
Developed by Don Hays, the SMI formula is as follows: SMI = Yesterday's SMI - Opening 30 min gain or loss + Today's Last hour change
Click here for more information
Since the SMI is calculated based on intraday price movements of the Dow Jones Industrial Average (DJIA), the bar needs to be set to 1 day.
How to trade using the Smart Money Index (SMI)
A rising SMI indicates that trading institutions are buying. This activity will push the market price higher towards the end of the day, which shows a bullish sign. In contrast, the SMI will fall when the smart money traders sell. This movement will pull down the price at the end of the trading day, which means a signal of bearish.
SMI can also signal divergence and reversals. In terms of divergence, when the market is moving downward but the SMI is rising, it indicates a potential bullish trend and traders might consider buying. Conversely, if the market is moving up but the SMI is decreasing, it suggests a potential bearish divergence and a signal to sell. For trend reversals, if the SMI starts to increase after a steady period of downtrend, it indicates opportunities to buy whereas when the SMI begins to fall after a steady uptrend, traders might consider selling.
Since the SMI particularly uses the DJIA databases for overall insight into the market, it might not fully reflect the specific activities of institutional investors in the market. For more accurate readings, the SMI should be used in conjunction with other indicators to confirm the trend's strength and direction and trading signals
The SMI Ergodic Indicator (or Stochastic Momentum Index Ergodic) is the same as the True Strength Index (TSI) developed by William Blau, except the SMI includes a signal line. The SMI uses double moving averages of price minus previous price over 2 time frames. The signal line, which is an EMA of the SMI, is plotted to help trigger trading signals. Adjustable guides are also given to fine-tune these signals. The user may change the input (close), method (EMA), period lengths and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Click here for more information on the TSI.
Adjust the top and bottom guides to control the quantity and quality of the trading signals. In addition to the guides, if the SMI crosses the signal line a change in trend is predicted. If the SMI is above the top guide and crosses below the signal line a sell signal will be generated. Conversely, if the SMI is below the bottom guide and crosses above the signal line, a buy signal will be given. The 0 line divides the bulls (above) from the bears (below).
Calculation
//price (user defined, default is closing price) //method = moving average (user defined, default is EMA) //prevP = previousPrice //abs = absolute value //ma = moving average, index = current bar number //MT = moreThan //LT = lessThan
The SMI Ergodic Oscillator (SMIEO) uses the SMI Ergodic Indicator. The SMI Ergodic Indicator uses the True Strength Index (RSI), developed by William Blau. The SMI manipulates double moving averages of price minus previous price over 2 time frames. The signal line, which is an EMA of the SMI, is subtracted from the SMI to create the SMI Ergodic Oscillator. The oscillator is displayed as a histogram. 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.
Click here for more information on the TSI.
Click here for more information on the SMI
How To Trade Using SMI Ergodic Oscillator
The SMI Ergodic Oscillator may be used in conjunction with other indicators. The SMIEO is an expression of the RSI which is a momentum indicator. No signals are calculated for this oscillator.
//price (user defined, default is closing price) //method = moving average (user defined, default is EMA) //prevP = previousPrice, index = current bar number //abs = absolute value //ma = moving average
The Smoothed Moving Average displays data for a given period of time (N). The formula for calculating this average is as follows: SMMA(i) = (SUM(i-1) – SMMA(i-1) INPUT(i))/N where the first period is a simple moving average.
See also Simple Moving Average.
How To Trade Using the Smoothed Moving Average
The Smoothed Moving Average is a lagging trend indicator and may be used in conjunction with other studies. No trading signals are calculated.
//input = price, user defined, default is close //period = user defined, default is 20 //shift = user defined, default is 0 //smma = smoothed moving average //index = current bar number
The Smoothed Rate of Change is an oscillator that compares the current moving average with the moving average of N periods ago. The difference between the Rate of Change (ROC) indicator and its smoothed version is the ROC only compares the price while the Smoothed ROC compares the moving averages. This means the Smoothed ROC reduces data noise and helps avoid false signals. The result is a line that oscillates above and below zero (Smoothed ROC line). The second line is an exponential moving average of the first line (Signal line).
How to trade using the Smoothed Rate of Change
The crossovers between the Smoothed ROC line and the signal line provide insights into bullish and bearish market momentum. When the Smoothed ROC line crosses above the signal line, it suggests a bullish trend, and buy markers are generated. Conversely, when the Smoothed ROC line crosses below the signal line, it indicates a bearish trend, and sell markers are given. The buy signals are more reliable if they are below the zero line and in an uptrend. Meanwhile, it is a strong sign for selling if the signals are above the zero line and in a downward trend.
Additionally, the opposite directions of the price chart and the Smoothed ROC line can indicate potential divergences. For example, if the price is at lower lows, but the Smoothed ROC line is making higher lows, it might signal there will be an uptrend reversal. If the price is at higher highs, but the Smoothed ROC line is at lower highs, the trend might be reversed to a downtrend soon.
The Smoothed Rate of Change might be used in conjunction with other technical indicators.
Sortino Ratio was authored by Frank A. Sortino. The Sortino is similar to the Sharpe Ratio except for the standard deviation component. It is designed to evaluate how well an investor is compensated for the risk taken. The higher the Sortino the better the instrument’s performance. The main ingredients are the current price and a prior price which are adjusted with the user-defined safe return. An average and standard deviation (minus part only) are taken, and the Sortino is their quotient. The user must select linear bars but may change the input (close), period length and a safe value. This indicator’s definition is further expressed in the condensed code given in the calculation below.
See Sortino Ratio See also Sharpe Ratio
How To Trade Using the Sortino Ratio
The Sortino Ratio may be used to evaluate an instrument’s performance. No trading signals are calculated.
Calculation
//input = price, user defined, default is close //period = p1, user defined, default is 30 //safe = safe return percentage, user defined, default is 2 //av = average, pow = power //sma = simple moving average, sdDev = standard deviation //index = current bar number
Dan Valcu describes the Spearman Indicator in the Stocks and Commodities Magazine, February 2011. The indicator is named after Charles Spearman who was a British psychologist and mathematician of the late 19th and early 20th centuries. Spearman is an oscillator with values between +100 and -100. High plus values (+80) indicate an uptrend; high negative values (-80) represent a downtrend. A signal, which is a moving average of the Spearman, is also plotted. The user may change the input (close), method (SMA), period lengths and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below.
No trading signals are calculated for this indicator.
//input = price, user defined, default is closing price //method = moving average, user defined, default is SMA //n = Spearman period, user defined, default is 10 //sigPeriod = signal period, user defined, default is 3
Speed Gauge is a tool that illustrates the current market speed. Four gauges can be shown for one instrument and users can choose their statistical options, from Ticks to Volume or Delta DOM. The gauge provides insights into the current pace of the market, and how fast the prices are changing through multiple aspects.
Speed of Tape presents the speed of the market by displaying the number of a chosen statistic ( ticks or volume) that has occurred in the last interval. This indicator helps traders identify the market momentum, divergence, and insights into the market sentiments. The Speed of Tape can also reflect the relationship between the price and volume. Users should set bar sizes in small time-frames (minutes), as the speed interval for Speed of Tape is seconds.
How to trade using the Speed of Tape
The bar height presents the speed of the tape. Significant changes are highlighted in the main chart and are associated with changes in the tape. The higher the bars, the faster the trading activities.
In case the tape shows an increase in price, along with a large amount of volume orders, it suggests a strong bullish trend. Therefore, traders can consider going long. Conversely, when the price is falling on high-volume orders, it indicates a strong bearish trend and traders can consider going short. Up and down markers will appear to support decision-making. On the other hand, price movements with a low volume of orders might reflect false signals and a weak trend.
The Speed of Tape can also provide insights into divergence and potential reversals. If the tape is slowing down but the price is advancing, it indicates the uptrend is slowing down and there might be a reversal happening soon. If the tape is accelerating but the price shows signs of dropping, it suggests a strong downtrend.
In addition, the tape is a helpful tool for intraday momentum trading, and day traders can use it to access market sentiment and gauge price movements during the day.
The Spead study computes the difference between two instruments and displays their relationship and performance in a Spread chart. The difference is often calculated by subtracting the price of one instrument from another's, but there are other calculation types (subtract, add, multiply, and divide) that users can choose from and can be found in the Operation option. Users can also adjust the multiplier values to generate desired results.
How to pair-trade using Spread
Different types of operations can provide multiple aspects of two instruments' relationships.
For Subtracting, users can apply Spread to identify mean reversion that signals a long or short position. The idea behind Mean Reversion is that after a sudden spike in trend, the prices tend to revert to their historical averages. This means if the spread has been expanding (or narrowing), it might shrink (or widen) to the average range soon, and traders could go long or short until the spread becomes normal. For example, if the Spread = Instrument A - Instrument B, and it is widening, traders can sell A and buy B expecting that the prices of A will drop and B's will rise to come back to the mean Spread soon. Conversely, when the spread is narrower than the average, traders can expect that the prices of A will soon increase and B's will fall to expand to the normal range, and therefore decide to go long on A and short on B.
When combining the prices of two instruments, it can show an overall performance for both. When their total values create a bullish trend, it suggests opportunities for both instruments to enter a long position. Similar to a bearish movement of the combined values, it might be a sign of going short.
When the price of an instrument is divided by another's, the Spread is the ratio that reflects their correlation and performance. If the Spread = Instrument A / Instrument B, and the ratio is greater than 1, it indicates that Instrument A is performing better than Instrument B, relatively. In this case, traders should consider buying instrument A or selling instrument B. Conversely, when the ratio is less than 1, it indicates that instrument A is underperforming compared to instrument B, relatively and it signals to go long on instrument B or go short on instrument A.
Standard Deviation (SD) is a statistical measure of the actual value compared to an average value, the greater the difference, the higher the standard deviation. Two lines are plotted, the SD times a user-defined factor, and a signal line which is a moving average of the SD. The user may change the input (close), method (SMA), period lengths and standard deviation factor. Standard Deviation helps identify market volatility and risk management. A high SD indicates the price is moving dramatically while a low SD suggests the market's prices have been more stable or consolidated.
If the stdDev crosses below the Signal line (downward trend) a sell signal is generated. Conversely, if the stdDev crosses above the Signal line (upward trend) a buy signal is given.
Standard Deviation might be used in conjunction with other indicator, such as RSI or MACD for confirmations.
Calculation
The Standard Deviation's definition is further expressed in the condensed code given in the calculation below.
//input = price user defined, default is closing price //method = moving average user defined, default is SMA //stdDev = standardDeviation //stdFac = standardDeviationFactor user defined, default is 1 //ma = moving average, index = current bar number
Standard Error Percent Average is part of Standard Error Bands by Jon Anderson, Stocks and Commodities Mag. 09/1996. This study should be used with R Squared, Linear Regression Slope and Bollinger Bands®. The user may change the input (close) and period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Click here for trading information.
//input = price, user defined, default is close //period = user defined, default is 21 //sDegPeriod = user defined, default is 3 //av = average, index = current bar number //sma = simple moving average //y = value on the price axis, x = value on the time axis (bar number)
Starc Bands are overlays used in conjunction with Bollinger Bands® to create trading signals. Starc bands are calculated by adding/subtracting a multiple of Average True Range (ATR) from a simple moving average. Bollinger Bands® are similar except standard deviation is used in place of ATR. The user may modify the input (close), method (SMA), periods and multipliers. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Starc Bands
Adjust the bandwidths with multiplier factors to control the quantity and quality of the trading signals. The trend is calculated from the slope of the ma. If a high goes above the bands and it is a downtrend, a sell signal is generated. Conversely, a buy is given if a low goes below the bands and it is in an up trend.
//input = price (user defined, default is closing price) //method = moving average (user defined, default is SMA) //atr = average true range //ma = moving average //bb = bollinger bands //prev = previous, index = current bar number //MT = more than, MOE = more or equal //LT = less than, LOE = less or equal //mult = multiplier factor
The Stochastic Oscillator was promoted by Dr. George Lane in the 1950s. Stochastic Bars changes the color of the price bars if the Stochastic value is above or below certain user-defined values. Stochastics is often used to indicate overbought (top of range) or oversold (bottom of range) conditions. The oscillator’s basic calculation is 100*(current price-period low)/(period high-period low). 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.
Click here for more information.
How To Trade Using Stochastic Bars
Stochastic Bars may identify overbought and oversold conditions. If the Stochastic value is more than the top level, it indicates an overbought situation, the bars will change to the buy color, suggesting selling. Conversely, if the Stochastic value is less than the bottom level, it indicates an oversold situation, the bars will change to the sell color, suggesting buying.
//method = moving average (ma), user defined, default is EMA //kPeriod = user defined, default is 14 //slowPeriod = user defined, default is 3 //fastPeriod = user defined, default is 3 //top = user defined, default is 80 //bottom = user defined, default is 20 //index = current bar number //MOR= more or equal, LOR= less or equal
The Stochastic Oscillator was promoted by Dr. George Lane in the 1950s. It is often used to indicate overbought (top of range) or oversold (bottom of range) conditions. The oscillator’s basic calculation is 100*(current price-period low)/(period high-period low). 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.
Click here for more information.
How To Trade Using Stochastic Fast
Stochastic is a momentum indicator. If the %K line (pk) crosses above the %D line (pd), a buy signal is generated. Conversely, if the %K line (pk) crosses below the %D line (pd), a sell signal will be given.
Calculation
//method = moving average (ma), user defined, default is EMA //kPeriod = user defined, default is 14 //maPeriod = user defined, default is 3 //signalPeriod = 1 index = current bar number
The Stochastic Oscillator was promoted by Dr. George Lane in the 1950s. It is often used to indicate overbought (top of range) or oversold (bottom of range) conditions. The oscillator’s basic calculation is 100*(current price-period low)/(period high-period low). 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.
Click here for more information.
How To Trade Using Stochastic Slow
Stochastic is a momentum indicator. If the %K line (pk) crosses above the %D line (pd), a buy signal is generated. Conversely, if the %K line (pk) crosses below the %D line (pd), a sell signal will be given.
//method = moving average (ma), user defined, default is EMA //kPeriod = user defined, default is 14 //maPeriod = user defined, default is 3 //signalPeriod = 3 index = current bar number
The Stochastic Oscillator was promoted by Dr. George Lane in the 1950s. It is often used to indicate overbought (top of range) or oversold (bottom of range) conditions. The oscillator’s basic calculation is 100*(current price-period low)/(period high-period low). This is a fully configurable version of the Slow Stochastic Oscillator. 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.
Click here for more information.
How To Trade Using Stochastic Full
Stochastic is a momentum indicator. If the %K line (pk) crosses above the %D line (pd), a buy signal is generated. Conversely, if the %K line (pk) crosses below the %D line (pd), a sell signal will be given.
Calculation
//method = moving average (ma), user defined, default is EMA //kPeriod = user defined, default is 14 //maPeriod = user defined, default is 3 //signalPeriod = user defined, default is 3 //index = current bar number
The Stochastic Momentum Index (SMI) provides a refinement of the Stochastic Oscillator. In comparison, the SMI shows where the close is relative to the midpoint of the same range. The SMI ranges between +100 and -100 and is somewhat less erratic than a Stochastic Oscillator over the same period. 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.
If the SMI crosses above the SIGNAL line, a buy signal will be generated. Conversely, if the SMI crosses below the SIGNAL line, a sell signal will be given.
Calculation
//method = moving average (ma), user defined, default is EMA //high low Period = hlPeriod = user defined, default is 2 //maPeriod = user defined, default is 8 //smoothPeriod = user defined, default is 5 //signalPeriod = user defined, default is 5 //index = current bar number
Stochastic Regular was authored by Stuart Evens in the Stocks and Commodities Magazine 09/1999. The Stochastic Regular calculation uses close, highest highs and lowest lows. First, the fast K (FK) is calculated and then smoothed to produce the slow K (SK) which is used as a signal line. Adjustable guides are given to fine-tune the trading signals. The user may change the input (close), period lengths, and slow K method. This indicator’s definition is further expressed in the condensed code given in the calculation below. See also Stochastic Oscillator.
How To Trade Using Stochastic Regular
Adjust the top and bottom guides to control the quantity and quality of the trading signals. FK values above 70 are considered to be overbought and therefore offer an opportunity to sell. FK values below 30 are considered oversold and present an opportunity to buy. If the FK is above the top guide and crosses below the SK, a sell signal will be generated. Conversely, if the FK is below the bottom guide and crosses above the SK, a buy signal will be given. The 50 line divides the bulls above from the bears below.
Calculation
//input = price, user defined, default is closing price //fkPeriod = user defined, default is 5 //skPeriod = user defined, default is 3 //method = moving average (ma), user defined, default is SMA //fk = fast k, sk = slow k (or fast d) //sma = simple moving average, index = current bar number
This Stochastics SC or Stochastic Custom calculation uses close, highest highs and lowest lows. The numerator (price- lowest) and denominator (highest – lowest) are separately smoothed before being turned into an oscillator referred to as the Stochastic Custom K (SCK). The SCK is then smoothed to produce the Stochastic Custom D (SCD) which is used as a signal line. Adjustable guides are given to fine-tune the trading signals. The user may change the input (close), period lengths, and signal method. This indicator’s definition is further expressed in the condensed code given in the calculation below.
See also Stochastic Oscillator.
How To Trade Using Stochastics SC
Adjust the top and bottom guides to control the quantity and quality of the trading signals. SCK values above 70 are considered to be overbought and therefore offer an opportunity to sell. SCK values below 30 are considered oversold and present an opportunity to buy. If the SCK is above the top guide and crosses below the SCD, a sell signal will be generated. Conversely, if the SCK is below the bottom guide and crosses above the SCD, a buy signal will be given. The 50 line divides the bulls above from the bears below.
Calculation
//input = price, user defined, default is closing price //fkPeriod = user defined, default is 7 //ckPeriod = user defined, default is 3 //cdPeriod = user defined, default is 12 //method = moving average (ma), user defined, default is SMA //diff = difference, num = numerator, den = denomator //av = average, sma = simple moving average
The Stochastic RSI oscillator measures the level of the RSI (Relative Strength Index) as compared to its range over a given time period. The RSI is used as the foundation, and the Stochastics formula is applied to produce an oscillator that fluctuates between 0 and 1. The user may change the input (close), period length and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Click here for more information on the RSI.
How To Trade Using Stochastic RSI
Adjust the top and bottom guides to control the quantity and quality of the trading signals. If the K crosses above the top guide a sell signal will be generated. Conversely, if the K crosses below the bottom guide, a buy signal will be given.
Calculation
//input = price, user defined, default is closing price //period = user defined, default is 14 //index = current bar number //LT = less than, LOE = less or equal //MT = more than, MOE = more or equal
SuperTrend study is a popular trend indicator created by Olivier Seban. It is an overlay line that plots the multiplication of the Average True Range (ATR) and a multiplier to determine the distance and sensitivity of the line from the midpoint, depending on the trend direction. Users can adjust the ATR period and multiplier value to suit their trading style. A high ATR and multiplier will generate fewer false and more reliable signals, which is helpful for long-term readings. Meanwhile, a lower ATR with a small multiplier makes the SuperTrend response to changes quicker, which is suitable for short-term trading.
A SuperTrend line will change colors depending on its position with the price. This indicator is a simple and dynamic tool that displays trend directions, buy/sell signals and can act as a trailing stop loss.
How to trade using the SuperTrend line
When the SuperTrend line is red and above the price chart, it indicates a bearish trend, and therefore, a sell signal will be generated. Conversely, when the SuperTrend line is green and falls below the price line and turns green, it signals a bullish trend and signals a buying opportunity.
Due to its dynamic features, the SuperTrend line can be used as a trailing stop loss. When the SuperTrend line and price line cross, it indicates a potential trend reversal and therefore, an exit to lock in profits or minimize losses.
The SuperTrend line might be used in conjunction with other indicators such as RSI. MACD, Moving Averages, or Stochastic oscillator to confirm reliable signals.
Support levels indicate the price where investors believe that prices will move no lower. In contrast, resistance levels indicate the price at which investors believe the price will move no higher. 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 Support Resistance
Adjust the top and bottom guides to control the quantity and quality of the trading signals. When the price drops to the support line, offering an opportunity to sell. When the price reaches the resistance line, there is an opportunity to buy.
Calculation
//high input = price, user defined, default is close //period = user defined, default is 20 //prev = previous, sma = simple moving average //LT = less than, LOE = less or equal //MT = more than, MOE = more or equal //supp = support, res = resistance
Support And Resistance Oscillator was authored by Art Putt. True Range, Highs, Lows, Opens and Closes all contribute to the construction of this oscillator; which is equipped with adjustable guides and highlighted as a tri-colored histogram. The user may change the input (close) and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using SupportAndResistance Oscillator
Adjust the top and bottom guides to control the quantity and quality of the trading signals. SRO values above .70 to .80 are considered to be overbought and therefore offer an opportunity to sell. SRO values below .30 to .20 are considered oversold and present an opportunity to buy. If the SRO peaks above the top guide a sell signal will be generated. Conversely, if the SRO troughs below the bottom guide a buy signal will be given. The .50 line divides the bulls (above) from the bears (below).
Calculation
//input = price, user defined, default is closing price //index = current bar number
Swami Stochastics was developed by John Ehlers and Ric Way. It utilizes a series of stochastic values to determine bullish and bearish periods. The indicator will be green when entering a bullish period, red when entering a bearish period. Yellow is displayed when the direction is indeterminate. The user may change the period lengths. This indicator’s definition is further expressed in the raw code given in the calculation below. Click here for details.
How To Trade Using Swami Stochastics
No trading signals are calculated for this indicator.
//minPeriod = user defined, default is 12 //maxPeriod = user defined, default is 48 //MT = more than, LT = less than //index = current bar number
Swing Points draw lines connecting swing points from top to bottom. A different color is used for the line if it breaks the previous swing point. The user may change the strength value. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Swing Points
Adjust the top and bottom guides to control the quantity and quality of the trading signals. If the prices reach swing highs, sell signals will be given. If the prices approach swing lows, buy signals will be given.
Calculation
//strength = user defined, default is 10 //index = current bar number
Swiss Army Knife Indicator (SAKI) was authored by John F. Ehlers. As the name implies the SAKI is many indicators in one. The basic ingredients are the current price, the previous price, a prior price and feedback. A host of mathematical functions and constants, including pi, sine, cosine, square root and a good portion of the Greek alphabet, are used. The proper ingredients for the calculation of the chosen indicator are applied to a general formula. The user may choose a type from a list of 9 indicators. The user may change the input (midpoint), type, period and a delta1 factor. This indicator’s definition is further expressed in the condensed code given in the calculation below.
No trading signals are calculated for any of these indicators.
//input = price, user defined, default is midpoint price //type = indicator, user defined, default is E-SMA //period = user defined, default is 20 //delta1 = user defined, default is 0.1 //E-EMA = indicator, type of exponential moving average //E-SMA = indicator, type of simple moving average //GAUSS = indicator, BUTTER = indicator //SMOOTH = indicator, HP = indicator //2PHP = indicator, BP = indicator //BS = indicator //index = current bar number
Technical Rank (TR) was authored by John Murphy. The instrument’s price is plied with multiple moving averages, rate of change and the relative strength index. These values are mathematically manipulated with percentage factors and then summed together. The total is rounded and truncated, forcing it to conform to the technical rank range of 0 to 100, and finally, it is put on display as a tri-colored histogram. The user may change the input (close) and multiple period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Technical Rank may be useful in choosing a stock. 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 //p1 = period, user defined, default is 200 //p2 = period, user defined, default is 125 //p3 = period, user defined, default is 50 //p4 = period, user defined, default is 20 //p5 = period, user defined, default is 12 //p6 = period, user defined, default is 26 //p7 = period, user defined, default is 9 //p8 = period, user defined, default is 3 //p9 = period, user defined, default is 14 //sma = simple moving average, ema = exponential moving average //roc = rate of change, rsi = relative strength index //index = current bar number
Three Lines by Bill Williams displays three displaced moving averages based on the midpoint price. The user may change the input (midpoint), method (SMA), periods and displace lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using 3 Lines
The Three Lines Indicator may be used in conjunction with other indicators as a trend indicator. No trading signals are given.
//input = price (user defined, default is midpoint price) //method = user defined, default is SMA //period1 = user defined, default = 13 //displace1 = user defined, default = 8 //period2 = user defined, default = 8 //displace2 = user defined, default = 5 //period3 = user defined, default = 5 //displace3 = user defined, default = 3 //index = current bar number
TFS MOB Indicator was authored by Bryan Strain in the Stocks and Commodities Magazine 06/2000. It is the difference of a fast and slow-moving average. The user may change the input (close), method (SMA) and period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using TFS MOB Indicator
The TFS Volume Oscillator may be used in conjunction with other indicators. No trading signals are given.
//input = price, user defined, default is close //method = moving average, user defined, default is SMA //fastPeriod = user defined, default is 25 //slowPeriod = user defined, default is 200 //index = current bar number
The TFS Tether Line was authored by Bryan Strain in Stocks and Commodities Mag.06/2000. The Tether line is a 50 period midpoint price. The user may change the period value. This indicator’s definition is further expressed in the condensed code given in the calculation below.
A sell signal will be generated if the high crosses above the TL. Conversely, a buy signal will be given if the low crosses below the TL.
Calculation
//period = user defined, default is 50 //prev = previous, MT = moreThan, LT = lessThan //index = current bar number
TFS Volume Oscillator was authored by Bryan Strain in Stocks and Commodities Magazine 06/2000. First, the bar volume for the period is tallied as a plus or minus dependant upon a predominant open (-) or closing (+) price. This tally is then divided by the period to produce the volume oscillator plot. The user may change the period length. This indicator’s definition is further expressed in the condensed code given in the calculation below.
The TFS Volume Oscillator may be used in conjunction with other indicators. No trading signals are calculated.
//period = user defined, default is 7 //index = current bar number
Tilson IE/2, by Tim Tilson, is a type of moving average; it uses the linear regression slope (m) in the line equation (y=a+mx). When the average crosses the input price trading signals are given. The user may change the input (close), method (SMA) and period length. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Trading signals are triggered when the IE2 and the price cross. If the IE2 crosses above (upward movement), a buy signal is generated. Conversely, if the IE2 crosses below (downward movement), a sell signal is given.
//input = price, user defined, default is close //method = moving average, user defined, default is SMA //period = user defined, default is 15 //av = average //ma = moving average, index = current bar number //a and m are values in line equation y=a+mx.
The Time Frame study will plot time frames and/or price ranges on your chart. This could be used to shade pre/post market times on your chart.
The Time Price Opportunity (TPO) study displays market activity using time and price (sometimes known as Market Profile).
The following screenshot illustrates some of the features of the TPO study. This is a daily TPO with a 30-minute time interval, on a 15-minute price chart, and the price interval is set to 2 ticks.
For details on how to use this study, see our Volume and Order Flow Analysis Guide
The Trader's Dynamic Index (TDI) is created by Dean Malone. TDI integrates RSI, its moving averages (MAs), and volatility bands that are based on Bollinger Bands to generate entry and exit signals. This dynamic tool also provides insights into trends, reversals, momentum, market volatility, buy/sell signals, and overbought/oversold conditions.
There are four components in a TDI chart. The chart is developed around RSI and its MAs. The Price Line is the RSI that plots the strength of the price movement. The Trade Signal Line is an MA of the RSI line. The Market Base Line in the middle is a slow MA of the RSI that shows the long-term trend and momentum. The Upper and Lower Volatility Bands are calculated using the standard deviation of the RSI to display the market's volatility. The wider the bands' distance, the more volatile the market is.
When the Price Line crosses above the Trend Signal Line, a buy marker will be generated. Meanwhile, when the Price Line crosses below the Trend Signal Line, a sell signal will be given.
How to trade using Trader's Dynamic Index
If a buy signal occurs below the Market Base Line, it indicates a strong bullish trend and a reliable buying opportunity. Conversely, if a sell signal is above the Market Base Line, it suggests a strong bearish trend and might be a good time to enter a short position. The signals become even more reliable if they fall within the range of the Upper and Lower bands.
When the Price Line crosses above the Market Base Line, it shows a potential upward direction. Conversely, when the Price Line crosses below the Market Base Line, it suggests a potential downtrend. The TDI can help confirm the trend direction and strength by looking at the crossovers of the Price Line and Market Base Line.
Similar to the traditional RSI, TDI displays overbought/oversold conditions and potential reversals. Typically, if a sell marker is in the overbought zone (above 70), it indicates a potential reversal from uptrend to downtrend. In contrast, if a buy signal is in the oversold zone ( below 30), there might be an upward reversal.
Another way to identify reversals is to compare the directions of the price and the Price Line (RSI Line - green) in a TDI graph. If the price forms higher highs, but the RSI line makes lower highs, it signals a potential bearish reversal. If the price forms lower lows but the RSI line creates higher lows, it suggests a potential upward reversal.
Trend Analysis Index was authored by Adam White, in the Stocks and Commodities Mag. 08/1992. This index uses the highest and lowest prices of a simple moving average to create an oscillator. The user may change the input (close) and period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
The Trend Analysis Index may be used in conjunction with other indicators. No trading signals are given.
//input = price user defined, default is close //avPeriod = user defined, default is 28 //taiPeriod = user defined, default is 5 //sma = simple moving average, index = current bar number
Trend Momentum Volatility Volume (TMV) was authored by Barbara Star in the Stocks and Commodities Magazine, Feb. 2012. The TMV displays five indicators, Keltner Channels (KC), Commodity Channel Index (CCI), the Volume Oscillator (VO), Average Directional Index (ADX) and a Simple Moving Average (SMA). The price bars change color based on the ADX and the SMA. See individual studies for details. This indicator’s definition is further expressed in the condensed code given in the calculation below.
See Keltner Channel See Commodity Channel Index See Average Directional Index See Volume Oscillator See Simple Moving Average
How To Trade Using the TMV
The price bars change colors as outlined in the code below.
Calculation
//input = price, user defined, default is close //period = user defined, default is 13 //keltner upper range = upperRange user defined, default is 2 //keltner lower range = lowerRange user defined, default is 2 //volume method = method user defined, default is sma //volume fast period = fastPeriod user defined, default is 1 //volume slow period = slowPeriod user defined, default is 20 //adx period = adxPeriod user defined, default is 10 //sma period = smaPeriod user defined, default is 8 //prev = previous, index = current bar number
The Treynor Ratio or Measure was authored by Jack L. Treynor. It is designed to evaluate how well an investor is compensated for the risk taken. The higher the Treynor the better the instrument’s performance. The main ingredients are the current price and a prior price which are adjusted with the user-defined safe return. A user-defined safe return is subtracted from the average return and divided be a user-defined beta number. The user must select linear bars but may change the input (close), period length, beta and a safe return value. This indicator’s definition is further expressed in the condensed code given in the calculation below.
See Treynor Ratio See also Sharpe Ratio
The Treynor Ratio may be used to evaluate an instrument’s performance. No trading signals are calculated.
//input = price, user defined, default is close //period = p1, user defined, default is 30 //beta = user defined, default is 1 //safe = safe return percentage, user defined, default is 2 //av = average, pow = power //sma = simple moving average, sdDev = standard deviation //index = current bar number
The Triangular Moving Average (TMA) is a double-smoothed simple moving average. This is calculated as follows TMA = SMA(SMA). The user may change the input (close), period (20) and shift (0). This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using the Triangular Moving Average (TMA)
TMA may be used as a moving average in conjunction with other indicators. No trading signals are given.
Calculation
//input = price, user defined, default is close //period = user defined, default is 20 //shift = user defined, default is 0 //ma = moving average, index = current bar number
Triple Exponential Moving Average (TEMA) was developed by Patrick Mulloy in 1994. This is calculated as follows TEMA = 3*EMA – 3*EMA(EMA) + EMA(EMA(EMA)). The user may change the input (close), period (20) and shift (0). This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using the Triple Exponential Moving Average (TEMA)
TEMA may be used as a moving average in conjunction with other indicators. No trading signals are given.
Calculation
//input = price, user defined, default is close //period = user defined, default is 20 //shift = user defined, default is 0 //ma = moving average, index = current bar number
The TRIX oscillator was developed by Jack Hutson in the 1980s. The TRIX displays, the percent rate of change, of 3 iterations of an exponentially smoothed moving average of an instrument. Oscillating around the zero line, TRIX is designed to filter out stock movements that are insignificant to the larger trend. The user may change the input (close) and period lengths. 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 TRIX
A sell signal will be generated if the TRIX line crosses above the Signal line. Conversely, a buy signal will be given if the TRIX line crosses below the Signal line.
//input = price, user defined, default is close //period = user defined, default is 15 //period2 = user defined, default is 9 //EMA = exponential moving average //ma = moving average, prev = previous //index = current bar number, sig = signal
Turbo Stochastic Fast (TSF) was authored Omega Research 1996. The TSF first calculates the slow K and then smooths it with a Simple Moving Average to produce the fast D. The slow and fast lines are further manipulated with the Linear Regression line calculation which is effectively another smoothing technique. The Linear Regression point (bar number) may be chosen by the user defined turbo value. A plus value points to a future bar location, a minus to a past bar location. Adjustable guides are given to fine-tune the trading signals. The user may change the input (close), period lengths, turbo and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below. See also Stochastic Oscillator.
How To Trade Using Turbo Stochastic Fast
Adjust the top and bottom guides to control the quantity and quality of the trading signals. TSFK values above 70 are considered overbought and therefore offer an opportunity to sell. TSFK values below 30 are considered oversold and present an opportunity to buy. If the TSFK is above the top guide and crosses below the TSFD, a sell signal will be generated. Conversely, a buy signal will be given if the TSFK is below the bottom guide and crosses above the TSFD. The 50 line divides the bulls above from the bears below.
//input = price, user defined, default is closing price //kPeriod = user defined, default is 20 //dPeriod = user defined, default is 20 //regress = linear regression period = user defined, default is 10 //turbo = user defined, default is +2 //stochK = stochastics slow K, sma = simple moving average //index = current bar number
Turbo Stochastic Slow (TSS) was authored Omega Research 1996. The TSS first calculates the slow K and then smooths it twice with a Simple Moving Average to produce the slow D. The slow K and D lines are further manipulated with the Linear Regression line calculation which is effectively another smoothing technique. The Linear Regression point (bar number) may be chosen by the user-defined turbo value. A plus value points to a future bar location, a minus to a past bar location. Adjustable guides are given to fine-tune the trading signals. The user may change the input (close), period lengths, turbo and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below. See also Turbo Stochastics Fast.
How To Trade Using Turbo Stochastic Slow
Adjust the top and bottom guides to control the quantity and quality of the trading signals. TSSK values above 70 are considered overbought and therefore offer an opportunity to sell. TSSK values below 30 are considered oversold and present an opportunity to buy. If the TSSK is above the top guide and crosses below the TSSD a sell signal will be generated. Conversely, if the TSSK is below the bottom guide and crosses above the TSSD a buy signal will be given. The 50 line divides the bulls above from the bears below.
//input = price, user defined, default is closing price //kPeriod = user defined, default is 20 //dPeriod = user defined, default is 20 //regress = linear regression period = user defined, default is 10 //turbo = user defined, default is +2 //stochK = stochastics slow K, sma = simple moving average //index = current bar number
Twiggs Money Flow by Colin Twiggs is a variation on the Chaikin Money Flow Index. It uses True Range and volume. Adjustable guides are given to fine-tune the signals. The user may change the method (EMA), period lengths, and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Twiggs Money Flow
Adjust the guides allowing approximately 30 percent of the total range above the top guide and 30 percent below the bottom guide. If the TMF peaks above the top guide a sell signal will be generated. Conversely, if the TMF troughs below the bottom guide, a buy signal will be given.
Calculation
//method = moving average, user defined, default is EMA //period = user defined, default is 21 //ma = moving average //trh = true high //trl = true low //prev = previous, index = current bar number //LT = lessThan, MT = moreThan
The Two Pole Butterworth Filter (TPBF) was authored by John Ehlers. The TPBF uses current price, previous prices and feedback in its calculation. 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 Two Pole Butterworth Filter
The Two Pole Butterworth 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 closing price //period = user defined, default is 20 //prev = previous, index = current bar number