Custom formulas can affect live order prices and order behavior. Build and test the logic incrementally.
Recommended workflow
- Start with the simplest native strategy that meets the objective.
- Use an existing system formula when possible.
- Create one custom component at a time.
- Save and test each stage.
- Confirm calculated prices use valid contract ticks.
- Test under realistic demo-market conditions.
- Inspect the actual working orders created by the strategy.
- Move to live only after behavior has been verified.
Test failure paths
Check what happens when the trigger never occurs, an order is cancelled, or only part of the intended position is filled.