How to create a trading indicator with AI

By Oalgo · Last reviewed

To create an indicator with AI, write what it should measure, check the line it draws, and save it only if it is right. In Oalgo, Oalgo AI builds it, draws it on the chart and saves it only after you approve it.

Diagram: four steps in a line. Ask Oalgo AI for the indicator in your own words, check the line it draws, press Approve and Save, then use the indicator in your rules.Ask in your own wordsCheck the drawn lineApprove & SaveUse it in your rules
Nothing is saved until you approve it.

How do you create an indicator with AI?

#
  • Ask. Say what it should measure, with the lengths and the price it should use. For example “a TRIX with period 15” or “RSI minus its own 9 EMA”.
  • Check the line. Oalgo AI draws it on the chart before anything is saved.
  • Refine it. If the line is not what you meant, keep typing what to change and check the new line.
  • Approve and save. The button is Approve & Save. Until you press it, nothing is saved.
  • Use it. A saved indicator appears under My Indicators in the builder, next to the built-in ones.

How do you check the line?

#

Do not trust a line because it looks smooth. Pick one candle and work the value out yourself in a spreadsheet. The example below is made up for this page: “RSI minus its own 9 EMA”, on candle 60 of the example prices.

StepValue on candle 60How
RSI 1472.8The usual 14-candle RSI of the closes
9-candle EMA of that RSIAbout 61.0An exponential average of the RSI values
The new lineAbout 11.8RSI minus its EMA: 72.8 minus 61.0

If the chart shows about 11.8 on that candle, the line matches the idea. If it shows something very different, say so and ask for a change.

What can go wrong with an AI-made indicator?

#
  • It may measure something close to what you meant but not the same: a different length, or the high where you meant the close.
  • The first candles are blank, because many indicators need a few candles before they have a value. That is normal.
  • Any indicator, built by AI or by hand, can use a future candle by mistake. A line that turns exactly at every turning point is a warning of lookahead bias.

What can a new indicator not tell you?

#

An indicator is a calculation on past candles. It shows what you asked it to measure and nothing about what comes next. Each new line is also one more thing to tune, which makes overfitting easier. Test any rule that uses it with a backtest. Your plan sets how many custom indicators you can keep, and Pricing lists them.

Read next