How to Build Reusable Strategy Templates for Crypto Automation
Every trader who has run more than one bot knows the moment. You have a strategy that works on BTC. You want the same idea on ETH with a slightly longer exit. So you rebuild the whole thing from scratch, field by field, hoping you copied the stop-loss correctly. Then you improve the exit on one of them and forget the other. Six weeks later you have five bots that were “basically the same” and are now five different strategies nobody can explain.
Developers solved this problem decades ago. It’s called not copying and pasting. TradeFIQ’s strategy builder applies the same idea to trading, without asking you to write any code.
A strategy is four decisions, not one
Instead of one big form, a TradeFIQ strategy template is made of pieces, and each piece is saved on its own:
- Entry: the conditions that must all be true to open a trade. For example, RSI (14) crosses above 30 and Price is above EMA (200).
- Exit: what closes it. A signal like RSI (14) is above 70, a timeout after a number of candles, or both.
- Execution: how orders are placed. Market or limit, a price offset, retries.
- Indicators & signal (optional): extra indicators that each carry a weight and add up to a confidence score. The trade only opens if the score clears your threshold.
Stop-loss, take-profit and position sizing live in a separate risk profile, which you pair with a template when you create an automation. That separation matters more than it looks, and we’ll get to why.
Build the pieces you’ll reuse most first
The trick with reusable pieces is noticing which decisions you keep making the same way.
Exits are the best place to start. Most traders have two or three exit styles they trust: take the quick profit, ride the trend until it breaks, or bail after a set time. Build each once and name it plainly, like “Trend break exit (EMA 20)” or “72-candle timeout”. Future you, staring at a list of configs at 11pm, will be grateful.
Trend filters come next. A condition like Price is above EMA (200) or Supertrend: Uptrend ends up in half of all long strategies. Keep one entry that holds just your favourite trend filter and a trigger, and swap the trigger per strategy.
Execution is usually one or two configs for everything. Market orders for liquid pairs, a limit with a small offset for thinner ones.
Then compose
With a small library, a new strategy is a few clicks: pick an entry, pick an exit, maybe add scoring. Want the ETH version with a longer exit? Same entry, different exit piece. Nothing is copied, so nothing drifts.
And when you improve a shared piece, every template that uses it gets the improvement. That’s the point. It’s also the risk, so check which templates use a piece before you change it, the same way you’d check who calls a function before refactoring it.
Keep risk out of the strategy
It’s tempting to think of the stop-loss as part of the strategy. Keeping it separate buys you something useful: the same idea at two risk levels is two automations, not two strategies.
Say you have a mean-reversion template. Pair it with a cautious risk profile (tight stop, small positions) on your main pair, and with an aggressive one on a smaller altcoin budget. One template, one set of rules to maintain, two very different risk appetites. Each automation also gets its own capital budget, so the aggressive one can never spend the cautious one’s money.
Use scoring for “nice to have” conditions
Entry conditions are strict: all of them must hold. That’s right for the core of a setup and too blunt for everything else. The optional indicators layer lets you say “I’d like at least two of these three things to agree”, with weights.
For example: a trend filter weighted 2, On-Balance Volume: Rising weighted 1, and RSI Divergence: Bullish weighted 1, with a threshold of 0.75. The trend must agree, plus at least one of the others. That’s much closer to how traders actually think than a wall of mandatory conditions.
Test the template, not a copy of it
Backtests in TradeFIQ run on the same template your automation will use. There’s no “backtest version” to keep in sync. Test it, look at the trades it took and why each one closed, then run it on paper with live prices before giving it real money. If you change a piece, test again: reusable pieces are powerful exactly because a change reaches everywhere.
A starter library
If you want somewhere to begin, these five pieces cover a surprising number of strategies:
- Entry: RSI (14) crosses above 30 + Price is above EMA (200) (buy dips in an uptrend)
- Entry: EMA (9) crosses above EMA (21) + ADX (14) is above 20 (trend start)
- Exit: RSI (14) is above 70 with a 48-candle timeout
- Exit: Price crosses below EMA (20) (trend break)
- Scoring: trend filter (weight 2), OBV rising (1), MACD bullish (1), threshold 0.75
Mix entries 1 and 2 with exits 3 and 4 and you have four distinct strategies from five saved pieces. Add a cautious and an aggressive risk profile and that’s eight automations’ worth of variety, with nothing copied anywhere.
Open the strategy builderReady to put this into practice?
Start free with paper trading. No credit card required.
Get Started Free