Conditions
Use Conditions to define the rules that determine whether an automation should proceed, wait or follow a different execution path.
While Triggers determine when an automation starts or continues, Conditions determine whether the workflow should proceed. Each Condition evaluates configured rules against live market, portfolio, order or workflow data.
The automation continues only when the configured criteria are satisfied. This helps filter market signals and apply the rules defined in your trading strategy before an Action is performed.
Use Conditions to:
-
Verify market conditions before executing an order.
-
Combine price, indicator, portfolio and order-based rules.
-
Prevent Actions from running unless the required criteria are met.
-
Filter signals using the rules defined in your strategy.
-
Confirm available funds, open positions or order status before continuing.
Conditions help you create different execution paths within the same workflow. You can:
-
Add multiple Conditions to a workflow.
-
Build separate paths for different market scenarios.
-
Combine Conditions with Triggers and Actions.
-
Apply different Actions based on the result of a Condition.
-
Create workflows that respond to changing market data.
-
Continue with the first valid signal when multiple conditions are monitored together.
Depending on the configured workflow, Conditions can evaluate:
-
Symbol prices and market data.
-
Technical indicator values.
-
Portfolio performance and open positions.
-
Order status and order-related information.
-
Values produced by earlier workflow nodes.
Supported Conditions can be re-evaluated at configured intervals while the automation is running.
| Condition | Purpose |
|---|---|
| AND | Continues the workflow only when all configured conditions are true. |
| OR | Continues the workflow when any one of the configured conditions is true. |
| IF | Routes the workflow through separate True and False branches. |
| ANY | Monitors multiple conditions and follows the branch of the first condition that becomes true. |
Use AND when a setup requires multiple confirmations before the workflow can continue.
For example, a strategy may require:
-
Price to move above a defined level.
-
An indicator to confirm the market condition.
-
Sufficient available funds.
-
No conflicting open position.
The workflow proceeds only when all configured conditions are true.
Use OR when different signals can lead to the same Action.
For example, the workflow may continue when either:
-
Price breaks above the day’s high, or
-
A configured indicator generates a bullish signal.
OR is useful when the strategy accepts more than one valid setup.
Use IF when the workflow should follow different paths depending on whether a condition is true or false.
For example:
-
If the position is in profit, the workflow may exit or adjust risk.
-
If the position is not in profit, the workflow may continue monitoring the trade.
The True and False branches can be connected to different Conditions, Actions or workflow steps.
Use ANY when several conditions are monitored at the same time and the workflow should follow the first condition that becomes true.
For example, a strategy may monitor:
-
A profit target.
-
A stop-loss level.
-
A time limit.
When one condition is met, the workflow follows its connected branch for that execution.
OR checks whether at least one condition is true and allows the workflow to continue when the configured rule is satisfied.
ANY monitors multiple conditions and follows the branch of the first condition that becomes true.
Conditions work together with other Automate nodes to create a complete workflow.
For example:
-
A Price Breakout Trigger detects a price move.
-
An AND Condition checks the indicator value and available funds.
-
An Action places an order when all requirements are met.
-
An Order Status Trigger continues the workflow after the order status changes.
-
An IF Condition routes the workflow based on the position outcome.
This structure separates the event that starts the workflow, the rules that validate it and the Action that follows.
Learn more about Conditions in FYERS Automate or read the Automate workflow blog to understand how Conditions work with Triggers and Actions.
A Condition evaluates configured rules and determines whether an automation should continue, wait or follow a different execution path.
A Trigger identifies when an event occurs or when a workflow should continue. A Condition checks whether the required rules are satisfied.
AND continues the workflow only when all configured conditions are true.
OR continues the workflow when any one of the configured conditions is true.
IF routes the workflow through separate True and False branches, allowing different Actions for different outcomes.
ANY monitors multiple conditions and follows the branch of the first condition that becomes true.