Indicators
Here is the list of Technical indicators supported by Streak.
Overlap Studies¶
 Simple Moving Average(SMA))
 Exponential Moving Average(EMA)
 Weighted Moving Average(WMA)
 Double Exponential Moving Average(DEMA)
 Triple Exponential Moving Average(TEMA)
 Triangular Moving Average(TMA)
 Hull Moving Average (HMA)
 Kaufman Moving Average (KMA)
 MESA Adaptive Moving Average(MAMA)
 Bollinger Bands
 Parabolic SAR (PSAR)
 Supertrend
 Alligator
 Ichimoku Cloud
 ATR Trailing Stop Loss
 Donchian channel
 Fractal Chaos Bands
 Linear regression forecast indicator
 McGinley Dynamic Indicator
 Volume Weighted Average Price (VWAP)
 VWAP Moving Average (VWAP MA)
Oscillators¶
 Aroon Oscillator
 Moving Average Convergence Divergence(MACD)
 Commodity Channel Index(CCI)
 Money Flow Index(MFI)
 Plus/Minus Directional Index (DI,+DI)
 Average Directional Index(ADX)
 Williams %R
 TRIX
 Price Rate Of Change(PROC)
 Momentum Indicator(MOM)
 Stochastic
 Stochastic Momentum Index
 Stochastic RSI
 Trend Intensity Index (TII)
 Relative Strength Index(RSI)
 RSI Moving Average
 Awesome Oscillator
 Bollinger Bandwidth
 Bollinger %B
 Chaikin Money Flow Index
 Chande Momentum Oscillator
 Elder Force Index
 Intraday Momentum Index
 Know Sure Thing
 Moving Average Deviation
 Ultimate Oscillator
Volume Indicators¶
 Prev N Volume
 Opening Range Volume
 Moving Average Volume
 Onbalance Volume(OBV)
 Volume
 Positive Volume Index (PVI)
 Negative Volume Index (NVI)
 Trade Volume Index (TVI)
 Volume Oscillator
Volatility Indicators¶
 True Range(TR)
 Average True Range(ATR)
 Normalized True Range(NATR)
 Vortex Indicator
 Choppiness Index
 Choppiness Moving Average
Future & Options¶
 Open Interest (OI)
 Open Interest Moving Average (OIMA)
 MACD Open Interest (MACD OI)
 Option Greeks
Price Action¶
 Open, High, Low and Close (OHLC)
 Previous Open, Previous High, Previous Low and Previous Close
 Prev N
 Opening Range
 Nth Candle
 Trade At Price
 Pivot Points
 Narrow Range
 Number
 Central Pivot Range
 Nth Candle
 Premarket Close
Chart Patterns¶
 Three White Soldiers
 Morning Doji Star
 Abandoned Baby
 Tri Star
 Advance Block
 Conceal Baby Swallow
 Stick Sandwich
 Morning Star
 Kicking
 Spinning Top
 Engulfing
 Homing Pigeon
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  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
RSI¶
Common ways to use RSI
 Buy strategy
If your strategy is to buy when the RSI is oversold (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 overbought (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)
At Price¶
At price is a price based signal (usually works when the LTP of the stock is in a price range)
Example: If you want to buy NSESBIN at 300 (with 0.5% variation) then, when the price falls in the range 298.5 to 301.5, a buy/sell signal will be triggered.
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 measures 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 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 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 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 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 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 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 crosses above 30 TMA
 Sell strategy: If the short term trend is bearish, then you can use 10TMA crosses below 20 TMA or Close 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 volumeweighted 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 crosses above LBB(20,2)
 Sell strategy: Sell when Close 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 RateofChange 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)¶
Onbalance 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 past candle. Offset is the number that is used to refer to the candle. The offset of the current candle is '0' and '1' is the previous offset for previous candle. Similarly, for 2nd last candle, the offset value is '2' and so on..
Prev N should not be used with offset as 0
Prev N offset value need to be a value less than 0, since using 0 offeset would mean accessing current candle value and will cause the strategy to have a lookahead bias.
Prev N timeframe should be the same or a multiple of the Base timeframe
Example: Lets say the timeframe that you have set for a strategy is 3 min, this is the Base timeframe. Now, if you want to use Prev N, you need to keep in mind that the timeframe of Prev N should be either 3 min or it should be a multiple of 3 min, like 15min. Using different timeframes in the same strategy requires using compatible Base timeframe. If you want to use 15min timeframe with a 5min Base timeframe, it is possible. You can also use 10min in the same strategy since 5 is a factor of both 10 and 15, 5x2=10 and 5x3=15. But you should not use a 3min Base timeframe for a 10min Prev N, since 3 is not a factor of 10.
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 (Onbalance Volume)
 MOM (Momentum Indicator)
 PROC (Price Rate Of Change)
 Stochastic
 Alligator
 Vortex Indicator
 Three White Soldiers
 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
 Spinning Top
 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