Learn with Sreenivas Doosa
  • Home
  • Trading
  • Investing
  • Back Testing
  • Finance
  • Downloads
No Result
View All Result
  • Home
  • Trading
  • Investing
  • Back Testing
  • Finance
  • Downloads
No Result
View All Result
Learn with Sreenivas Doosa
No Result
View All Result
Home Back Testing

Backtesting ORB intraday strategy – Part 1

Sreenivas Doosa by Sreenivas Doosa
October 31, 2024
Backtesting ORB intraday strategy – Part 1
Share on FacebookShare on Twitter

In this article, I am going to discuss about ORB intraday strategy and presenting the back tested results of the same over few years. Though this article focuses on Indian stock market, the strategy rules can also be applied to other markets across the world.

Opening Range Breakout (ORB) strategy is a well known intraday strategy. The first few minutes trading range after market open is called “opening range”. Typically first 15 minute candle is considered for opening range breakout strategy. Some traders may trade on first 30 min candle or first 1 hour candle depending on their own set of rules.

In this article, we are considering first 15 minute for ORB strategy. Please find the rules of the strategy below.

Strategy Rules:

Wait for first 15 minutes after market opens and mark the high and low of the first 15 minute candle.

Long Trade:
  • Take long trade when the price of the instrument breaks out the high of the candle
  • Stoploss: Low of the candle
  • Target: Consider 1:2 risk reward ratio i.e. target points would be double of SL points
  • Square off: If no SL or target hits then exit the trade 15 minutes before the market closes i.e. 3:15 PM.
Short Trade:
  • Take short trade when the price of the instrument breaks down the low of the candle
  • Stoploss: High of the candle
  • Target: Consider 1:2 risk reward ratio i.e. target points would be double of SL points
  • Square off: If no SL or target hits then exit the trade 15 minutes before the market closes i.e. 3:15 PM.

Stock Selection: All F&O stocks. We are going to run back test on all futures and options stocks. There are around 180 stocks in futures & options segment of NSE.

Capital: We are going to allocate 1 Lakh (1,00,000) capital for each stock and we risk only 1% of 1 Lakh on each trade i.e. the risk on each trade is 1,000.

Back test Period: 01-01-2022 To 24-10-2024 (Approx. 3 years)

Charges: All charges like brokerage, STT, exchange transactions are considered while running back test.

Slippages: This back test does not account any slippages that we encounter in live trading.

Please note we don`t take another trade in the same stock after first trade SL hits.

To keep the back test simple, buffer (delta) value is not considered in this back test. Buffer is some extra value that we consider just above or below the breakout line.

Back test results:

Out of 180 stocks there are only few stocks (30) ended in profit. Attaching some screenshots of stocks resulted into max  profit and max loss.

In summary this strategy is loss making if you look at the results. This plain ORB strategy gives profit in some stocks during certain period. Predicting such a period and trading in those stocks can turn into profitable system. But this is near to impossible. But with some tweaks like selecting few stocks on a particular day based on some criteria (with indicators or price action on higher timeframe) and applying this strategy only to those stocks on that day may improve the outcome.

I am providing you the complete back test report in the form of downloadable excel file at the bottom of the post.

The back test report contains following sheets:

  1. Trades: All trades with entry, exit, start and end timestamps, pnl, charges, net pnl etc.
  2. Symbol wise Pnl
  3. Date wise Pnl
  4. Date & Symbol wise Pnl
  5. Month wise Pnl
  6. Month & Symbol wise Pnl
  7. Year wise Pnl
  8. Year & Symbol wise Pnl
  9. Win Loss Ratio of each stock
  10. Summary report with important data.

I hope this would be helpful for you guys to do some further analysis.

Download Back test Report:

BackTest_ORB_V1_2022-01-01_to_2024-10-24-All-Fno-Stocks.xls

 

Next Post

Backtesting Pivot Points Intraday strategy

Sreenivas Doosa

Sreenivas Doosa

I am a software developer having 17+ years of experience, worked on various technologies and projects throughout my career. I also built my own fully automatic algo trading system as I am passionate about trading and investing in stock market.

Next Post
Backtesting Pivot Points Intraday strategy

Backtesting Pivot Points Intraday strategy

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended.

Backtesting Vwap intraday strategy – Part 2

Backtesting Vwap intraday strategy – Part 2

November 1, 2024
Backtesting ORB intraday strategy – Part 1

Backtesting ORB intraday strategy – Part 1

October 31, 2024

Trending.

Back testing Swing Trading/Investing strategy 22% CAGR (Stoploss and Target based)

Back testing Swing Trading/Investing strategy 22% CAGR (Stoploss and Target based)

November 19, 2024
Backtesting Vwap intraday strategy – Part 1

Backtesting Vwap intraday strategy – Part 1

November 1, 2024
Backtesting Vwap intraday strategy – Part 3

Backtesting Vwap intraday strategy – Part 3

November 1, 2024
Consistent CAGR of 18-20% across 5,10,15,20 year periods | Investing swing trading strategy

Consistent CAGR of 18-20% across 5,10,15,20 year periods | Investing swing trading strategy

November 20, 2024
Backtesting Open=High/Low Intraday strategy

Backtesting Open=High/Low Intraday strategy

November 1, 2024
Learn with Sreenivas Doosa

This website shares useful content on different topics related to financial markets and coding which could help many people from various backgrounds.

Follow Me

Categories

  • Back Testing
  • Finance
  • Indicators
  • Intraday
  • Investing
  • Price Action
  • Strategies
  • Swing Trading
  • Trading
  • About
  • Contact
  • Privacy Policy
  • Terms and Conditions

© Sreenivas Doosa

No Result
View All Result
  • Home
  • Trading
  • Investing
  • Back Testing
  • Finance
  • Coding

© Sreenivas Doosa

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.