The Block Library – Indicator Blocks

Table Of Contents

Trading Indicators #

Unlock a spectrum of technical insights with Indicator Blocks, offering an extensive range of indicators, from straightforward moving averages to intricate calculations. This section empowers users to integrate these indicators seamlessly into their strategies, enhancing their ability to discern market trends and pinpoint potential entry or exit points with precision.

To create a new Indicator block, double click in the blueprint screen, or click the + button in the menu. In the search bar, type: “indicator/” followed by the abbreviations below, or simply type the abbreviation below.

Remember, Different strategies require different types of indicators. The best trading indicators complement one another, without duplicating information.

Some of our favourites #

Indicator: ticker

Last Signal Profit: last_profit #

Last signal profit facilitates the calculation of profit since the last trading signal, providing users with insights into the performance of their strategy over a specific time frame. Useful for creating stop triggers.

Candlestick Pattern Detection: candlestick #

Candlestick Pattern Detection aids in detecting Candlestick Patterns, such as bull, bear, hammers, shooting stars, and more, assisting users in identifying key market trends and potential reversal signals based on candlestick formations.

Relative Strength Index: rsi #

Relative Strength Index measures the speed and rate of change in price movements within the market; it oscillates between zero and 100. It provides insights into whether an asset is overbought or oversold, helping users identify potential trend reversals and market conditions.

Simple Moving Average: sma #

Simple Moving Average calculates the average price of an asset over a specified number of periods, providing a smooth trend line. It is useful for identifying general market direction.

Exponential Moving Average: ema #

Exponential Moving Average is similar but gives more weight to recent prices, making it more responsive to short-term price changes. It is beneficial for capturing more immediate market trends.

SuperTrend: SuperTrend #

Supertrend calculates the Supertrend value based on the market’s price and volatility, helping users determine the current trend’s direction.

SuperTrendKO: SuperTrendKO #

SuperTrendKO Similar to Supertrend, SupertrendKO is a modified version that factors in market noise and aims to provide more accurate trend signals by minimising false positives.

The Full Trading Indicator List #

Vector Absolute Value: abs #

Vector Absolute Value calculates the absolute value of each element in an array.

Vector Arccosine: acos #

Vector Arccosine calculates the Trigonometric arccosine of each element in an array.

Accumulation Distribution Line: ad #

Accumulation Distribution Line determines the trend of a stock, using the relation between the volume flow and the stock’s price.

Add: add #

Add adds two arrays together.

Accumulation Distribution Oscillator: adosc #

Accumulation Distribution Oscillator is calculated by taking an exponential moving average of short periods of accumulation distribution line subtracted from an exponential moving average of long periods of accumulation distribution line.

Average Directional Movement Index: adx #

Average Directional Movement Index shows the strength of a trend through a value in a range of 0 to 100.

Average Directional Movement Index Rating: adxr #

Average Directional Movement Index Rating is the same as the average directional movement index but is smoother. This indicator gets less affected than adx from the fast short-term market oscillations.

Awesome Oscillator: ao #

Awesome Oscillator measures the momentum of the market.

Absolute Price Oscillator: apo #

Absolute Price Oscillator is the difference between the short-period exponential moving average and the long-period exponential moving average.

Aroon: aroon #

Aroon comprises two indicators: Aroon-Up and Aroon-Down. Aroon can identify the beginning of a trend, its strength, and any changes.

Aroon Oscillator: aroonosc #

Aroon Oscillator is the difference between Aroon-Up and Aroon-Down indicators, and the output would be a value between 0 and 100.

Vector Arcsine: asin #

Vector Arcsine calculates the trigonometric arcsine of each element in an array.

Vector Arctangent: atan #

Vector Arctangent calculates the trigonometric arctangent of each element in an array.

Average True Range: atr #

Average True Range measures market volatility over a stock’s price range for a specified period.

Average Price: avgprice #

Average Price shows the mean of open, high, low, and close prices of a stock.

Bollinger Bands: bbands #

Bollinger Bands contains the upper, middle, and lower bands. The middle one is a moving average indicator, and the upper and lower bands are on the sides of the middle one. The value of the standard deviations determines the distance between the middle band and the upper and lower ones.

Balance of Power: bop #

Balance of Power evaluates the strength of buyers and sellers in the market.

Candlestick Pattern Detection: candlestick #

Candlestick Pattern Detection aids in detecting Candlestick Patterns, such as bull, bear, hammers, shooting stars, and more, assisting users in identifying key market trends and potential reversal signals based on candlestick formations.

Commodity Channel Index: cci #

Commodity Channel Index would be high when prices are far above the average and would be low when prices are far below it. So cci can identify overbought and oversold areas of price action. Besides that, it gets used to discover reversals and divergences.

Vector Ceiling: ceil #

Vector Ceiling shows the smallest integer from the elements of an array.

Chande Momentum Oscillator: cmo #

Chande Momentum Oscillator calculates the price of momentum on bullish or/and bearish days. In other words, it computes the difference between the sum of higher closes and the sum of lower closes, dividing by the sum of all price movements.

Vector Cosine: cos #

Vector Cosine calculates the trigonometric cosine of each element in an array.

Vector Hyperbolic Cosine: cosh #

Vector Hyperbolic Cosine calculates the trigonometric hyperbolic cosine of each element in an array.

Cross Any: crossany #

Crossany continuously detects whether the inputs are crossing each other.

Cross Over: crossover #

Crossover continuously detects whether the first input is crossing over the other one. It means, against the crossany indicator, the only situation that matters is when the first input would place above the other one.

Chaikins Volatility: cvi #

Chaikins Volatility calculates the difference between the high and low prices for each period.

Decay: decay #

Decay saves an array of recent signals. It is a useful indicator, especially in machine learning algorithms.

Double Exponential Moving Average: dema #

Double Exponential Moving Average is the same as the exponential moving average, but due to allocating more weight to recent data points, delivers fewer lag data.

Directional Indicator: di #

Directional Indicator comprises positive directional indicator and negative directional indicator lines that show the price trend movement. Crossing these two lines propagates the buy and sell signals; If the positive line crosses up through the negative one, it is a Buy signal, and vice versa.

Vector Division: div #

Vector Division divides the provided inputs.

Directional Movement: dm #

Directional Movement draws positive directional movement and negative directional movement lines. They get calculated using the prior high and low prices.

Detrended Price Oscillator: dpo #

Detrended Price Oscillator removes price trends to make it easier to identify peaks and troughs. Thus, estimating the cycle lengths using the indicator is much simpler.

Directional Movement Index: dx #

Directional Movement Index, which is also referred to as dmi, contains two directional movement lines and the average directional movement index indicator.

Exponential Decay: edecay #

Exponential Decay is almost the same as decay but faster for the same period.

Exponential Moving Average: ema #

Exponential Moving Average shows the direction of the price changes over a period. EMA is like a Simple Moving Average, but where the SMA directly calculates the average price values, EMA applies more weight to the recent prices.

Ease of Movement: emv #

Ease of Movement investigates the relationship between price fluctuations and trading volume.

Vector Exponential: exp #

Vector Exponential returns the exponential for each number in the input arary. That is, it calculates Euler’s constant, e, raised to the power of each input element.

Fisher Transform: fisher #

Fisher Transform aims to enhance the predictability of turning points in a price series by making prices more normally distributed. This transformation makes it easier to identify extreme values and potential reversals

The Vector Floor: floor #

The Vector Floor of a value is the largest integer less than or equal to it.

Forecast Oscillator: fosc #

Forecast Oscillator predicts the upcoming stock’s price by monitoring the difference between the current stock’s price and a linear regression price resulting from the Time Series Forecast function.

Hull Moving Average: hma #

Hull Moving Average is an improved moving average that removes the lags (and thus is super fast) and is smoother than the other traditional moving average indicators.

Kaufman Adaptive Moving Average: kama #

Kaufman Adaptive Moving Average reduces false signals by eliminating short-term price fluctuations. In other words, kama removes the market noises, so if the market volatility is low, it will heel the current market price.

Klinger Volume Oscillator: kvo #

Klinger Volume Oscillator forecasts market reversals by comparing the volume to the price.

Lag Block: lag #

Lag block delays the input data by a specified amount. For example, with a lag of 1 on 15-minute candles, it outputs data from the previous candle. This is useful for comparing current values with past ones.

Laguerre Filter: laguerrefilter #

Laguerre filter is used to smooth price data and identify trends. It applies a Laguerre filter algorithm to market data, reducing noise and providing a clearer representation of the underlying trend.

Last signal profit: last_profit #

Last signal profit facilitates the calculation of profit since the last trading signal, providing users with insights into the performance of their strategy over a specific time frame.

Linear Regression: linreg #

Linear Regression plots the ending values of linear regression lines for a specific number of bars.

Linear Regression Intercept: linregintercept #

Linear Regression Intercept returns the height of the linear regression line for the first input bar in the moving period.

Linear Regression Slope: linregslope #

Linear Regression Slope determines the direction of trend strength. The indicator determines the slope for each bar using the current bar and the n-1 previous bars where n is the period specified by the trader.

Vector Natural Log: ln #

Vector Natural Log calculates the natural logarithm for each element in an input array.

Vector Base-10 Log: log10 #

Vector Base-10 Log calculates the base-10 logarithm for each element in an input array.

Moving Average Convergence Divergence: macd #

Moving Average Convergence Divergence determines the direction of the stock price. Consider not using this indicator for detecting trend reversals since it can detect them only after they happen. It is not usually used to identify overbought or oversold conditions as well.

Market Facilitation Index: marketfi #

Market Facilitation Index measures the trend strength and predicts the starting of a trend when it is about to occur. It calculates the price movement per volume unit.

Mass Index detects: mass #

Mass Index detects helps traders identify potential trend reversals by measuring the expansion and contraction of the trading range (the difference between the high and low prices) over a specified period using Exponential Moving Averages.

Maximum In Period: max #

Maximum In Period returns the maximum value in the last n bars.

Mean Deviation Over Period: md #

Mean Deviation Over Period computes the absolute mean deviation over a period.

Median Price: medprice #

Median Price computes the mean of the high and low prices for a bar.

The Money Flow Index: mfi #

The Money Flow Index measures the trading pressure by monitoring both the price and volume and returns a value between 0 and 100.

Minimum In Period: min #

Minimum In Period returns the minimum value in the last n bars.

Momentum: mom #

Momentum computes the change between the current price and the price of the n-th bar from the last.

Mesa Sine Wave: msw #

Mesa Sine Wave detects whether the market is in a cycle mode or a trend mode.

Vector Multiplication: mul #

Vector Multiplication takes two input arrays and multiplies them.

Normalized Average True Range: natr #

Normalized Average True Range is a normalized version of the average true range and gets calculated with the following formula: NATR = (ATR / Close) * 100.

Negative Volume Index: nvi #

Negative Volume Index is a cumulative indicator and is sensitive to the market volume. It argued that high market volume is because of uninformative traders, so it doesn’t care about the high-volume days. On low-volume days, informed traders are more active, and therefore nvi indicator gets affected by them; the nvi value will rise on positive price changes and will fall on negative price changes.

On Balance Volume: obv #

On Balance Volume is a cumulative indicator that calculates buying and selling pressures. It increases on up days and decreases on down days.

Percentage Price Oscillator: ppo #

Percentage Price Oscillator calculates the difference between two exponential moving averages with different periods divided by the longer one.

Predict: predict #

Predict block aims to leverage machine learning to predict the next price movement. Care: This block is still in the process of learning and has not been fully trained. Until such time, it may not produce accurate predictions.

Parabolic SAR: psar #

Parabolic SAR helps to figure out stop points and potential reversals in trends. Indeed SAR stands for stop and reverse, which describes its application nicely.

Positive Volume Index: pvi #

Positive Volume Index is the same as Negative Volume Index nvi – and often gets used in conjunction with it – but is sensitive to high-volume days.

Qstick: qstick #

Qstick as a momentum indicator applies a simple moving average on the difference between the stock close and open prices.

Rate of Change: roc #

Rate of Change computes the percentage change between the current price and the price n periods ago.

Rate of Change Ratio: rocr #

Rate of Change Ratio computes the change between the current price and the price n periods ago.

Vector Round: round #

Vector Round returns the closest integer for each element in an array.

Relative Strength Index: rsi #

Relative Strength Index measures the speed and rate of change in price movements within the market; it oscillates between zero and 100.

Vector Sine: sin #

Vector Sine computes the Trigonometric sine of each element in an array.

Vector Hyperbolic Sine: sinh #

Vector Hyperbolic Sine computes the Trigonometric hyperbolic sine of each element in an array.

Simple Moving Average: sma #

Simple Moving Average shows the direction of the price changes over a period by calculating the average price value.

Vector Square Root: sqrt #

Vector Square Root computes the square root of each element in an array.

Standard Deviation Over Period: stddev #

Standard Deviation Over Period measures the difference between the current price and the average price over a period.

Standard Error Over Period: stderr #

Standard Error Over Period shows how different the population mean is from the sample mean.

Stochastic Oscillator: stoch #

Stochastic Oscillator compares the last close price to the highest and lowest prices over a period and ranges from zero to 100.

Stochastic RSI: stochrsi #

Stochastic RSI is a combination of two indicators: stoch and rsi. Actually, it’s applying a stoch indicator on a rsi indicator, which means it’s a measure of rsi relative to its high/low range over a period.

Stock to flow: stocktoflow #

Stock to flow assesses the scarcity of a particular asset, often applied to cryptocurrencies like Bitcoin. It compares the existing stock (current supply) to the flow (new production), offering insights into the asset’s potential value and market dynamics.

Vector Subtraction: sub #

Vector Subtraction returns the subtraction of the two inputs (a – b).

Super Trend: SuperTrend #

Super Trend calculates the Super Trend value based on the market’s price and volatility, helping users determine the current trend’s direction.

Super Trend KO: SuperTrendKO #

Super Trend KO Similar to Super Trend, Super Trend KO is a modified version that factors in market noise and aims to provide more accurate trend signals by minimizing false positives.

Sum Over Period: sum #

Sum Over Period returns the sum of the last n bars.

Vector Tangent: tan #

Vector Tangent calculates the Trigonometric tangent of each element in an array.

Vector Hyperbolic Tangent: tanh #

Vector Hyperbolic Tangent calculates the Trigonometric hyperbolic tangent of each element in an array.

Triple Exponential Moving Average: tema #

Triple Exponential Moving Average is a high-speed moving average with smoother data. It reduces the lags by placing more weight on the recent data and thus is more appropriate for short-term trading.

Vector Degree Conversion: todeg #

Vector Degree Conversion converts an array of radians into an array of degrees.

Vector Radian Conversion: torad #

Vector Radian Conversion converts an array of degrees into an array of radians.

True Range: tr #

True Range returns the greater value of:
The daySubtraction of the high and low prices of the same day.

  • Day’s high minus day’s low
  • The absolute value of the day’s high minus the previous day’s close
  • The absolute value of the day’s low minus the previous day’s close
Triangular Moving Average: trima #

Triangular Moving Average is the same as Simple Moving Average, sma, but it’s averaged twice; In other words, trima is a sma that applies to another sma. This approach leads to a smoother line that places more weight on the middle bars.

Triple Exponential Moving Average: trix #

Triple Exponential Moving Average shows the percentage change of a triple-smoothed ema (applying an ema three times).

Vector Truncate: trunc #

Vector Truncate returns only the integer part of a number for each element in an array.

Time Series Forecast: tsf #

Time Series Forecast, as expected from the name, predicts future trends based on past data. It is more sensitive to sudden price changes compared to the moving average indicators.

Typical Price: typprice #

Typical Price computes the arithmetic mean of the high, low, and close prices.

Ultimate Oscillator: ultosc #

Ultimate Oscillator measures buying pressure by considering three different time frames. These periods (7, 14, 28) describe short, medium, and long-term market trends.

Variance Over Period: var #

Variance Over Period measures the variation by calculating the average of squared deviations from the mean.

Vertical Horizontal Filter: vhf #

Vertical Horizontal Filter monitors the price movements and indicates the prices phase, that they are in the trading or the congestion phase.

Variable Index Dynamic Average: vidya #

Variable Index Dynamic Average calculates an ema with a dynamic period depending on the market volatility.

Annualized Historical Volatility: volatility #

Annualized Historical Volatility measures the deviation of the annual average stock price over a period.

Volume Oscillator: vosc #

Volume Oscillator calculates the difference between a fast volume moving average and a slow volume moving average. Monitoring volume changes in this manner has more technical importance than monitoring volume itself.

Volume Weighted Moving Average: vwma #

Volume Weighted Moving Average is just like most moving average indicators but considers the market volume in its calculations. It actually gives more weight to the high-volume prices than the low-volume prices.

Williams Accumulation/Distribution: wad #

Williams Accumulation/Distribution is the accumulated sum of accumulation and distribution price changes. Accumulation and distribution describe a market controlled by buyers and sellers, respectively. Indeed, the wad indicator measures the positive and negative market pressures.

Weighted Close Price: wcprice #

Weighted Close Price is simply the average of high, low, and doubled closing prices.

Wilder’s Smoothing: wilders #

Wilder's Smoothing is the same as ema, but wilder’s smoothing uses a different smoothing factor, which leads to a slower response to price changes.

Williams %R: willr #

Williams %R identifies overbought and oversold markets by comparing the position of the most recent closing price to the highest and lowest prices over a period.

Weighted Moving Average: wma #

Weighted Moving Average is the same as sma, but puts more weight on the recent data. This way, it responds faster to price changes and will stay closer to the market price.

Zero-Lag Exponential Moving Average: zlema #

Zero-Lag Exponential Moving Average follows the same goal as dema and tema. It eliminates the lags to improve the speed and track the price more closely.

What are your feelings
Updated on August 16, 2024