patricktu1258
New member
So I am toying with daytrading strategy and have these 2 questions and I think lots of people also encounter these but probably solved.
Let's say, I want to build a scanner that screens stocks which 21EMA(1 min bar) has ever crossed over intraday VWAP.
All the stocks which 21EMA has crossed over intraday VWAP even for just 1 tick, will be included in the scanner.
Is this doable? How to do it?
Another question is how to count the bar since today's session? What I mean is, I want to create a variable that represents 1 at 9:31, 60 at 10:30, 90 at 11:00, 200 at 12:50 and so on.
Much appreciated.
Let's say, I want to build a scanner that screens stocks which 21EMA(1 min bar) has ever crossed over intraday VWAP.
All the stocks which 21EMA has crossed over intraday VWAP even for just 1 tick, will be included in the scanner.
Is this doable? How to do it?
Another question is how to count the bar since today's session? What I mean is, I want to create a variable that represents 1 at 9:31, 60 at 10:30, 90 at 11:00, 200 at 12:50 and so on.
Much appreciated.