Indicators
List of technical indicators provided by Streak¶
Overlap Studies
- SMA (Simple Moving Average)
- EMA (Exponential Moving Average)
- DEMA (Double Exponential Moving Average)
- TEMA (Triple Exponential Moving Average)
- WMA (Weighted Moving Average)
- TMA (Triangular Moving Average)
- Hull Moving Average
- Kaufman Moving Average
- UBB (Upper Bollinger Band)
- MBB (Middle Bollinger Band)
- LBB (Lower Bollinger Band)
- Parabolic SAR
- Supertrend
- Alligator
- RSI Moving Average
- Ichimoku Cloud
Momentum Indicators - RSI (Relative Strength Index)
- ADX (Average Directional Index)
- Aroon Up
- Aroon Down
- Aroon Oscillator
- MACD (Moving Average Convergence Divergence)
- MACD Signal (Moving Average Convergence Divergence Signal)
- CCI (Commodity Channel Index)
- MFI (Money Flow Index)
- Plus DI (+DI, Plus Directional Index)
- Minus DI (-DI, Minus Directional Index)
- WillR (Williams %R)
- TRIX (1 day ROC of a triple smooth EMA)
- PROC (Price Rate Of Change)
- MOM (Momentum Indicator)
- Stochastic
- Stochastic Momentum Index
- Stochastic RSI
- Trend Intensity Index
Volume Indicators - OBV (On-balance Volume)
- Volume
- Prev N Volume
- Opening Range Volume
- Moving Average Volume
Volatility Indicators - ATR (Average True Range)
- TR (True Range)
- NATR (Normalized True Range)
- ATR Bands Top
- ATR Bands Bottom
- Vortex Indicator
- Choppiness Index
Price Action - Number
- Close
- Open
- High
- Low
- Prev N
- Pivot Points
- Opening Range
- Volume Weighted Average Price
- Narrow Range
Indicators¶
Supertrend¶
Common ways to use Supertrend
- Buy Strategy
If your strategy is to buy when the supertrend indicator indicates buy (green arrows as per charts) then use: Supertrend crosses below Close(0) - Sell strategy
If your strategy is to sell when the supertrend indicator indicates sell (red arrows as per the charts) then use: Supertrend crosses above Close(0)
RSI¶
Common ways to use RSI
- Buy strategy
If your strategy is to buy when the RSI is over sold (usually indicated by the RSI being lower 20) then use: RSI higher than 20 - Sell strategy
If your strategy is to sell when the RSI is over bought (usually indicated by the RSI being higher 80) then use: RSI lower than 80
Simple Moving Average (SMA)¶
Multiple strategies can be formed with SMA
- Buy strategy
If the short term trend is bullish, then you can use: SMA(20) higher than SMA(40) - Sell strategy
If the short term trend is bearish, then you can use: SMA(20) lower than SMA(40)
Exponential Moving Average (EMA)¶
Common ways to use EMA
- Buy strategy
If the short term trend is bullish, then you can use: EMA(20) higher than EMA(40) - Sell strategy
If the short term trend is bearish, then you can use: EMA(20) lower than EMA(40)
ADX¶
ADX is a momentum indicator. It is defined by 3 components: The +DI (Plus Directional Indicator) line/value, the -DI (Minus Directional Indicator) line/value and the ADX (Average Directional Index) line/value itself. The +DI and -DI measure trend direction over time, whereas the ADX measures the strength of the trend (regardless of direction) over time.
They can be used together as shown in the examples below:
- Buy strategy: +DI(14) crosses above -DI(14) and ADX(14) higher than 20
- Sell strategy: -DI(14) crosses above +DI(14) and ADX(14) higher than 20
Parabolic SAR (PSAR)¶
SAR stands for Stand And Reverse, which means when signals appear the trader gets out of the former position and initiates a new one.
Based on Welles Wilder’s system (creator of PSAR), when the trend is down the indicator dots are above the price candles and when the trend is up, the dots are below the price candle.
Example:
- Buy signal to identify a bullish trend, PSAR crosses below Low
- Sell signal to identify a bearish trend, PSAR crosses above High
Commodity Channel Index (CCI)¶
CCI measures the current price level relative to an average price level over a given period of time.
CCI is relatively high when prices are far above their average. CCI is relatively low when prices are far below their average. In this way, CCI can be used to identify overbought and oversold levels. It is not range bound.
Common ways to use CCI:
- Buy strategy: If your strategy is to identify when the stock is oversold (usually indicated by the CCI being lower than -100) and you want to buy when the stock breaks the oversold region and crosses above then use, 20 CCI crosses above 100
- Sell strategy: If your strategy is to identify when the stock is overbought (usually indicated by the CCI being higher than 100) and you want to sell when the stock breaks the overbought region and crosses below then use 20 CCI crosses below -100
Comparators¶
All the indicator values are calculated w.r.t to the candle intervals
- higher than - The value of indicator 1 is higher than the value of indicator For ex: If the strategy is 5SMA higher than 7SMA, the trigger will happen when the value of 5SMA is above the value of 7SMA for the given candle interval
- lower than - The value of indicator 1 is lower than the value of indicator 2
For ex: If the strategy is 5SMA lower than 7SMA, the trigger will happen when the value of 5SMA is below the value of 7SMA for the given candle interval - equal to - The value of indicator 1 is equal to the value of indicator 2
For ex: If the strategy is 5SMA equal to 7SMA, the trigger will happen when the value of 5SMA is equal to the value of 7SMA for the given candle interval. - crosses above - The value of indicator 1 goes higher than the value of indicator 2
For ex: If the strategy is 5SMA crosses above 7SMA, the trigger will happen when the 5SMA line moves up above the 7SMA line for the given candle interval. The trigger will happen only if the value of 5SMA was below the value of 7SMA in the previous candle. - crosses below - The value of indicator 1 goes lower than the value of indicator 2
For ex: If the strategy is 5SMA crosses below 7SMA, the trigger will happen when the 5SMA line moves down below the 7SMA line for the given candle interval. The trigger will happen only if the value of 5SMA was above the value of 7SMA in the previous candle
Double Exponential Moving Average (DEMA)¶
DEMA reduces the lag to a greater extent as compared to an EMA. It's usage is typical to that of any other moving average. It works best when the market is trending, and not when the market is sideways. It can be used with other moving averages, OHLC prices of the candle or with a number. Example:
- Buy strategy: If the short term trend is bullish, then you can use: 10 DEMA crosses above 20 DEMA or Close(0) crosses above 30 DEMA
- Sell strategy: If the short term trend is bearish, then you can use: 10 DEMA crosses below 20 DEMA or Close(0) crosses below 30 DEMA
Triple Exponential Moving Average (TEMA)¶
TEMA reduces the lag to a greater extent as compared to a DEMA. It's usage is typical to that of any other moving average. It works best when the market is trending, not when the market is sideways. It can be used with other moving averages, OHLC prices of the candle or with a number. Example:
- Buy strategy: If the short term trend is bullish, then you can use 10 TEMA crosses above 20 TEMA or Close(0) crosses above 30 TEMA
- Sell strategy: If the short term trend is bearish, then you can use 10 TEMA crosses below 20 TEMA or Close(0) crosses below 30 TEMA
Weighted Moving Average (WMA)¶
WMA reduces the lag as compared to an SMA. It's usage is typical to that of any other moving average. It can be used with other moving averages, OHLC prices of the candle or with a number. Example:
- Buy strategy: If the short term trend is bullish, then you can use 10 WMA crosses above 20 WMA or Close(0) crosses above 30 WMA
- Sell strategy: If the short term trend is bearish, then you can use 10 WMA crosses below 20 WMA or Close(0) crosses below 30 WMA
Triangular Moving Average (TMA)¶
TMA is smoother than an SMA and is not as sensitive to price changes as an EMA. It is best used in highly volatile markets. It's usage is typical to that of any other moving average. It can be used with other moving averages, OHLC prices of the candle or with a number. Example:
- Buy strategy: If the short term trend is bullish, then you can use 10 TMA crosses above 20 TMA or Close(0) crosses above 30 TMA
- Sell strategy: If the short term trend is bearish, then you can use 10TMA crosses below 20 TMA or Close(0) crosses below 30 TMA
Money Flow Index (MFI)¶
MFI is an oscillator that uses both price and volume to measure buying and selling pressure. MFI is also known as volume-weighted RSI. It's value oscillates between 0 and 100. As a momentum oscillator tied to volume, the MFI is best suited to identify reversals and price extremes with a variety of signals.
Common ways to use MFI:
- Buy strategy: If your strategy is to buy when the MFI is oversold (usually indicated by the MFI being lower 20) then use 14 MFI crosses above 20
- Sell strategy: If your strategy is to sell when the MFI is overbought (usually indicated by the MFI being higher 80) then use 14 MFI crosses below 80
MACD and MACD Signal¶
MACD (Moving Average Convergence/Divergence) is a momentum indicator. It has 2 main components: MACD line and MACD Signal Line. Example:
- Buy strategy: If you want to buy when the MACD crosses above the MACD Signal line then use MACD(12,26,9) crosses above MACD Signal(12,26,9)
- Sell strategy: If you want to sell when the MACD crosses below the MACD Signal line then use MACD(12,26,9) crosses below MACD Signal(12,26,9)
Bollinger Bands (UBB, MBB, LBB)¶
Bollinger bands has 3 parts: Upper Bollinger Band (UBB), Middle Bollinger Band (MBB) and Lower Bollinger Band (LBB)
Bollinger Bands are volatility bands placed above and below a moving average. Volatility is based on the standard deviation, which changes as volatility increases and decreases.
They can be used together as shown in the examples below:
- Buy strategy: Buy when Close(0) crosses above LBB(20,2)
- Sell strategy: Sell when Close(0) crosses below UBB(20,2)
Williams % R¶
Williams % R is a range bound oscillator that oscillates from 0 to -100.
The Fast Stochastic Oscillator and Williams % R produce the exact same lines, only the scaling is different. Readings from 0 to -20 are considered overbought. Readings from -80 to -100 are considered oversold.
Common ways to use Williams % R
- Buy strategy: If your strategy is to identify when the stock is oversold (usually indicated by the Williams % R being below -80) and you want to buy when the stock breaks the oversold region and crosses above, then use, 14 Williams % R crosses above -80
- Sell strategy: If your strategy is to identify when the stock is overbought (usually indicated by the Williams % R being above -20) and you want to sell when the stock breaks the overbought region and crosses below, then use, 14 Williams % R crosses below -20
Momentum Indicator (MOM)¶
The Momentum indicator is a speed of movement indicator designed to identify the speed (or strength) of price movement. The momentum indicator compares the most recent closing price to a previous closing price (can be the closing price of any time frame). Common ways to use Momentum Indicator:
- Buy strategy: 14 MOM crosses above 0
- Sell strategy: 14 MOM crosses below 0
Price Rate Of Change (PROC)¶
The price rate of change (PROC) is a technical indicator of momentum that measures the percentage change in price between the current price and the price of periods in the past. The PROC is an oscillator that fluctuates above and below the zero line as the Rate-of-Change moves from positive to negative. Common ways to use PROC:
- Buy strategy: 14 PROC crosses above 0
- Sell strategy: 14 PROC crosses below 0
On Balance Volume (OBV)¶
On-balance volume (OBV) is a momentum indicator that uses volume flow to predict changes in stock price.Common ways to use OBV:
-
Trend Identification
- Bullish trend: Price advances and OBV also advances.
- Bearish trend: Price declines and OBV also declines.
-
Divergence
- Bullish OBV divergence: Price declines but OBV advances.
- Bearish OBV divergence: Price advances but OBV declines.
Prev N¶
Prev N and Prev N volume lets you us access the OHLCV, values of any older candle. Offset is value of number candle which need to be referenced, note that using '0' as offset can give some undesirable results, like, when the field is close/open gives the prices f partially forming candle and high/low/volume gives the same values as that of offset -1.
Nth Candle¶
Nth candle indicator is used to access nthe Open, High, Low and Close of any candle for that day. The candle number starts with '1' which represents the 1st candle of the day and '2' represents the 2nd candle of the day.
Assist supported indicators¶
- Supertrend
- RSI (Relative Strength Index)
- SMA (Simple Moving Average)
- EMA (Exponential Moving Average)
- DEMA (Double Exponential Moving Average)
- TEMA (Triple Exponential Moving Average)
- WMA (Weighted Moving Average)
- TMA (Triangular Moving Average)
- Hull Moving Average
- Parabolic stop and reverse (PSAR)
- MACD (Moving Average Convergence Divergence)
- WillR (Williams %R)
- MFI (Money Flow Index)
- Trend Intensity Index
- CCI (Commodity Channel Index)
- OBV (On-balance Volume)
- MOM (Momentum Indicator)
- PROC (Price Rate Of Change)
- Stochastic
- Alligator
- Vortex Indicator
- Three White Soldiers
- Close
- Opening Range
- Morning Doji Star
- Engulfing
- ATR (Average True Range)
- NATR (Normalized Average True Range)
- Pivot Points
- ATR Bands Top
- ATR Bands Bottom
- UBB (Upper Bollinger Band)
- LBB (Lower Bollinger Band)
- RSI Moving Average
- Aroon Up
- Aroon Down
- Aroon Oscillator
- SpinningTop
- VWAP
- Low
- High
- MACD Signal
- TRIX
- Stochastic Momentum Index
- Stochastic RSI
- Opening Range Volume
- Volume
- Open
- Morning Star
- Plus DI
- Minus DI
- ADX
- Previous Close
- Previous High