How to build a trading bot without coding
A trading bot is just a strategy written as rules a machine can follow without getting tired. You no longer need to code to build one. What matters is a clear strategy, an honest test on data and risk limits set before any real money is involved.
Last updated: 11/06/2026 · 7 min readWhat you need before you start
You don’t need Python or Pine Script. You need four things:
- A concrete idea. “Buy Bitcoin when it’s cheap” won’t work; “buy when the 4-hour RSI drops below 30” will.
- A market and a time frame. Which asset, which candle size (5 minutes, 4 hours, daily) and how often the bot checks.
- A way to test without real money: a backtest on historical data and a paper trading account with live prices.
- Time to review it. A bot automates execution, not responsibility. Check it daily for the first few weeks.
Step 1. Write the strategy in one sentence
Before opening any tool, write the strategy the way you would explain it to a friend. It has to answer three questions: when it enters, when it exits and how much it risks.
Example: “Buy BTC/EUR when the 4-hour RSI drops below 30 and price closes below the lower Bollinger Band. Sell at +5% or with a stop at 1.5× ATR. Use at most 5% of the portfolio per trade.”
If you can’t write it like this, the bot can’t follow it either. Many “intuitive” strategies fall apart at this step, and it’s better to find out now than with money on the line.
Step 2. Turn it into rules a machine can follow
Every trading bot, coded or not, is made of the same building blocks:
| Block | What it does | Example |
|---|---|---|
| Trigger | Decides when the bot runs | When each 4-hour candle closes |
| Data | Fetches prices, volume, news… | Last 200 BTC/EUR candles |
| Indicators | Compute signals | RSI(14), Bollinger Bands(20, 2), ATR(14) |
| Condition | Decides whether to trade | RSI < 30 and close < lower band |
| Action | Sends the order | Market buy with 5% of the portfolio |
| Risk | Caps losses | 1.5×ATR stop, +5% take profit, max daily loss |
No-code tools let you assemble these blocks by dragging them or picking from a menu. In Bot Shaper you describe the strategy in plain English: Shaper, the AI agent, turns it into a flow of nodes you can see and edit one by one, so it’s never a black box.
Step 3. Run an honest backtest
A backtest runs your rules on past data to see what would have happened. It’s essential, and it’s also easy to fool yourself with it. To keep it honest:
- Use a long period that includes rallies, crashes and sideways markets (in crypto, at least one full cycle).
- Include fees and slippage. A strategy that trades a lot can go from profit to loss on fees alone.
- Be suspicious of perfect results. If you tweaked ten parameters until the equity curve looked nice, you probably overfitted.
- Look at the maximum drawdown, not just the return: that’s what you’ll have to sit through.
We cover this in detail in how to backtest a trading strategy.
Step 4. Paper trade it
A backtest tells you how the bot would have done; paper trading tells you how it does now, with live prices and no risk. Let it run for a few weeks and compare: if it behaves very differently from the backtest, something is off (data, timing, conditions that never showed up in the history).
Every Bot Shaper account includes a practice account with €100,000 in virtual funds and live prices, and every new bot starts switched off and in practice mode.
Step 5. Set risk limits first
Limits go in before you need them, not after a bad day:
- Maximum size per trade (for example, 5% of the portfolio).
- Maximum daily and total loss: when hit, the bot stops itself.
- A kill switch that stops every bot in one click.
- If you connect an exchange, always use an API key without withdrawal permission: the bot can trade but can never move funds out.
In Bot Shaper every order goes through a risk engine before it executes, and raising a limit takes 24 hours to apply (lowering it is instant), so nobody raises it in the heat of the moment.
No-code tools for building a trading bot
There are three families, each suited to a different kind of trader:
- Template-based bot platforms: you pick a bot type (DCA, grid, signals) and tune its settings. Fast for standard strategies, limited for your own ideas.
- Visual builders: you assemble the logic with “if… then…” blocks. More flexible, but you have to think in rules from the start.
- AI agents: you describe the strategy in natural language and the agent builds the bot, which you then review and adjust. That’s Bot Shaper’s approach, with backtesting and paper trading built in.
Whatever the tool, make sure you can see and understand every rule, test without real money and set risk limits.
Common mistakes
- Going live after a single good backtest.
- Ignoring fees, slippage and taxes.
- Changing the rules every time the bot loses a trade.
- Trading too big or without a stop.
- Giving an API key withdrawal permission “just in case”.
- Forgetting that every sale or swap can be taxable: see crypto trading bot taxes in Spain if you live there.
FAQ
Can I build a trading bot for free?
Yes. Many platforms have a free plan or trial. Bot Shaper gives you 1,000 free credits, no card required, to build bots, backtest them and run them in the practice account.
Do I need to know how to code to run a trading bot?
No. With no-code tools or an AI agent, being able to explain your strategy clearly is enough. What you do need is to understand the rules your bot follows and their risks.
Does a trading bot make money on its own?
No. A bot executes a strategy without emotions or breaks, but if the strategy doesn’t work, it executes it just as faithfully. No bot guarantees profits and you can lose money.
Are trading bots legal?
In the EU, the UK and the US, using a bot to trade your own account is generally legal. What is regulated is providing investment services to others. Your exchange’s terms may also set rules for API trading.
Templates to start with
Keep reading
- How to backtest a trading strategy without fooling yourselfWhat backtesting is, how to test a trading strategy on historical data and the mistakes that inflate results: overfitting, look-ahead bias, fees and slippage.
- AI trading agents vs trading bots: what’s the difference?What an AI trading agent is, how it differs from a classic trading bot, what it can really do and what it can’t. With examples and the risks to watch for.