Create a custom formula

Build a custom calculation through the Formula Editor interface.

Choose + Create Formula to begin.

Formula components

  • Function Name: the saved formula name
  • Parameters: inputs such as Symbol, Boolean, String, Number, Indicator:Number, or Indicator:String
  • Functionality: one or more built-in formulas added as building blocks

Recommended workflow

  1. Name the formula for its purpose.
  2. Add only the parameters you need.
  3. Use + Functionality to select a built-in function.
  4. Save and test the smallest working version.
  5. Add complexity incrementally.

See also: Formula Editor & XapiScript complete reference.

Was this article helpful?

Get Started Now!

Try out our technology for free or open an account and start trading.

There is a substantial risk of loss in trading futures and options.