thank you StratOpt , but what if this time I want to buy when the stock price today is greater than the highest price of yesterday daily bar and I want to buy using 5 mins bar for daytrade.
This involves 2 time frames , which are daily bar and 5 mins bar. Is it possible to code like this...