Hello,
I'm trying to find a way to apply HoldMinBars only to select Sell conditions. In the code below, HoldMinBars applies to all trades. I would like to make it apply only to the first sell condition "Sell1".
Thank you for that amazing piece of work fxshrat. Using ExRem twice is not something I would have thought of. I will keep testing it but the logic appears correct.
I have tested the code and I don't believe it's working quite right. I modified the code below so I code test it using only the first sell condition compared. When I uncomment the first three lines, I get a different result than when I run it at shown below. Shouldn't this produce the same result?