Home › Documentation › Data & indicators
Block 1

Technical indicators

An indicator turns the price series into a number that summarizes how the market is behaving. AniQuant computes the indicator for every bar and generates entry conditions automatically.

SMA

Simple Moving Average

SMA(Source, N)

Arithmetic mean of the last N closes. It smooths out short-term noise. The longer the period, the slower and smoother it gets.

// 20-bar SMA on the close
SMA(Close, 20) = sum of the last 20 closes / 20
Parameters: Source (O/H/L/C) · Period (≥ 1)

RSI

Relative Strength Index

RSI(Source, N)

Momentum oscillator between 0 and 100. It measures how fast price is moving. Classic reading: overbought > 70, oversold < 30.

// RSI 14 in oversold territory
RSI(Close, 14) < 30
Parameters: Source · Period (≥ 2, classic: 14)

Full catalog

29 indicators

All of them are available in the Mass Test and in the export to EasyLanguage / MQL5 / ProRealTime / AmiBroker. The chart offers a curated visual subset (Moving averages, Trend, Bollinger, Donchian, Keltner, RSI, MACD, Volume).

Moving averages and trend
  • SMA · simple moving average
  • EMA · exponential moving average
Oscillators
  • RSI · 0–100
  • ADX · trend strength
  • MACD · Line / Signal / Hist
  • WilliamsR · 0…−100
  • ROC · momentum %
Volatility and bands
  • ATR · average true range
  • BB · Bollinger (Upper/Mid/Lower)
  • KC · Keltner = EMA ± 2·ATR
Extremes and channels
  • Lowest · lowest of N bars
  • Highest · highest of N bars
  • DC · Donchian (Upper/Mid/Lower)
Price series
  • OPEN / HIGH / LOW / CLOSE
  • with a bar [n] offset
Calendar filters
  • DayOfWeek · 0=Sun … 6=Sat
  • HourOfDay · 0 … 23
  • WeekOfMonth · 1=first … 5=fifth
  • DayOfMonth · day of month 1 … 31
  • Month · month 1 … 12
  • MinuteOfDay · minute of day 0 … 1439
  • DayOfYear · day of year 1 … 366
Momentum and counting
  • ConsecutiveBarsUp · N closes up in a row
  • ConsecutiveBarsDown · N closes down in a row
  • 0/1 filters; the N parameter (1…x) can be swept
📅

Calendar filters (threshold-only)

DayOfWeek, HourOfDay, WeekOfMonth, DayOfMonth, Month, MinuteOfDay and DayOfYear are categorical filters: they are only compared against a specific value and are never paired with other indicators (comparing a day of the week with a moving average would be nonsense). The threshold is mandatory.

// Trade Fridays only
DayOfWeek = 5
// Morning session (9am to 1pm)
HourOfDay >= 9 & HourOfDay <= 13
// First week of the month only
WeekOfMonth = 1
// Month end (25th onwards)
DayOfMonth >= 25
// Last quarter only
Month >= 10
// 09:30-10:30 window
MinuteOfDay >= 570 & MinuteOfDay <= 630
📊

Percentile transforms

RSI_Pct, ATR_Pct, ROC_Pct and Vol_Pct do not measure an indicator's value, but which percentile (0 to 100) today's value sits in relative to its own last N bars. For example: ATR_Pct = 90 means «today's volatility is among the highest of the last N bars»; = 10 would mean «among the lowest».

Why are they powerful? Because they normalize themselves: the same rule («enter when volatility is low») works the same way in any market and any era, without depending on the asset's absolute scale. The only parameter is N (the percentile window); the underlying indicator uses its standard value (RSI 14, ATR 14, ROC 10).

// Enter in calm markets (low volatility)
ATR_Pct < 20
// Volume climax
Vol_Pct > 80
// RSI low against its own history
RSI_Pct < 15
// Momentum at recent highs
ROC_Pct > 85

They can be combined with any other indicator. On export, they are translated into EasyLanguage (TradeStation) by reproducing the calculation by hand; in ProRealTime and MT5 they show up as «not supported» (they are better for discovering than for deploying).

Price source

Every indicator can be computed on any of the four prices. Select several: AniQuant creates a separate instance for each source × period combination.

OPEN
Opening price
HIGH
High of the bar
LOW
Low of the bar
CLOSE
Closing price (the usual one)
Try it yourself

AniQuant can be tried free for 30 days, with every module and no card.

← Previous
Importing market data
Next →
Indicator management
More in Data & indicators