I want to use "once per bar" feature in Strategy inputs as in Indicator. What should I do?

78 Views Asked by At

I want to use "once per bar" feature in Strategy inputs as in Indicator. What should I do?

I want the strategy to be traded immediately as in the indicator without waiting for the candle to close when the conditions are met . Thanks..

I don't want it to wait for the candle to close. It should be processed immediately.

1

There are 1 best solutions below

1
Gu5tavo71 On

Use process_orders_on_close

//@version=5
strategy("My strategy", process_orders_on_close = true)