Hi there, I'd like your assistance outline the code to stop a trade. I want to allow only one bad trader per bar.
In my strategy, I have a setup, if true, then a trade executes. Often, this trade will be concluded on the same bar. If the trade is losing, then I want no more trades to execute until the start of the next bar.
Your thoughts on how to approach? Thanks,
Comment