Automated trading strategies

Automated trading strategies you can make your own.

Browse automated trading strategy templates for stocks, crypto, options, futures, and forex. Inspect an illustrative no-code or Python example, copy it into a private workspace, and replace every market, rule, parameter, and risk input with your own decisions.

  • Five market families
  • No-code and Python
  • Private copy for review
STRATEGY TEMPLATE LIBRARYILLUSTRATIVE
CRYPTONO-CODEPYTHON
SPOT CRYPTO · SCHEDULED DCA cadence template
PAIRYour selected spot pair
CADENCEYour recurring schedule
AMOUNTYour allocation rule
STOCKS · PYTHON Indicator crossover example
UNIVERSEYour selected basket
Choose a starting point
Find your starting point

Filter by market and strategy type.

Asset
Strategy type
Sort by

Illustrative software templates—not recommendations. Use the sort controls to explore the reported backtest metrics, then review and customize every rule, security, sizing choice, and risk setting before testing or use.

Loading strategy templates…

From example to your strategy

A useful starting point—not a finished decision.

Templates shorten setup time while keeping the consequential choices visible and editable.

01

Choose a relevant shape

Filter by the market you trade and whether you prefer visual configuration or Python.

02

Inspect every assumption

Review the universe, conditions, sizing, exits, timing, and backtest limitations before copying.

03

Customize privately

Create your own draft, replace the example inputs, and test the rules you choose to adopt.

Inspect five complete rule examples

These public examples show different authoring tasks. The settings and reported test periods below are an October 14, 2026 snapshot, not recommended parameters or live results. Customize a private draft and review every rule before testing.

SMA CrossOver

AAPL/META five-minute SMA rising edge with sizing, staged exits and a trailing-stop transition.

Inspect SMA CrossOver, use Customize to save a private draft, and review every setting before running it.

Reported historical period Matched closed-trade records Last completed run
2026-09-03 to 2026-10-09 15 2026-10-10

Historical simulation, not live performance. Partial closes may create multiple matched records. The run uses available history; its dates can change as data refreshes. Inspect costs, fills, missing data and warnings in the full report. These settings demonstrate software behavior, not a recommended strategy.

Crypto Daily DCA And Monthly Rebalance

BTC daily fixed-notional entry, guarded crypto cash sweep and monthly BTC/ETH target-basket rebalance.

Inspect Crypto Daily DCA And Monthly Rebalance, use Customize to save a private draft, and review every setting before running it.

Reported historical period Matched closed-trade records Last completed run
2020-12-31 to 2026-10-08 96 2026-10-10

Historical simulation, not live performance. Partial closes may create multiple matched records. The run uses available history; its dates can change as data refreshes. Inspect costs, fills, missing data and warnings in the full report. These settings demonstrate software behavior, not a recommended strategy.

Options Bull Call Debit Spread

AAPL underlying EMA/ADX signal, 45-DTE bull-call debit spread, group exits and lifecycle conversion.

Inspect Options Bull Call Debit Spread, use Customize to save a private draft, and review every setting before running it.

Reported historical period Matched closed-trade records Last completed run
2026-09-03 to 2026-10-09 4 2026-10-10

Historical simulation, not live performance. Partial closes may create multiple matched records. The run uses available history; its dates can change as data refreshes. Inspect costs, fills, missing data and warnings in the full report. These settings demonstrate software behavior, not a recommended strategy.

Futures 15m MNQ Mean Reversion

MNQ 15-minute RSI long/short entries with tick-based exits, one-contract limits and expiry handling.

Inspect Futures 15m MNQ Mean Reversion, use Customize to save a private draft, and review every setting before running it.

Reported historical period Matched closed-trade records Last completed run
2026-09-10 to 2026-10-02 122 2026-10-10

Historical simulation, not live performance. Partial closes may create multiple matched records. The run uses available history; its dates can change as data refreshes. Inspect costs, fills, missing data and warnings in the full report. These settings demonstrate software behavior, not a recommended strategy.

Forex London Open USDJPY Monthly Momentum

Scheduled USD-JPY entry with pip-native protection, target and margin constraints.

Inspect Forex London Open USDJPY Monthly Momentum, use Customize to save a private draft, and review every setting before running it.

Reported historical period Matched closed-trade records Last completed run
2019-10-06 to 2026-10-08 72 2026-10-10

Historical simulation, not live performance. Partial closes may create multiple matched records. The run uses available history; its dates can change as data refreshes. Inspect costs, fills, missing data and warnings in the full report. These settings demonstrate software behavior, not a recommended strategy.

Public template index

Direct links to the 76 public templates in this snapshot are available without using the interactive filters or pagination buttons. The live library above can change as new completed public examples become available.

Build your first bot, run a Python example, or compare saved-strategy, testing and deployment limits. Browsing a template is separate from authorizing a broker account.

Next: inspect modeled options-test assumptions.

Your strategy starts with your choices

Turn a template into rules you understand.

Copy an example into a private workspace, revise every input, and use Investfly's testing and simulation tools to inspect what you built.

Backtests are hypothetical and virtual portfolios are simulations. Trading involves substantial risk of loss.