When should I use AND, and how does it require all conditions to be true?

When should I use AND, and how does it require all conditions to be true?

When you use an AND condition in FYERS Automate, you are telling the system that all added conditions must be true before the automation can move forward. When you click “Click here to add nodes” inside an AND block, Automate shows you the list of condition types that you can combine together.

These options let you define what exactly needs to be checked before the AND condition is considered complete.

What options appear when adding nodes inside AND

When you add nodes inside an AND condition, you can choose from the following types:

  • Portfolio check – Used to evaluate P&L, number of positions, or holdings-level conditions.
  • Symbol details check – Used to compare symbol-level data like day high, day low, circuits, or volume.
  • Orderbook check – Used to count how many orders are executed, pending, cancelled, or rejected.
  • OR – Lets you group multiple conditions where any one of them can be true.
  • AND – Lets you nest another AND group inside the current one.
  • IF – Used when you want different actions based on whether a condition is true or false.
  • ANY – Used when you want the first true condition to proceed and cancel the others.

You can mix and match these condition types to build logic that closely matches how you think about market situations.

How AND evaluates the added conditions

Once you add multiple nodes inside an AND block, Automate keeps checking every condition together at the selected time interval. The AND block becomes true only when all conditions are true at the same time.

If even one condition is false, the automation waits and does not move forward.

How often conditions are checked

Every AND block has a check frequency setting. This controls how often Automate re-evaluates the conditions.

You can choose intervals such as: every 30 seconds, 1 minute, 5 minutes, 15 minutes, 30 minutes, or 1 hour. The automation checks all conditions again at each interval until the AND block becomes true.

Simple example

Suppose you want to proceed only when:
• NIFTY is above a certain price
• AND total P&L is positive

You add both conditions inside an AND block. The automation moves forward only when both price and P&L conditions are true. If either one is false, the automation keeps waiting.



Notes: AND is strict by design. It is best used when you need strong confirmation. If you want the automation to proceed when any one condition is enough, use OR instead of AND.

What if...

ScenarioWhat happens
One condition becomes true but others are falseThe AND block stays false and the automation waits.
All conditions become trueThe AND block is satisfied and the automation moves forward.
Conditions become true at different timesThe automation proceeds only when all are true at the same check.
I need flexible logic instead of strict rulesUse OR or ANY instead of AND.

Last updated: 22 Dec 2025