What code do you use to prevent a Sell signal and a Buy signal from occuring on the same bar.
If I get a buy signal, I do not want the sell signal to occur.
Size:
Color:
The default single-position Strategy template. No need to prevent a concurrent signal because it doesn't have a chance to occur. Like question, like answer -- but please be specific because correct answer will depend on your code structure and order types.
Size:
Color: