XCREENER Docs
XQLCookbook

Full Queries

Complete queries with columns, sort, and limit, not just a core-logic body.

Every other cookbook page shows a core-logic body meant to be dropped under your own market/timeframe pragmas. The two queries below are complete, end-to-end, copy-pasteable (headers included), showing how a core-logic recipe combines with columns, sort, and limit to become a runnable screen.

Oversold Dip, Daily-Trend Filtered

The multi-timeframe RSI-dip recipe, as a full query, returning close and rsi(14) for each match, ranked by how oversold the RSI is:

market = "CRYPTO"
timeframe = h1
columns = [close, rsi(14)]
sort = rsi(14) asc

rsi(14) < 30 and close > d::sma(200)

Top 10 Volume-Confirmed Breakouts

The volume-confirmed breakout recipe, turned into a ranked scan: the 10 strongest breakouts by 10-bar rate of change:

market = "CRYPTO"
timeframe = d
columns = [close, roc(10)]
sort = roc(10) desc
limit = 10

close > highest(high, 20) and volume > avg(volume, 20) * 1.5

On this page