The decision recipe for comparing an underlying symbol’s price to an indicator has four inputs:
- Time period
This decision recipe allows you to choose whether a symbol’s price is above or below a moving average indicator with a defined time period.
Enter a symbol and select “Next.” The second field prompts a dropdown menu to choose if the security’s price is above or below the third field, where you select a lookback period for the fourth field.
The fourth field prompts a dropdown menu to choose a moving average indicator to reference when comparing the underlying symbol’s price.
When you have finished creating the recipe, select “Save.”
NOTE: You can also create a custom input, which allows you to input the field later to make the decision recipe dynamic across all automations.
The decision will be added to the list of criteria. You have the option to add more decisions to the recipe or return to the automation editor. When finished, select “Save” again to return to the automation editor.
The automation editor will display your completed decision criteria for comparing an underlying symbol’s price to an indicator.
You can always select the decision inside the automation editor and make changes to the criteria.