how to find the value of the highest balance ever?
-
hi! i'm building an ea with martingala classic, it doesn't let losses go but it close and double lot the position after. i want limit DD with closing position when equity come back near to higher balance ever and not at his normal TP. because in this way "jumps" of balance can be softer
-
Not sure I fully get it. If you're using a classic martingale the only way to avoid jumps in the balance is by hedging. Could you please be more specific?
-
i mean with a classic martingala where you can lose and position after you double lots (not a martingala that leave run losses and try to recover in the same operation). for example i can lose 6 times, seventh position go in profit. the seventh position give me a jump of balance (mirrored with DD). i want only come back to higher balance i had before losing first position (+ little breakeven of pips for cover commissions and swap)
-
@Skyzen That is not an easy thing to do. The closest I build some time ago was a variant of the Oscar's grind strategy. That is doing something like that, but not exactly as you say. Maybe this can inspire you:
-
thank you Andorrà! nice algorithm and clean job
-
You're welcome.