AI Blocks

AI Block: Forecast Direction — what it is and how to use it in trading

Definition

Forecast Direction (forecast.direction) is a strategy builder AI block that returns the forecast model's direction for the upcoming bars as one of three values: Long (up), Short (down), or None (no clear signal).

How it works in the builder

An enum operand encoded Short=-1, None=0, Long=1 — compared to a constant with a normal operator in a condition (e.g. forecast.direction == 1). The value is computed ahead of time and read from a cache at signal time; in backtest AI blocks always evaluate to false, and the backend lists them in disabled_blocks.

What it looks like on the chart

Drawn in the builder card as three small directional glyphs (down/flat/up), with only the active one highlighted and labelled.

Typical use

Typical condition: forecast.direction == 1 as an AI long-entry filter, usually paired with forecast.probability > 70 to filter out low-confidence forecasts. Available only in LIVE strategies and only on the Pro plan.

Common pitfalls

Like the rest of the builder, this is an informational and analytical tool, not individual investment advice — the value is probabilistic and doesn't guarantee an outcome. In backtest a condition using this operand is always false — a strategy that depends only on AI blocks can't be tested on history, only run live.

This block is available in the strategy builder

137 no-code blocks — build an entry condition with this term and test it on history

Historical results do not guarantee future ones. The service is an informational and analytical tool, not an individual investment recommendation; trades are not executed.

TradingWay

Information and analytics AI platform. Neural network analyzes markets 24/7 and calculates analytical levels for Entry, TP, SL.

© 2026 Trading Way. All rights reserved.