Articles on: Create Strategy

How to Use the ORB Keyword in the Strategy Builder

What Is ORB and Why Does It Matter?

If you've ever wanted to build a breakout strategy based on early market activity, the ORB keyword is exactly what you need. ORB stands for Opening Range Breakout — a classic trading concept that professional traders have used for decades.

In the strategy builder, the ORB keyword lets you fetch the Open, High, Low, Close, or Volume of any stock, but only for a specific time window you define. For example, you can tell the system: "Give me the High of Apple between 9:30 AM and 10:00 AM Eastern." That value then becomes your breakout level for the rest of the trading session.




The Golden Rule of ORB: Always Use a Time Gate

Here is the most important thing to understand before you set anything up.

The ORB keyword should only run after the time window has fully passed. If your opening range is 9:30 AM to 10:00 AM, your strategy should not start checking for breakouts at 9:45 AM — the range isn't formed yet. Running ORB too early gives you incomplete data and false signals.

This is why you always pair the ORB keyword with a time condition using the AND operator.


Setting It Up: Two Rows, Two Conditions

The setup in the builder is clean and simple. You only need two rows, both connected with AND.

Row 1 — The Time Gate

Set the condition as: Time is greater than 10:00 AM

This is your gatekeeper. It makes sure the strategy doesn't activate until the opening range window has fully closed. Nothing runs until this condition is true.

Row 2 — The Breakout Condition

This is where the actual signal lives. Set it up like this:

  • Left side: LTP (Last Traded Price of your stock)
  • Operator: Greater Than
  • Right side: ORB → select your instrument → choose High → set the window from 9:30 AM to 10:00 AM Eastern

This tells the strategy: "Trigger when the current price breaks above the highest price recorded during the first 30 minutes of the session."


What the Full Condition Reads

Once both rows are in place, your complete logic looks like this:

Time is greater than 9:30 AM AND Last Traded Price is greater than the Opening Range High

That's it. Two conditions. One time gate. One price breakout. Together they ensure you're trading a confirmed breakout, not a premature one.



📺 Video Walkthrough






Quick Recap

What It Does

ORB

Fetches OHLCV data for a specific time window

Time condition (Row 1)

Acts as a gate so the range is fully formed

LTP > ORB High (Row 2)

Triggers when price breaks above the range

AND operator

Ensures both conditions must be true together



Updated on: 18/05/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!