The high n low point of first 15 min candle of the day that is between 9.15 am to 9.30am. Signal when candle crosses either that high or low.
HIGH > REF(HIGH,1) OR LOW < REF(LOW,1)
Use the above script to generate results only on the close of the second 5min candle at 9:45
For generating alerts after 10AM use this script:
HIGH = HHV(3) OR LOW = LLV(3)
For every 15 mins passed thereafter increase the script value for 3 to 4 , 4 to 5 and so on
OR You can manually check the 1 Hour open range breakout for 172 FnO scrips on the free "FataFat Stock Screener."
i want to know the code for this strategy !
- to mark the high and low of the first candle of the day ! (15 mins candle )
- buy or alert when it crosses the high of the first candle
- sell or alert when it crosses the low of the first candle
Put a stop loss for buying and selling for the same !
can u please update both the codes individually so i can back test it too !
How can I use this in Zerodha. I am new user and interested in making my own algo.
I find your 9.30 1st candel coding