No-code strategy builder vs writing code: what each suits
By Oalgo · Last reviewed
A no-code builder and writing code are two approaches to building a strategy. A no-code strategy builder lets you write your rules as blocks or in your own words, without programming. Writing code lets you express anything the language and its platform allow, but you write, run and fix the code yourself. Coding gives more room; a builder is quicker to start and easier to read back.
How do a no-code builder and code differ?
#| No-code builder | Writing code | |
|---|---|---|
| What you write | Rules as blocks, or in your own words | Program text in a language |
| What you can express | What the builder's blocks and conditions offer | Anything the language and its platform allow |
| Time to a first test | Short, when the builder has the blocks your rule needs | Longer: you set up, write and fix the code first |
| Reading a rule back | You see each block and its settings | You read the code |
| A mistake | A wrong block or setting is visible on the canvas | A bug can sit in the code while the test still runs |
| Who it suits | People who know their rule but do not program | People who program, or need a rule no builder offers |
When do people use each?
#- No-code builder: to test an idea quickly, to read the rule back in plain terms, or when you do not program.
- Code: for logic no block offers, for a data source the builder does not have, or to control every detail of a test.
- Both: some builders let you add your own indicator. In Oalgo you can ask Oalgo AI for an indicator that does not exist yet; it builds it, draws it on the chart, and saves it only after you approve it.
What does a builder not let you do?
#A builder offers the blocks it has, and a rule with no block for it cannot be built there. Oalgo is no exception. For example, a Live Strategy needs a stop on each side it can enter. See stop loss for the kinds of stop. Oalgo AI does not help with coding.
How do you test the choice in Oalgo?
#In Oalgo you can tell Oalgo AI your rule in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.
- Take one rule you could write both ways, for example "enter when the 14-period RSI falls below 30, exit above 50".
- Build it in Oalgo and run a backtest on dates you choose.
- If you also write it in code, run the same dates and compare the trade lists. They should match. A difference points to a mistake in one of them.
What can neither tell you?
#Writing a rule in blocks does not make it sound, and writing it in code does not either. Both can be fitted to the past by trying many settings. Only a test on prices the rule has not seen, such as a forward test, shows more.
Read next
- Manual trading vs rule-based trading: what changesIn manual trading you decide each trade as you go; in rule-based trading you write the rules first. See what changes and how to test your rules first.
- AI strategy builder checklist: what to check firstSix questions for any AI strategy builder: can you see the rules, is it tested on more than one range, are fees counted, and who sends your instructions.