Learning Centre

Build cBots with a clearer understanding of why each rule exists.

Technical indicators are calculations—not forecasts. Learn how to structure independent evidence, confirm signals on completed bars, control risk, and evaluate a cTrader cBot under realistic forex trading conditions.

Core lessons

Good automation begins with precise thinking.

The builder can enforce a rule exactly, but it cannot make an unclear or unsupported trading assumption reliable.

01

Start with a market hypothesis

Decide whether the strategy is trying to follow trends, trade mean reversion, capture breakouts, or combine several regimes. The hypothesis determines what each indicator should contribute.

02

Give each indicator a job

Use indicators because they measure something the strategy needs—not because adding another condition improves one backtest. Direction, momentum, volatility, and activity are different forms of evidence.

03

Use completed-candle confirmation

A condition can appear during a candle and disappear before it closes. Requiring one or more completed bars reduces intrabar ambiguity, although it also delays entry and may reduce the number of trades.

04

Define Buy and Sell separately

Bullish and bearish conditions may be mirrored, but they do not have to be. Test whether each direction behaves sensibly instead of assuming that reversing one rule creates an equally valid opposite rule.

05

Design exits with the entry

A signal cannot be evaluated independently of stop loss, position size, profit management, and exit timing. Moving profit protection and partial exits change both return distribution and trade duration.

06

Separate discovery from validation

Use one period to design the strategy and different data to evaluate it. Repeatedly optimizing against all available history increases the risk of overfitting.

Indicator combinations

Examples of complementary evidence.

These are educational frameworks, not recommended trades or promises of performance. Every threshold and combination must be tested for the selected symbol and timeframe.

Trend following

Direction + strength + volatility

An EMA can define direction, ADX can evaluate trend strength, and ATR can adapt the strategy to current price range. Requiring closed candles can make the entry condition unambiguous.

Mean reversion

Regime + deviation + momentum

A low-trend regime filter can provide context, Bollinger Bands can measure price deviation, and RSI or Stochastic can describe momentum. Strong trends can invalidate a simple reversal assumption.

Breakout

Structure + expansion + activity

A Donchian or similar channel can define the boundary, ATR can confirm range expansion, and a tick-volume condition can assess relative market activity.

Confirmation example

Two candle closes above an EMA.

Suppose a Buy rule requires price to close above an EMA. A one-candle confirmation qualifies after one completed candle closes on the correct side. Setting confirmation to two requires two consecutive completed candles to satisfy that Buy condition before it can contribute to an entry.

  • The current unfinished candle does not count
  • More confirmation usually means later and fewer entries
  • The Sell rule can independently require closes below the EMA
  • Confirmation reduces ambiguity, not market risk
Testing sequence

Backtest, demo-test, then decide.

1

Backtest

Use accurate historical data where practical. Include realistic spreads, commissions, and symbol settings. Review drawdown, trade count, distribution, and behaviour—not only net profit.

2

Out-of-sample check

Evaluate the unchanged strategy on markets or periods that were not used to select its parameters.

3

Broker demo test

Run it in the intended broker's cTrader demo environment to observe symbols, execution, connection behaviour, and live-forming candles.

4

Live decision

Only the account owner can decide whether the evidence and risk are acceptable. If used live, start cautiously and continue monitoring.

Risk reminder

No indicator combination removes uncertainty.

Past performance, backtests, and demo results do not guarantee future outcomes. Leverage can magnify losses. cBot Factory provides software tools and educational information, not personalized financial advice or a recommendation to trade.

Apply what you learned

Build a strategy, then challenge its assumptions.