Skip to content

Strategy Overview

A CTAgent strategy is a complete, runnable trading plan. Every strategy is assembled from three named modules, each answering one question:

Signal Generator

When to buy or sell. Built from 23+ indicators and condition types. → Learn more

Position Manager

How to enter and exit — sizing, entry type, take-profit, stop-loss, trailing stop. → Learn more

Risk Manager

When to stop the whole strategy — realized-loss limits and trade throttling. → Learn more

Why three modules?

Splitting a strategy this way keeps each piece simple, reusable, and testable:

  • A Signal Generator you like (say, an RSI oversold trigger) can be paired with different Position Managers to test tight vs wide stops.
  • A conservative Risk Manager can be reused across every strategy you run.
  • You can change one module without rebuilding the others.

How buys and sells work

  • A buy signal opens a new position or adds to an existing one. Each buy is a separate lot with its own take-profit / stop-loss bracket.
  • A sell signal goes flat — it closes the position.
  • The Position Manager can also exit lots on its own (take-profit, stop-loss, trailing stop, or max hold duration) without waiting for a sell signal.

Building one

You don’t assemble modules by hand — just describe the strategy and the agent does it:

Buy SOL when price closes above the upper Bollinger Band with a volume spike. Size each entry at 10% of equity, take profit at 6%, trail a 3% stop. Stop the strategy if it loses 15%.

The agent maps that sentence onto the three modules, shows you the result, and saves each module so you can reuse it. View them any time with /modules.

Next