Skip to content

Constant

Constant is an indicator that sets a fixed numerical value within flexible strategy conditions. It is used alongside other indicators to compare their current values against a specific number — a level, threshold, or target price.

  1. You set a numerical value in the indicator settings.
  2. When the condition is evaluated, the bot compares the current value of the selected indicator against this number.
  3. If the comparison is true — the condition is met and the bot executes the corresponding action.

Logic example: RSI (current value, e.g. 72) > Constant (70) → condition met → action triggered

The Constant indicator has only one configurable parameter:

  • Value — any number that will be used in the condition.

Constant is most commonly used with indicators that have well-known numerical levels:

IndicatorTypical values
RSI30 (oversold), 70 (overbought)
RVI50 (zero line)
Stochastic20 (oversold), 80 (overbought)
CCI−100, +100 (normal range boundaries)
VolumeAny volume amount in base currency

RSI — trading overbought and oversold levels

Section titled “RSI — trading overbought and oversold levels”
RSI(14) > Constant(70) → sell signal (overbought)
RSI(14) < Constant(30) → buy signal (oversold)


RVI(10) > Constant(50) → bullish momentum

Exclude signals during low market activity:

Candle (Volume) > Constant(1000) → sufficient volume for entry

Constant is the simplest way to define a numerical threshold without any additional calculations. It makes strategy conditions transparent and easy to read — the comparison value is always explicit and visible.

Properly chosen Constant values significantly affect signal frequency and entry quality. Levels that are too wide produce many false signals; levels that are too narrow miss real market moves.

Constant is the right tool for these scenarios:

  • Oscillators with fixed levels — RSI, Stochastic, CCI, RVI
  • Volume threshold filters — only entering when market activity is sufficient
  • Price levels — for example, entering when a target price is reached
  • Multi-condition strategies — combining multiple Constants for different indicators

Use Constant whenever you need to compare an indicator’s value against a specific number — it is faster and more readable than creating a placeholder indicator.