For Example:
I made a simple SMA cross strategy- When the Median price crosses above or below the SMA line, it will enter a Long or Short trade. Instead of waiting for the bar to close, I want to strategy to enter the trade immediately when the price crosses the SMA (Which is why I used "On Price Change" instead on "On Bar Close")
So the strategy does exactly what I want but once it hits my profit target.. it will continue to submit a series of orders and won't stop until a new bar is created. At first, I thought it was because the market pulled back, and crossed the SMA line again.. But that wasn't the case. It will keep submitting orders even if the SMA line is not crossed again.
How do I stop this from happening? Is there any way to limit how many orders are entered per bar using strategy builder? I need the strategy to enter trades only once per bar. I'm no developer... So unlocking the code isn't really an option for me.
I've attached a photo for reference.
Thanks in advance.
Comment