I need help to fix my pinescript for asian strategy
I think Trade Entries logic is not wrong so Strategy Tester is not response because caution This strategy did not generate any orders throughout the testing range.
Trying to run some logic only at the Open of the 1st candle of the Regular Trading Day
I’m tyring to run some logic only at the open of the market. I tried to use the built in functions of barstate.isfirst and barstate.isnew but I’m finding that it keeps running until the first bar is closed, which for me is a 30-minute time frame. I’m also finding some instability with these built in functions with repainting etc so wanted to know if there is another way to do this. Some stocks have lower volume and don’t start trading properly for a minute or so, and I have other logic in my algo that applies to all other times but not at the open, upon the very first print of the regular trading day.