Skip to content

Trading Robot Strategies Using Built-in Indicators

How to Build a Strategy

This page explains all trading robot strategy concepts that can be built using the 87 built-in indicators available on the cTrader platform.

To build a trading robot using CodePilot, ask it to create a strategy based on the indicator name.

Example:
Build a Simple Moving Average trading robot.

You can also ask CodePilot to build any other strategy not listed, there is no limit to the number of strategies it can build.


Trend Strategies

Alligator Strategy

The robot waits for the Alligator lines to separate and align.
Buy trades open when Lips > Teeth > Jaw and price confirms upward momentum.
Sell trades open on the opposite alignment. Trades close when lines converge.

Aroon Strategy

Trades open when Aroon Up is high and Aroon Down is low for buys, and vice versa for sells.
The robot avoids trading when both lines fluctuate, indicating consolidation.

Average Directional Movement Index Rating Strategy

ADXR is used as a trend strength filter.
The robot only allows trades when ADXR is above a threshold, confirming strong trend conditions.

Directional Movement System Strategy

Buy trades open when +DI crosses above -DI with rising ADX.
Sell trades open on the opposite crossover. ADX filters weak trends.

Double Exponential Moving Average Strategy

Trades open when price crosses above or below the DEMA.
The robot exits on opposite cross or fixed stops.

Exponential Moving Average Strategy

A fast EMA crossing a slow EMA triggers entries.
Trades close on opposite crossover or trailing stop.

Fractal Adaptive Moving Average Strategy

Trades follow the slope of FRAMA.
Flat FRAMA disables trading, rising enables buys, falling enables sells.

Hull Moving Average Strategy

Trades open in the direction of the HMA slope.
A slope change signals exit or reversal.

Ichimoku Cloud Strategy

Buy trades open when price breaks above the cloud with Tenkan/Kijun confirmation.
Sell trades open below the cloud. Cloud acts as exit zone.

Kaufman Adaptive Moving Average Strategy

Trades follow KAMA direction.
Flat KAMA blocks entries.

Moving Average Strategy

Trades open when price crosses and holds above or below the moving average.
Exits occur on opposite cross.

Parabolic SAR Strategy

Trades follow the SAR dots.
A dot flip closes and optionally reverses the position.

Simple Moving Average Strategy

Fast SMA crossing slow SMA triggers trades.
Trades close on opposite crossover.

Supertrend Strategy

Trades open when Supertrend flips direction.
The line acts as trailing stop.

Time Series Moving Average Strategy

Trades follow TSMA direction.
Flattening TSMA exits trades.

Triangular Moving Average Strategy

Used as a long-term trend filter.
Entries are taken with secondary triggers only.

Triple Exponential Moving Average Strategy

Trades open when price crosses TEMA in trend direction.
Exits on opposite cross.

VIDYA Strategy

Trades follow VIDYA slope.
Flat slope disables trading.

Weighted Moving Average Strategy

Trades open on WMA crossovers or price interaction.
Faster response suits short-term strategies.


Momentum Strategies

Commodity Channel Index Strategy

Buy trades open when CCI crosses above +100.
Sell trades open below -100.
Exits occur when CCI returns toward zero.

Momentum Oscillator Strategy

Trades open when momentum crosses zero with trend confirmation.
Zero-cross reversal exits trades.

Price ROC Strategy

Trades open when ROC crosses above or below zero.
Divergence may trigger exits.

Relative Strength Index Strategy

Buy trades open when RSI exits oversold.
Sell trades open when RSI exits overbought.

Relative Vigor Index Strategy

Trades open on RVI signal line cross.
Exits on opposite cross.

Swing Index Strategy

Used to confirm breakouts.
Trades follow increasing swing strength.

Accumulative Swing Index Strategy

Trades follow ASI trend direction.
Breaks in ASI trend close trades.


Oscillator Strategies

Accelerator Oscillator Strategy

Trades open when momentum acceleration turns positive or negative.
Used as early entry confirmation.

Awesome Oscillator Strategy

Trades open on zero-line crosses or saucer patterns.
Exits on momentum loss.

Center of Gravity Strategy

Trades open at cycle turning points.
Best for range-bound markets.

Chande Momentum Oscillator Strategy

Trades open when CMO crosses ±50.
Divergence triggers exits.

DeMarker Strategy

Trades open when DeMarker exits extreme zones.
Trend filter is recommended.

Detrended Price Oscillator Strategy

Trades target cyclical turning points.
Not used for trend following.

Gator Oscillator Strategy

Trades follow Alligator confirmation.
Gator expansion enables trades.

MACD Crossover Strategy

Trades open when MACD crosses signal line.
Zero-line position filters trades.

MACD Histogram Strategy

Trades open when histogram changes direction.
Divergence may signal exit.

Stochastic Oscillator Strategy

Trades open on %K/%D cross in extreme zones.
Exits on opposite cross.

TRIX Strategy

Trades open on zero-line cross.
Signal line confirms entries.

Ultimate Oscillator Strategy

Trades open on divergence confirmation.
Best combined with trend filters.

Williams %R Strategy

Trades open when indicator exits oversold or overbought.
Range-based strategy.


Volatility Strategies

Average True Range Strategy

ATR is used for dynamic stop loss and position sizing.
Not used for directional entries.

Chaikin Volatility Strategy

Rising volatility enables breakout trades.
Falling volatility disables trading.

Historical Volatility Strategy

Used to select strategy types.
High volatility favours breakouts.

Mass Index Strategy

Extreme readings warn of potential reversals.
Used as early warning filter.

Standard Deviation Strategy

Trades adjust risk based on volatility expansion.

True Range Strategy

Used to detect volatility spikes.
Often combined with breakouts.

Vertical Horizontal Filter Strategy

Enables trend strategies in trending markets.
Disables them in ranges.


Volume Strategies

Accumulation Distribution Strategy

Trades follow accumulation or distribution trends.
Divergence may signal exits.

Chaikin Money Flow Strategy

Trades open when money flow confirms price trend.

Chaikin Oscillator Strategy

Momentum of money flow confirms entries.

Ease of Movement Strategy

Trades follow easy price movement conditions.

Elder Force Index Strategy

Trades open on pullbacks in trend direction.

Elder Ray Index Strategy

Bull and Bear Power confirm trend entries.

Money Flow Index Strategy

Trades open when MFI exits extremes.

Negative Volume Index Strategy

Long-term accumulation strategy.

On Balance Volume Strategy

Trades follow OBV direction and divergence.

Positive Volume Index Strategy

Confirms participation strength.

Price Volume Trend Strategy

Trades follow volume-backed price moves.

Tick Volume Strategy

Breakouts confirmed by volume spikes.

Trade Volume Index Strategy

Short-term sentiment entries.

Volume Oscillator Strategy

Volume expansion confirms trends.

Volume ROC Strategy

Rapid volume change confirms entries.

Williams Accumulation Distribution Strategy

Long-term accumulation and distribution trading.


Channel Strategies

Bollinger Bands Strategy

Mean reversion or breakout strategy depending on volatility.

Donchian Channel Strategy

Trades open on channel breakouts.

Envelopes Strategy

Range-based reversion trades.

Keltner Channel Strategy

Trend continuation breakouts.

Polynomial Regression Channel Strategy

Trades follow curved trend channels.


Bill Williams Strategies

Bears Power Strategy

Confirms bearish pressure in trends.

Bulls Power Strategy

Confirms bullish pressure in trends.

Fractals Strategy

Breaks of fractal levels trigger entries.

Market Facilitation Index Strategy

Confirms price movement efficiency.


Cycle Strategies

Cyber Cycle Strategy

Trades cyclical turning points in ranges.


Statistical Strategies

Linear Regression Forecast Strategy

Trades follow projected trend direction.

Linear Regression Intercept Strategy

Analytical support, rarely standalone.

Linear Regression RSquared Strategy

Filters unreliable trends.

Linear Regression Slope Strategy

Trades follow slope direction.


Price Transform Strategies

High Minus Low Strategy

Volatility-based trade filtering.

Median Price Strategy

Used as smoother input for entries.

Typical Price Strategy

Reduces noise in price calculations.

Weighted Close Strategy

Emphasises closing sentiment.


Support and Resistance Strategies

Fractal Chaos Bands Strategy

Trades breakouts and support/resistance interactions.


Important Notes

  • These strategies are baseline concepts.
  • Risk management must always be added.
  • Backtesting and forward testing are required.
  • Combine indicators for robust systems.