Trailing funds function (equity) - has anyone come across a ready-made one? - page 10

 

And yet, it doesn't seem to be the right one...))

I should really try it in trade, but it's too boring to sit in front of the demo for a day and watch how it closes something)))

Question to those who use stCloseOrders: Suppose the depo is 10 000. I have opened 5 positions on different pairs. I set profitMoney=500. Then 3 positions have closed with own stops and my balance has increased to 9700. How will the Expert Advisor behave further? 1. Will it close as I wanted - at 10500? 2. Will it close with a new equity calculation - at 10200?