I'm looking to create a scanner to search for stocks where the first 15 min candle range is at least 1.25 ATR or greater, so 0930 to 0945. I want to use this in combination with ORB study on my charts in an attempt to find reversal trades from high initial liquidity. I was able to come up with the below script. Is it correct in what I am trying to do?
Code:
def condition = ATR() is greater than or equal tO 1.25;
def Active = secondsTillTime(0930) > 0 and secondsFromTime(0945) > 0;
plot scan = condition and Active;
Last edited: