how to enter a strategy at the bar open price?
when i use "process_orders_on_close=true", the strategy entry happens on the close of current bar, When I use "process_orders_on_close=false" then getting one bar delay to enter the strategy.
I have tried everything following changes but nothing worked
1.using ">=" or "<=" when the price goes above or below certain level instead of crossovers or crossunder
2."process_orders_on_close=true" removes the delay but the short entry/ long entry happens at the close of the bar but i need it at the open of the bar.
My problem is same as below mentioned link but none of the suggestions are working which are mentioned in the link. https://www.tradingview.com/script/Bi3j0E8Q-Help-needed-with-strategy-Entry-is-off-by-2-candles/