TradingView pinescript v5 - strategy orders via Once Per Bar trigger

Viewed 22

I have created a feature request on reddit for this:(https://www.reddit.com/r/TradingView/comments/xh0ixf/strategy_orders_via_once_per_bar_trigger/)

But thought maybe someone knows if there is a workaround for this? The strategy engine works only per candle bar close, but it would be really awesome if it would be possible to open/close strategy orders while candle bar is still open and price is touching a certain point/line/etc. Basically the same way you can set an alert with Once Per Bar option, so that you are notified exactly when price is touching/crossing a certain point/line during candle bar still running, before it actually closes.

0 Answers
Related