Skip to main content
This is the vocabulary AskFutures draws on when it turns your idea into rules. You never type any of these names — you describe what you want in plain English and AskFutures picks the right pieces. This page is a reference so you know what is available to describe.
You don’t write formulas or pick function names. Say “when the 14-period RSI crosses above 30” and AskFutures uses the real RSI indicator. The list below is what it understands — not a syntax you have to learn.
Every indicator here is the real TA-Lib function — the same math charting platforms use, computed by fixed code, not approximated by the AI. See is the backtest real? for why that matters.

TA-Lib indicators

Reference these by name and period in plain English — “the 50-period EMA”, “14-period ADX above 25”, “the upper Bollinger Band”. Group by group, here’s everything supported and when you’d reach for it.
IndicatorWhat it isUse it when
SMASimple moving averageYou want a plain average of the last N closes.
EMAExponential moving averageYou want a faster average that weights recent bars.
WMAWeighted moving averageYou want recency weighting without EMA’s smoothing.
DEMADouble exponential moving averageYou want less lag than a single EMA.
TEMATriple exponential moving averageYou want an even faster, lower-lag trend line.
KAMAKaufman adaptive moving averageYou want an average that speeds up in trends and slows in chop.
T3Tillson T3 (with a vfactor)You want a smooth, tunable trend line that hugs price.
Common use: a fast-over-slow crossover (e.g. EMA 9 over EMA 21), or “price closes above its 30-period average” as a trend filter.
IndicatorWhat it isUse it when
RSIRelative strength index (0–100)You want a classic overbought/oversold gauge.
MOMMomentumYou want raw price change over N bars, with a zero line.
ROCRate of change (percent)You want momentum as a percentage move (1 means +1%).
WILLRWilliams %R (−100…0)You want an inverted overbought/oversold oscillator.
CCICommodity Channel IndexYou want an unbounded oscillator with ±100 thresholds.
MFIMoney Flow Index (0–100)You want a volume-weighted RSI.
STOCHStochastic (slowk / slowd)You want a %K/%D cross at extremes.
STOCHRSIStochastic RSI (fastk / fastd)You want a more sensitive version of stochastic.
MACDMACD (macd / macdsignal / macdhist)You want trend-momentum and a signal-line cross.
PPOPercentage price oscillatorYou want MACD expressed in percent.
APOAbsolute price oscillatorYou want MACD-style momentum in price units.
Common use: “buy when RSI crosses above 30”, “go long on a MACD signal cross”, or use the oscillator to confirm a trend entry.
IndicatorWhat it isUse it when
ADXAverage directional indexYou want to trade only when a trend is strong (e.g. ADX > 25).
ADXRADX rating (smoothed ADX)You want a steadier read on trend strength.
PLUS_DI+Directional indicatorYou want the up-pressure half of the DI pair.
MINUS_DI−Directional indicatorYou want the down-pressure half — cross with +DI for direction.
SARParabolic SARYou want a stop-and-reverse dot that flips with trend.
Common use: an ADX gate (“only take trades when ADX is above 20”) so you skip chop, or a +DI/−DI cross for direction.
IndicatorWhat it isUse it when
ATRAverage true range (price units)You want volatility-scaled stops/targets or an expansion filter.
NATRNormalized ATR (percent)You want ATR as a percentage of price, comparable across markets.
TRANGETrue range of the current barYou want this bar’s range vs. its average.
BBANDSBollinger Bands (upperband / middleband / lowerband)You want a mean-reversion envelope or a squeeze.
STDDEVStandard deviation of priceYou want a raw volatility gate.
VARVarianceYou want a volatility-regime filter.
Common use: an ATR-based stop and target, a Bollinger Band fade, or “only trade when volatility is expanding”.
IndicatorWhat it isUse it when
OBVOn-balance volumeYou want a running volume tally that should track price.
ADAccumulation/Distribution lineYou want a volume-flow confirmation of trend.
ADOSCChaikin A/D oscillatorYou want the momentum of accumulation/distribution.
Common use: “buy when OBV crosses above its own 20-period average” — volume leading the breakout.
IndicatorWhat it isUse it when
LINEARREGLinear-regression valueYou want the fitted “fair value” line through recent price.
LINEARREG_SLOPESlope of that regressionYou want a clean up/down trend reading.
MIDPOINTMidpoint of the last N closesYou want a simple channel center from closes.
MIDPRICEMidpoint of the last N highs/lowsYou want a channel center from the high/low range.
HT_TRENDLINEHilbert Transform trendlineYou want an adaptive instantaneous trend line.
HT_DCPERIODHilbert dominant cycle periodYou want to gate trades by how fast the market is cycling.
Common use: “long when the regression slope is positive”, or a Hilbert cycle gate for fast-cycling regimes.
Indicators stack. You can compute one on top of another — “OBV crossing above its own 20-period moving average” — and combine families with AND/OR, like “50-EMA rising and RSI crossing above 40”.

Crossovers

Two of the most useful words you can say. A crossover is the moment one line moves from below another to above it; a crossunder is the reverse. The lines can be two indicators, an indicator and price, or price and a fixed level.
PhraseWhat it means
”EMA 9 crosses above EMA 21”Fast average crosses over the slow one (a momentum flip).
“close crosses above the VWAP”Price reclaims a reference line.
”close crosses above 5000”Price breaks a fixed level.
”RSI crosses below 70”An oscillator drops back out of overbought.
“Crosses above” fires only on the bar the cross happens — not on every bar the line stays above. That’s what makes it an event rather than a state.

Special series builders

Beyond the classic indicators, AskFutures understands a set of purpose-built series for session structure, ranges, levels, and rolling statistics. Describe them in words; here’s the catalog.
SeriesWhat it isUse it when
vwap (session)Volume-weighted average price, cumulative from the session openYou want the day’s fair-value anchor for reclaim/fade ideas.
vwap (rolling)VWAP over a rolling N-bar windowYou want a continuous VWAP that isn’t reset each session.
opening_rangeHigh/low of the first N minutes (or a clock window like 09:00–09:15)You want an opening-range breakout.
intraday_rangeAn aggregate (mean/max/min) over an intraday clock windowYou want, say, “the average close of the 08:30–09:00 window”.
intraday_high / intraday_lowThe session’s running high/low so farYou want the live session extreme for reclaim or breakout logic.
time_betweenA time-of-day filter (e.g. 09:30–11:00)You want to trade only during a window and ignore the rest.
SeriesWhat it isUse it when
prior_sessionsHigh/low of the last completed sessionYou want yesterday’s session high/low as a breakout level.
day_closeA prior day’s daily close (offset 1 = yesterday)You want “above yesterday’s close” as a bias pivot.
day_high / day_lowA prior day’s daily high/lowYou want the prior day’s high/low as support/resistance.
day_rangeAn aggregate (max/min) over prior trading daysYou want “the highest high of the prior 10 days” for a breakout.
SeriesWhat it isUse it when
rolling_percentileA series’ own percentile over the last N barsYou want “above its rolling 80th percentile” as a relative breakout.
rolling_zscoreHow many standard deviations from the rolling meanYou want a mean-reversion fade (e.g. fade beyond ±2 sigma).
rolling_corrRolling correlation between two marketsYou want to gate a pair/spread on how correlated the legs are.

Prior-bar values (shift)

Many ideas compare this bar to an earlier one. Just say so — “a new high versus the prior bar’s high”, “the close two bars ago”, “the 14-period RSI on the previous bar”. AskFutures shifts any series back by however many bars you name. This is what powers breakouts, new-high/new-low logic, and bar-pattern sequences.

Cross-market, spreads & ratios

A strategy can read markets it doesn’t trade, and it can trade the relationship between two markets.
IdeaWhat it meansUse it when
Cross-market readReference another symbol’s series in a rule”Buy ES only when NQ is also above its VWAP.”
Lead–lagTrigger off one symbol, trade another”Go long ES when NQ crosses above VWAP first.”
Spread (difference)Trade A − B as one series”Trade the ES-minus-NQ spread; fade ±2 sigma.”
RatioTrade A / B as one series”Trade the BTC/ETH ratio’s SMA cross.”
Calendar spreadFront month minus a later month of the same root”Long the CL calendar spread above its 20-day average.”
Spreads and ratios behave like any other series — you can put an indicator, a z-score, or a moving average on top of them, and gate the whole thing with rolling correlation so you only trade when the legs move together.

Commitment of Traders (COT)

AskFutures can read weekly Commitment of Traders positioning as a series and fold it into your rules. It’s a slow, structural signal — updated once a week — best used as a bias or filter, not a fast trigger.
COT seriesWhat it isUse it when
Commercial netCommercial longs minus shorts (the “smart money” hedgers)You want a positioning bias — e.g. “buy when commercials turn net long”.
Managed-money netSpeculative fund net positioningYou want to fade a crowded extreme (e.g. a 52-week high in net longs).
Open interestTotal weekly open contractsYou want to confirm a breakout with rising participation.
Micro contracts map to their full-size COT series automatically — MES reads ES, MCL reads CL, and so on. You can also smooth COT with an indicator, like “the 8-week SMA of commercial net positioning”.

Putting it together

These pieces combine freely. A single rule can chain an indicator on a spread, gate it with rolling correlation, and overlay a weekly COT bias:
Trade the ES–NQ spread: short when its 20-bar z-score exceeds +2 and commercials are net short ES in the weekly COT — but only when the two markets’ 30-bar rolling correlation is above 0.8.
You describe it; AskFutures assembles the right indicators and series and writes the precise rule.
Backtests built from these indicators and series are hypothetical and simulated, net of modeled slippage and commission. Past performance does not guarantee future results. Always test before you trade.

Next steps

Strategies

How these pieces fit into entry rules, exit rules, filters, and parameters.

Risk & trade management

Stops, targets, trailing stops, and ATR-based exits.

Build a strategy

Walk through turning an idea into a backtested strategy.

Is the backtest real?

Why the same rules and data always produce the same numbers.