Home › Guides › Trading Indicators

WHY BOTS FAILFREENO ACCOUNTAUTOMATED TRADE BOTSTrading IndicatorsThe arithmetic of how bots failEDUCATION ONLY | NO SIGNALSEXAMPLE NUMBERS ARE LABELLEDAUTOMATED TRADE BOTSautomatedtradebots.com
A free page on trading indicators. Education only, with example numbers labelled.
WHY BOTS FAIL

Trading Indicators

Short answer

A trading indicator is a calculation on past prices, and sometimes volume, drawn as a line or a number. It summarises history. It does not know the future.

An indicator is a formula run on past prices or volume. It rearranges what already happened. It cannot add information that is not in the data.

The page explains the idea in plain words, works through the arithmetic with a table, and shows how it hits grid, martingale and DCA bots, then tells you what to check before you run one.

  • A worked example with real arithmetic
  • How it hits grid, martingale and DCA bots
  • How to check for it before you run a bot
  • No advice, no signals, no profit promises

Last reviewed 28 October 2026. Education only, not advice.

Free, no account Runs in your browser Worked numbers shown Not advice Examples labelled

Ready to go further

Next: test a rule honestly

The backtesting guide sets out the steps and the traps, including the ones that catch indicator rules.

Reading time6 minutes
Worked exampleExact arithmetic
Tools linked0 on this page
Reviewed28 Oct 2026

What is included

  • What it is, in plain words
  • The formula or mechanism, with exact arithmetic
  • How it hits grid, martingale and DCA bots
  • A check you can run before you switch a bot on

Who it is for

  • People who run or plan to run a trading bot
  • Anyone reading a backtest or a bot sales page
  • Readers who want the numbers, not the pitch
  • Not advice, and not a signal service
A made-up step from 100 to 110 and its 5-bar and 10-bar averages100105110159131720Bar numberMade-up closes. Solid: price. Dashed: 5-bar and 10-bar averages. Calculated by us on 31 Oct 2026, exact.
The picture for this page. Example numbers are made up unless the page says they were calculated.

Key facts

  • A trading indicator is a calculation on past prices, and sometimes volume, drawn as a line or a number. It summarises history. It does not know the future.
  • There are four common kinds: trend, momentum, volatility and volume. Each one answers a different plain question about the same price data.
  • Every indicator lags. In a made-up step from 100 to 110, a 5-bar average took 4 bars to reach 110 and a 10-bar average took 9 (calculated by us on 31 Oct 2026, exact).
  • Stacking several indicators adds less than it seems, because most are built from the same closing prices. In a made-up rising path, a 5-bar and a 10-bar average had a correlation of 1.00 (calculated by us on 31 Oct 2026, exact).
  • A bot turns an indicator into a rule with a threshold, such as "buy when close is above the average". Every threshold is a setting that can be fitted to the past.

What an indicator is

A chart shows prices. An indicator is a formula applied to those prices, or to volume, and drawn on top of the chart or below it. A moving average is the simplest one: add up the last N closing prices and divide by N. The result is a smoother line than the raw price.

The formula is fixed and the output is exact. What is not fixed is the meaning people give it. An average that slopes up is a fact about the last N bars. Calling that "a trend that will continue" is a belief, and this page sticks to the facts.

The four kinds

Trend

Trend indicators ask which way price has been moving. Moving averages, EMA crossovers, the golden cross, Supertrend and the Ichimoku cloud belong here. They are slow on purpose, because smoothing is what removes the noise.

Momentum

Momentum indicators ask how fast price has been moving and whether that speed is changing. The RSI and the MACD are the usual examples. They tend to turn before price does, but they also give more false turns.

Volatility

Volatility indicators ask how big the moves are, ignoring direction. Bollinger bands and the average true range are the common ones. A bot often uses them for sizing and stop distance rather than for direction.

Volume

Volume indicators ask how much traded. Plain volume, the VWAP, the anchored VWAP and the volume profile fit here. Volume data depends on the market. Some markets report one shared total and some do not, so check what your data source actually covers.

Common indicators at a glance

Each row is a one line meaning of the formula, not a rule for trading.

IndicatorKindWhat it measures
Moving averageTrendThe average close over the last N bars. It smooths noise and trails price.
EMA crossoverTrendA fast exponential average crossing a slow one, read as a change of direction.
Golden crossTrendA shorter average crossing above a longer one, such as 50 over 200.
SupertrendTrendA line set a multiple of recent range from price that flips side when price crosses it.
Ichimoku cloudTrendA set of lines and a shaded band that mark trend direction and nearby levels.
RSIMomentumRecent gains against recent losses, scaled from 0 to 100.
MACDMomentumThe gap between a fast and a slow average, plus a smoothed copy of that gap.
Rate of changeMomentumThe percent change in price over the last N bars.
Bollinger bandsVolatilityBands set a number of standard deviations either side of a moving average.
Average true rangeVolatilityThe average size of a bar, including gaps, in price units.
VolumeVolumeHow much traded in each bar.
VWAPVolumeThe average price weighted by volume, from a chosen start point.
Anchored VWAPVolumeVWAP started from a bar you pick, such as a swing low.
Volume profileVolumeHow much traded at each price level, shown sideways against price.

Lines drawn at levels, such as support and resistance, and the breakout indicator are close relatives. They are built from the same price history and share the same limits.

Why indicators lag

An average of the last N closes cannot move until new closes arrive, and it keeps old closes in the mix until they drop out. So it always trails price. A longer window is smoother and trails more.

The picture shows a made-up step. Price sits at 100 for eight bars, then jumps to 110 on bar 9 and stays there. A 5-bar average reaches 110 only on bar 13, 4 bars after the step. A 10-bar average reaches it on bar 18, 9 bars after. No setting is both smooth and instant. Less lag means more noise, and less noise means more lag.

Bars an average takes to catch a 10-point step (made-up)45-bar averagebars to catch up910-bar averagebars to catch upPrice steps from 100 to 110 at bar 9 and stays there. Count starts at the step bar. Calculated by us on 31 Oct 2026, exact.
The same step, two windows. The longer average is smoother and later. This trade-off is built into every smoothing indicator.

Why stacking indicators adds little

A common idea is that two or three indicators agreeing is stronger than one. That only holds if they carry different information. Most do not. A 5-bar average, a 10-bar average, an RSI and a MACD are all built from the same closing prices. When price rises, they all rise.

Take a made-up path of 24 closes that drifts up from 100 to 121. Over the last 15 bars, the 5-bar and 10-bar averages have a correlation of 1.00. Each one also has a correlation with the price itself of at least 0.97. A second average mostly repeats the first. A bot that waits for both to agree is mostly asking the same question twice.

Mixing kinds helps a little more, such as a trend line with a volume measure, because they draw on different data. But each added condition is another setting, and each setting is another chance to fit the past. See overfitting.

How a bot turns an indicator into a rule

A bot cannot read a chart. It needs a condition that is true or false on each bar. The usual forms are a comparison, such as price above the average, a crossing, such as the fast line passing the slow line, or a level, such as RSI below a number.

Here is a made-up rule on the step path: be long when the close is above the 5-bar average, and flat otherwise. On bar 9 the close is 110 and the average is 102.0, so the rule says long. On bar 10 the close is 110 and the average is 104.0, still long. The rule stays long until the average catches up, then the close equals the average and the rule is no longer long. In a gradual move it would enter later, and in a sideways market it would flip back and forth.

A rule that flips often trades often, and each trade pays the spread and fees. Test any indicator rule with full costs, in rising, falling and flat markets, and on data it was not tuned on. See backtesting.

How bots break on indicators

  • Fitting the settings. Trying many lengths until one looks good on past data finds noise, not a pattern.
  • Using a signal in the wrong market. A rule built for ranges fails in trends, and the reverse.
  • Ignoring costs. A rule that looks fine before costs can lose after them.
  • Using a bar before it closes. An indicator on an unfinished bar changes until the bar ends. A test that uses the final value early cheats. See look-ahead bias.

What indicators do not tell you

They do not say what price does next. They do not account for news, costs or your account size. They describe the past and give a bot a clear, testable condition. That second use is real. The first use is where beliefs creep in.

FAQ

Frequently Asked Questions

What is a trading indicator?

It is a formula applied to past prices or volume and drawn as a line or number. It summarises history and does not forecast.

What are the four kinds of indicator?

Trend, momentum, volatility and volume. They ask which way price moved, how fast, how big the moves were and how much traded.

Why do indicators lag?

They are built from past data, so they cannot move until new data arrives. Smoother settings use more history and lag more.

Does using more indicators help?

Often not much. Many are built from the same closing prices, so they repeat each other. Each extra one also adds a setting that can be fitted to the past.

How does a bot use an indicator?

It turns the indicator into a true or false condition on each bar, such as price above an average, and acts when it changes. The thresholds are settings that need honest testing.

Are the numbers on this page real?

Example numbers are made up to show how the maths works, and the page says so. A figure only counts as exact when the page says it was calculated on a stated date. Nothing you enter in a calculator leaves your browser.

Can I use this to decide whether to run a bot?

It can show whether a bot's numbers hold together and how much an account can lose. It cannot say what the market will do, and it is not advice. Use it to ask better questions, then read the terms of your own broker or exchange.

Is this financial advice?

No. It is general education about calculations. The prices are made up and nothing here is a signal.

Know the Risk Before You Run It

Free calculators and guides, added every week. Leave your details and we will email you when new ones go up.

Trading carries a risk of loss