Skip to content

Indicators

Jason O edited this page Jun 16, 2023 · 10 revisions

Indicators are essentially different analytical algorithms to run on the market data.

Overlays

Price

Price is a fundamental aspect of assent analysis. In face, almost all analysis algorithms are based off price.

'price': '=20'

'price': '>30'

Price is charted as candlesticks. Candlesticks (otherwise known as OHLC) are commonly used to showcase the Open, High, Low, and Close prices for a specific interval. In this case, the interval is 1 day. StockBench does not currently support any other intervals of data.

Candle Stick Colors

Candle sticks are either red or green. A green candle indicates that the close price was higher than the open price (indicating the asset's value has increased). The candle is red if the close price is less than the open price (indicating the asset's value has decreased).

Simple Moving Average (SMA)

SMA is one of the most popular indicators used in asset analysis.

The indicator for SMA allows you to define a custom SMA size, which gets put as the suffix of the indicator.

'SMA20': '>256'

'SMA200': '=312'

Exponential Moving Average (EMA)

EMA is another popular indicator resembling simple moving average.

The indicator for EMA allows you to define a custom EMA size, which gets put as the suffix of the indicator.

'EMA20': '>256'

'EMA200': '=312'

Oscillators

Volume

Volume is the amount of shares traded of a specific asset over a certain time period.

'volume': '=3000000'

'volume': '<100000000'

Relative Strength Index (RSI)

RSI is a popular oscillator indicator.

The indicator has a default size of 14, but can be modified with an indicator suffix.

'RSI': '<=30'

'RSI22': '>60'

When RSI is charted, the RSI will be plotted on a chart below the price data. Any trigger values defined in the strategy will be plotted as horizontal lines on the RSI chart.

Stochastic Oscillator

Stochastic oscillator is another popular oscillator that resembles RSI. The indicator has a default size of 14, but can be modified with an indicator suffix.

'stochastic': '<=20'

'stochastic22': '>80'

Non-charted semi-Indicators

Stop Profit

Profit is relative to the position that is currently open.

Stop Loss

Loss is relative to the position that is currently open.