Filter Language Reference

vyx’s AI understands natural language descriptions of trading setups. This page covers patterns and techniques for writing effective filter descriptions.

Basic structure

A good filter description has three parts:

  1. What to find — the instrument (“coins”, “pairs”)
  2. What conditions — the technical setup
  3. What timeframe — when to check

Example: “Find coins where RSI crosses below 30 with rising volume on the 1h chart

Indicators you can reference

Moving averages

  • 20 EMA, 9 EMA, 200 EMA
  • 50 MA, 20 SMA (SMA and MA are equivalent)
  • “price above the 20 EMA”
  • “9 EMA crosses above 21 EMA”

RSI

  • RSI, RSI(14), RSI below 30
  • “RSI crosses above 70”
  • “RSI between 40 and 60”

MACD

  • MACD line, signal line, MACD histogram
  • “MACD crosses above signal line”
  • “MACD histogram turns positive”
  • “MACD histogram has been negative for at least 5 bars”

Bollinger Bands

  • upper Bollinger Band, lower Bollinger Band, middle band
  • “price closes above upper Bollinger Band”
  • “price closed below the lower band on the previous candle”

Volume

  • volume, average volume, 20-period volume average
  • “volume at least 2x the 20-period average”
  • “above-average volume”
  • “rising volume”

ATR

  • ATR, Average True Range
  • “candle body larger than ATR”
  • “ATR above 2%”

Stochastic

  • Stochastic, %K, %D
  • “Stochastic %K crosses above %D”
  • “Stochastic below 20”

VWAP

  • VWAP
  • “price above VWAP”
  • “price crosses below VWAP”

Temporal conditions

The AI understands time-aware conditions:

  • “on the previous candle” — check the prior candle
  • “for at least 5 bars” — check a series of candles
  • just turned positive” — transition happened on current candle
  • crossed above” — crossing implies the previous value was below and current is above

Cross-timeframe references

You can reference different timeframes in a single filter:

“MACD histogram turns positive on the 4H with price above the 200 EMA on the daily”

The AI will check the 4H MACD and the daily 200 EMA separately.

Combining conditions

Use “and”, “with”, or commas to combine conditions:

“RSI below 30 and volume above average”

“EMA cross with RSI above 50”

“Price above 20 EMA, volume 2x average, RSI above 50”

Example patterns

Oversold reversal

“Find coins where RSI crosses below 30 with rising volume on the 1h chart”

Trend continuation

“Find pairs where the 9 EMA crosses above the 21 EMA with RSI above 50 and above-average volume”

Bollinger bounce

“Find pairs where price closed below the lower Bollinger Band on the previous candle and then closed back inside the bands on the current candle, with RSI below 35”

Momentum shift

“Pairs where the MACD histogram has been negative for at least 5 bars and just turned positive, with price above the 200 EMA on the daily”

Breakout detection

“Find pairs where price closes above the upper Bollinger Band with volume at least 3x the 20-period average on the 15m chart”

Next steps