Welcome to our new support center!
We provide 24x7 support by human agents! So if our documentation can’t help you out, feel free to reach out and create a ticket!

Altrady Support Altrady Support

How do I create a scanner?

A scanner is a set of rules that watches the markets you choose and fires an alert when your conditions line up. You build it with the New scanner wizard, from the Scanner widget or from the Scanners tab in the Screener, then switch it on. (Scanners were called TA Scanner strategies before version 6.0.)

Accessing the Scanner

The Scanner is a widget in the Trading Terminal layout. If you don’t see it in your terminal, see What is the Scanner and how does it work? for how to add it. You can also manage the same scanners from the Scanners tab of the Screener in the sidebar.

The scanner list

At the top of the Scanner widget there is a picker that shows what is running. It reads All alerting with a count when scanners have alerts on, No scanners yet when you haven’t made one, or the name of the scanner you picked. Above it sits the Scanner ON / Scanner OFF switch, which pauses or resumes all scanning, and next to it the + New scanner button.

Open the picker to see your scanners under My scanners, plus the ready-made ones under From Altrady. Inside you’ll find:

  • My scanners: every scanner you’ve built or imported, each with a switch to turn its alerts on or off.
  • From Altrady: Altrady’s own scanners. Use Turn on to start alerts on one, or open it in the Screener to adjust it first.
  • Create and Import, in the widget’s menu: Create (like + New scanner) opens the wizard to set up a new scanner from scratch or from a template. Import loads a scanner from a shared link or file. An imported scanner starts switched off, so nothing fires until you review it.

Scanner widget with the scanner picker open showing My scanners and From Altrady🔍 Click the image to see a larger version To edit, duplicate or delete a scanner, or to open it in the Screener, click the three-dot menu next to its name and choose Edit, Duplicate, Open in Screener or Delete.

Start from a template or from scratch

New scanner start step with the Crossovers templates visible🔍 Click the image to see a larger version

The wizard opens on New scanner with the line “Start from a template or build your own. You can change everything later.” You can search the templates, choose Start from scratch to build your own scanner with an empty rule, pick one of the quick templates to pre-fill a working configuration you can adjust, or choose Import a shared scanner to paste a share link or load a file.

The templates are grouped by theme:

  • Trend continuation: EMA Pullback, EMA + MACD, RSI Pullback.
  • Mean Reversion: BB Reversion, StochRSI, CCI Reversal.
  • Momentum & Breakouts: MACD Expansion, ADX Breakout, Vol Squeeze.
  • Emotional Extremes: QS Capitulation, QS Blowoff.
  • Crossovers: EMA Cross, MACD Cross, RSI Exit Oversold, RSI Exit Overbought, Stoch Cross. These use the crossover operators described below and start with Trigger on set to Close.

Templates are preset configurations built from common indicator combinations, not a suggestion to trade any particular way. You give the scanner a name on the last step, so you can recognize it later in your list.

Review and start step of the BB Reversion scanner with the summary and Start alerts button🔍 Click the image to see a larger version

Creating a custom scanner

Alerts step of the scanner wizard with sound, feed, desktop notification, push, email and webhook options🔍 Click the image to see a larger version

Whether you started from scratch or from a template, the wizard walks through the same steps:

  1. Markets (“Which markets?”): pick the exchanges and quote currencies to scan.
  2. Rules (“Set the rules”): choose the timeframes under Strategy timeframes, choose when in-app alerts fire with In-app alerts fire on: (Tick or Close), and add the rules with their conditions.
  3. Alerts (“How should we tell you?”): choose how you are notified.
  4. Review (“Review and start”): name the scanner, check the summary, try a backtest, then click Start alerts.

When you edit an existing scanner, the same parts show as tabs instead: Rules, Markets, Filters and Alerts. Click Save changes when you’re done.

Rules step of the scanner wizard with timeframes and the Tick or Close choice🔍 Click the image to see a larger version

In-app alerts fire on decides when your rules are checked for the timeframes that run in the app. Tick checks your rules on every price update, so an alert can fire while the current candle is still forming. Close waits for the candle to finish and checks the completed values once. Close gives fewer, more settled alerts; Tick reacts sooner. Scanners made before this control existed run on Tick. Crossover templates start on Close because a crossover compares the current bar with the previous one.

Scan with one of your scripts

On the Rules step you can switch from Indicator rules to Custom script and pick one of your scripts under Script. The scanner then matches a market when the script’s condition fires on a closed candle. In this mode every timeframe runs on our servers, and only the market filters and 24h volume apply next to the script. To write a script, see Getting started with the Script Editor.

The sections below walk through each part.

Markets and filters

The Markets step controls which markets the scanner watches, and applies to every rule inside the scanner. Every market on the exchanges and quote currencies you pick is scanned, and the step shows how many markets are in scope.

Always visible:

  • Exchanges: multi-select dropdown to choose which exchanges to scan. The number you can select depends on your plan.
  • Quote currencies: available options depend on the selected exchanges. Common quote currencies (USDT, USDC, BTC) are prioritized. Also limited by plan.
  • Timeframes: these are not on the Markets step. You pick them on the Rules step under Strategy timeframes: In-app timeframes (1m to 15m) run in the app, and On server timeframes (30m to 1d) run on our servers. Available timeframes depend on your plan.

Optional filters, on the Review and start step (click Edit on the Filters row of the summary), and on the Filters tab when you edit a scanner:

  • Minimum 24h volume (USD): filter markets by 24h volume.
  • Blacklist: comma-separated coins to exclude, for example DOGE, SHIB. Each entry must be the full coin name: OIL excludes the coin OIL only, not UKOIL or USOIL. Partial names and wildcards aren’t supported here, so list every coin you want to exclude. Capitals don’t matter. This is different from the signal bot blacklist, which also matches part of a name, see Signal bot whitelists and blacklists.
  • Whitelist: comma-separated coins to include, for example BTC, ETH, SOL, matched on the full coin name in the same way. Mutually exclusive with the blacklist: you can use one or the other, not both.
  • Market types: Spot and Futures.
  • Max No Vol. %: the maximum percentage of candles with no volume allowed in the last 60 candles, which filters out low-activity markets. It only applies to the timeframes that run in the app (1m to 15m).

Markets step of the scanner wizard with exchanges, quote currencies and volume filter🔍 Click the image to see a larger version

Building rules and conditions

Each scanner can have multiple rules, shown as tabs in the rule editor alongside an Add Rule button. A market matches when any rule is true, and each rule defines a set of conditions that must all line up.

Rule settings

Every rule has a few settings at the top:

  • Rule name: displayed as a colored badge in scanner results so you can tell which rule matched.
  • Color: choose from 8 preset colors (red, orange, yellow, green, dark green, blue, dark blue, purple). The badge in the results list uses this color.
  • Alert sound: pick a sound from the dropdown, or choose No sound if you’d rather rely on push notifications alone.
  • Push notification: turn on or off for that rule.

Both alert settings are per rule, so different rules in the same scanner can notify you differently. The Alerts step shows them for the whole scanner at once and reads Differs per rule when the rules don’t match.

Adding conditions

Each condition consists of three parts:

  1. Source indicator: select from a categorized dropdown (with search), for example an EMA, RSI, or price field.
  2. Operator: choose a comparison operator (see the table below).
  3. Target: either a numeric value or another indicator.

Click Condition to add another line. Each new condition attaches with AND or OR, so you can chain as many as you need.

Don’t worry about getting every condition perfect on the first pass. You can edit, reorder, or remove any condition before saving. The wizard asks you to complete every condition before you continue.

Timeframe and bars ago per indicator

The indicator popup opened on a condition, with the field list above and the footer showing Timeframe set to 1h and Bars ago set to 1🔍 Click the image to see a larger version

By default every indicator is calculated on the timeframes you picked for the scanner and uses the most recent candle. You can change both for one indicator at a time. Click the indicator in a condition to open its popup and look at the footer:

  • Timeframe: Scanner follows the scanner’s timeframes. Pick a specific timeframe (1m up to 1d) to calculate this indicator on that timeframe instead, for example a 1h EMA inside a 15m scanner. This changes which candle the value is read from, not how often the scanner checks.
  • Bars ago: 0 uses the current candle. Set 1 to 20 to read the value that many completed candles back.

A condition row where the source indicator chip reads EMA 12, 1h, 1 bar ago, showing the timeframe and bars ago override next to the indicator name🔍 Click the image to see a larger version

The indicator chip shows the override next to its name, for example EMA 12 · 1h · 1 bar ago, and reads plainly when nothing is overridden. Source and target indicators each carry their own override, so close on the scanner timeframe can be compared with ema200 on 4h. Market and metadata fields such as Volume USD, exchange or quote do not take an override.

Operators

Operator Meaning Example
< Less than RSI14 < 30: RSI is below 30
<= Less than or equal to close <= EMA9: price touched or crossed below EMA
> Greater than ADX14 > 25: trend strength above threshold
>= Greater than or equal to high >= BB Upper: candle wick reached upper band
== Equal to MACD Hist == 0: histogram at zero line crossover
!= Not equal to volume != 0: market has trading activity
x> Crosses above ema12 x> ema26: fast EMA was at or below the slow EMA on the previous bar and is above it now
x< Crosses below rsi14 x< 70: RSI was at or above 70 on the previous bar and is below it now

Because indicator values are continuously changing decimal numbers, exact equality matches (== and !=) are rare in practice. These operators work best for discrete values like checking whether a signal is 0 or non-zero. For most conditions, use <, >, <=, or >= with threshold values.

Crossover operators

Rules step showing the EMA Cross template with a crossover condition🔍 Click the image to see a larger version

x> and x< fire once, on the bar where the left side moves across the right side, instead of every bar it stays on one side. They compare the current bar with the previous one, so they work with Trigger on set to Close and appear in the operator dropdown only for numeric indicators. The right side can be another indicator or a fixed value. With a crossover, Bars ago on either side can be at most 19, because the scanner needs one more bar of history to look back from.

Each crossover counts as 2 conditions towards the conditions per rule limit on your plan. Keep this in mind when you combine crossovers with other conditions in the same rule.

AND/OR logic

Conditions within a rule are chained with AND or OR operators. Each condition after the first has a logic selector to choose between them.

  • AND means all conditions must be true at the same time. This narrows results: for example, an alert triggers only when the RSI is low and the price is below the Bollinger Band.
  • OR means at least one condition must be true. This widens coverage: an alert triggers when either setup appears.

Conditions are evaluated left to right in sequence. For example, RSI14 < 30 AND close < BB Lower OR volume > SMA20 is evaluated as ((RSI14 < 30) AND (close < BB Lower)) OR (volume > SMA20).

If you need more complex grouping you have two options: use the Expression Editor (see below), which supports parentheses, or split your logic across multiple rules within the same scanner. Each rule is evaluated independently, so separate rules can represent distinct condition groups.

Expression editor

Rule editor toggled to Expression mode showing a typed formula like ema9 > ema26 AND rsi14 > 40, with the Visual/Expression toggle visible.🔍 Click the image to see a larger version For more control over condition logic, each rule has a Visual / Expression toggle at the top. The Expression Editor lets you write conditions as free-form text instead of using the visual condition rows.

Switching modes

Click Expression to switch from visual mode to expression mode. Your existing visual conditions are automatically converted to an expression string. Click Visual to switch back. If the expression can be represented as flat conditions (no parentheses grouping), it converts back without issue. If it uses parentheses, the Visual button is disabled; you’ll need to simplify the expression first or keep using expression mode.

Expression syntax

An expression is one or more conditions joined by AND or OR:

rsi14 < 30 AND close < bb20_lower

Parentheses allow explicit grouping, giving you full control over evaluation order:

(rsi14 < 30 AND close < bb20_lower) OR (stochk < 20 AND stochd < 20)

Without parentheses, conditions are evaluated left to right. With parentheses, the grouped conditions are evaluated first. This is the key advantage of the expression editor over the visual mode.

Syntax Example Description
indicator operator value rsi14 < 30 Compare an indicator to a numeric value
indicator operator indicator close > ema26 Compare two indicators
AND / OR rsi14 < 30 AND close < bb20_lower Logical operators to chain conditions
( ... ) (rsi14 < 30 OR stochk < 20) AND close < bb20_lower Parentheses for grouping
indicator@timeframe ema200@240 > close Calculate the indicator on another timeframe
indicator[n] rsi14[1] < 30 Read the value n completed candles back (1 to 20)
indicator@timeframe[n] rsi14@60[2] > 50 Both: 1h RSI from two bars ago
x> / x< ema12 x> ema26 Crossover operators, see the table above

The rule editor in Expression mode showing the formula ema12@60[1] x< ema26, where @60 is the 1 hour timeframe and [1] means one bar ago🔍 Click the image to see a larger version

Timeframe codes are the candle length in minutes: 1, 2, 3, 5, 10, 15, 30, 60 (1h), 240 (4h), plus D for 1 day. Type @ after an indicator and the autocomplete lists them. A bare indicator name means the scanner timeframe and the current candle, exactly like the visual editor’s defaults. Switching to Visual keeps every @ and [n] as the indicator’s Timeframe and Bars ago override.

Autocomplete

As you type in the expression editor, an autocomplete popup suggests available options:

  • Indicators: all available indicator IDs (for example rsi14, ema26, bb20_upper), shown with their category and description.
  • Operators: valid comparison operators for the current source indicator.
  • Logical operators: AND and OR after a complete condition.

Start typing an indicator name and select from the suggestions, or type the full indicator ID manually.

Validation

The expression editor validates your input in real time and highlights errors such as unknown indicator names, invalid operators for a given indicator, values outside the allowed range (for example RSI must be 0 to 100), incompatible indicator comparisons, missing closing parentheses, and incomplete conditions.

Examples

Simple momentum scan:

rsi14 < 30 AND stochk < 20

Grouped conditions, where an alert fires when either momentum setup triggers while price is below the moving average:

(rsi14 < 30 OR stochk < 20) AND close < sma50

Complex multi-signal scan with trend confirmation:

(close > ema26 AND macd_line > macd_signal) AND (rsi14 > 50 OR mom10 > 0)

Using ratings for a high-level trend filter:

trend == 2 AND rsi14 < 70

Higher timeframe trend with a lower timeframe trigger, on a 15m scanner:

close@240 > ema200@240 AND rsi14 x> 30

RSI rising over the last three completed candles:

rsi14 > rsi14[1] AND rsi14[1] > rsi14[2]

The Quick Templates dropdown, at the right of the Rules heading, lets you drop a template’s values in at any point.

Review, backtest and start the scanner

Scanner started confirmation with in-app and server status🔍 Click the image to see a larger version

Signal backtest result on the scanner Review and start step🔍 Click the image to see a larger version

The last step, Review and start, shows a summary of the scanner: where it Runs, the Markets, the Filters, the Rules and how you are notified (Notify). Click Edit on a row to change it. Give the scanner a name here.

Below the summary, the Signal backtest asks “When would this have fired over the last 30 days?” (fewer days on the shortest timeframes) Click Run to see how many signals your rules would have produced on past candles, per market and per day. This is historical data only: past results do not indicate future performance.

A scanner does nothing until you turn it on. Click Start alerts to start it. A confirmation shows the scanner is running and where: scanning now in the app, and the first server check at the next candle close. Later, you can switch a scanner on or off from the scanner list in the widget or from the Scanners tab in the Screener. Enable as many scanners as your plan allows, and pause the ones you’re not using to keep your alert feed focused.

Keep in mind that alerts can take anywhere from a few minutes to several hours to arrive, depending on the timeframe you picked and current market conditions. A 15-minute rule on a quiet market can sit quietly for a while before a candle matches, and that’s normal.

Still stuck?

If your scanner is on but you’re not seeing the alerts you expect, reach out through support chat in the app. Have your scanner name, the timeframe you set, and an example of the condition you expected to trigger ready, it helps us check things faster.

Was this article helpful?