How to setup Algo-Trading for Open Range Breakout (ORB) Trading Strategy?
Condition: Open Range breakout. This is exactly opposite to OHOL strategy. If open price of the stock is equal to today’s low and in case if price breaks and goes below today’s low, we can short the stock. Likewise If open price of the stock is equal to today’s high and in case if price breaks out and goes above today’s high, we can go long.
Script Setup:
I’ll go long if
• Stock is an OH candidate and if
• price breaks out to upside from the OH level and
• Current time is between 9.45 & 3.15
I’ll short if
• Stock is an OL candidate and if
• price breaks out to downside from the OL level and
• Current time is between 9.45 & 3.15
This was one of the strategies commonly used for the reversal trades, especially if you are actively trading on OHOL strategy.
In the previous episodes, we have discussed on how to install amibroker, where to get 1 minute data, how to import the data into amibroker and how to set-up the database and charts. We also discussed on some of the commonly used sripts. So please do refer the previous episodes in case you are not able to replicate this.