Ora
All documentation Overview

Get started

IntroductionQuickstartHow ora-fin1 decidesHow to build with OraUse-case map

Rule language

OverviewGrammarOperators and beliefsPrices and offsetsWindowsIndicatorsSignals and eventsPattern functionsFunction referenceRule libraryCommon mistakesError messagesEarnings and dividend facts

Questions & answers

Questionsyes_no (noul)choicescoreConfidenceThresholds and calibrationStateAsk by symbol

Patterns

Patterns

Actions & workflows

OverviewRules and templatesDestinationsWebhooks and signaturesWorkflows

API reference

POST /v1/systemoneGET /v1/models

Errors & limits

ErrorsRate limitsKnown limitations

Pricing

Pricing

Resources

FAQChangelogModels & versionsCode in 8 languages

Docs / Rule language

Rule language

Indicators

Standard technical indicators, computed on the symbol's daily bars. Indicators that read the whole bar (ATR, ADX, stochastics, CCI, Williams %R, OBV) take only periods; the rest take a series first.

IndicatorFormDefaults
RSIrsi(C, 14)period required
ATRatr(14), atr_pct(14)period required
MACDmacd(C), macdsignal(C), macdhist(C)12, 26, 9
Bollingerbbupper(C, 20, 2), bbmid(C, 20), bblower(C, 20, 2)2 deviations
ADX / DIadx(14), diplus(14), diminus(14)period required
Stochasticstochk(14), stochd(14)%D 3, slowing 3
CCI, Williams %Rcci(20), willr(14)period required
OBVobv()none

Units: RSI, ADX, DI and stochastics run 0 to 100; Williams %R −100 to 0; atr_pct and roc are percents (3 means 3%); atr, MACD and the bands are in price.

Indicator functions

rsi(x, n)

Relative strength index, 0 to 100 (Wilder). rsi(C, 14) is the usual one.

Examplersi(C, 14) > 50Momentum on the up side.
Belief, 2026-10-30SPY 0.0919NVDA 0.073TSLA 0.9267XLE 0.9318Try it
atr(n)

Average true range over n bars, in price.

ExampleH - L > 2 * atr(14)Today's range is more than twice the average.
Belief, 2026-10-30SPY 0.0758NVDA 0.0642TSLA 0.0584XLE 0.0537Try it
atr_pct(n)

ATR as a percent of the close: 3 means 3%. Comparable across symbols.

Exampleatr_pct(14) > 3A typical day moves more than 3%.
Belief, 2026-10-30SPY 0.0537NVDA 0.5548TSLA 0.848XLE 0.0537Try it
macd(x [, fast, slow, signal])

MACD line: ema(fast) − ema(slow). Defaults 12, 26, 9.

Examplemacd(C) > 0The 12-day EMA is above the 26-day.
Belief, 2026-10-30SPY 0.311NVDA 0.087TSLA 0.8979XLE 0.943Try it
macdsignal(x [, fast, slow, signal])

The MACD signal line: an EMA of the MACD line.

Examplemacd(C) > macdsignal(C)MACD above its signal line.
Belief, 2026-10-30SPY 0.1658NVDA 0.1236TSLA 0.8968XLE 0.7144Try it
macdhist(x [, fast, slow, signal])

MACD histogram: line minus signal.

Examplemacdhist(C) > ref(macdhist(C), -1)The histogram is rising.
Belief, 2026-10-30SPY 0.0711NVDA 0.1232TSLA 0.2482XLE 0.7416Try it
bbupper(x, n [, up, dn])

Upper Bollinger band: sma + up × std. Default 2.

ExampleC > bbupper(C, 20, 2)A close above the upper band.
Belief, 2026-10-30SPY 0.0537NVDA 0.0537TSLA 0.2572XLE 0.1996Try it
bbmid(x, n)

Middle band: the simple average.

ExampleC > bbmid(C, 20)Above the middle band (the 20-day average).
Belief, 2026-10-30SPY 0.0816NVDA 0.0709TSLA 0.9156XLE 0.9133Try it
bblower(x, n [, up, dn])

Lower Bollinger band: sma − dn × std (dn defaults to up).

ExampleC < bblower(C, 20, 2)A close under the lower band.
Belief, 2026-10-30SPY 0.5882NVDA 0.3603TSLA 0.0538XLE 0.0562Try it
adx(n)

Trend strength, 0 to 100, with no direction. Above 25 is usually called trending.

Exampleadx(14) > 25A trending market, up or down.
Belief, 2026-10-30SPY 0.0613NVDA 0.0578TSLA 0.0632XLE 0.0708Try it
diplus(n)

+DI: the upward directional movement ADX is built from.

Examplediplus(14) > diminus(14)Up moves have been stronger than down moves.
Belief, 2026-10-30SPY 0.0594NVDA 0.0637TSLA 0.847XLE 0.8252Try it
diminus(n)

−DI: the downward directional movement.

Examplediminus(14) > 25Strong downward movement.
Belief, 2026-10-30SPY 0.9404NVDA 0.9389TSLA 0.4008XLE 0.0747Try it
stochk(n [, d, slow])

Stochastic %K, 0 to 100: where the close sits in the n-bar range, smoothed over slow (default 3).

Examplestochk(14) < 20Near the bottom of its 14-day range.
Belief, 2026-10-30SPY 0.1424NVDA 0.5475TSLA 0.0537XLE 0.0636Try it
stochd(n [, d, slow])

Stochastic %D: the d-bar average of %K (default 3).

Examplestochk(14) > stochd(14)%K above %D.
Belief, 2026-10-30SPY 0.2304NVDA 0.2832TSLA 0.2868XLE 0.7043Try it
cci(n)

Commodity channel index: typical price against its average, in units of mean deviation.

Examplecci(20) > 100Strong upward deviation.
Belief, 2026-10-30SPY 0.0537NVDA 0.0583TSLA 0.5437XLE 0.6023Try it
willr(n)

Williams %R, −100 to 0: 0 is the top of the n-bar range.

Examplewillr(14) > -20In the top fifth of the 14-day range.
Belief, 2026-10-30SPY 0.0651NVDA 0.0646TSLA 0.5461XLE 0.7694Try it
obv()

On-balance volume: adds the day's volume on an up close, subtracts it on a down close.

Exampleobv() > sma(obv(), 20)Volume flow above its 20-day average.
Belief, 2026-10-30SPY 0.1367NVDA 0.0925TSLA 0.1037XLE 0.9409Try it

Information, not investment advice. Beliefs and probabilities on this page are real responses for the session shown and change with every session.

Create an account Open the Playground Everything here also lives in the console, next to your keys and usage.