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 builderWriting code
What you writeRules as blocks, or in your own wordsProgram text in a language
What you can expressWhat the builder's blocks and conditions offerAnything the language and its platform allow
Time to a first testShort, when the builder has the blocks your rule needsLonger: you set up, write and fix the code first
Reading a rule backYou see each block and its settingsYou read the code
A mistakeA wrong block or setting is visible on the canvasA bug can sit in the code while the test still runs
Who it suitsPeople who know their rule but do not programPeople 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