simple expert setting
I would like to create a setting in which to decide whether to open a buy or a sell with tp and sl set in pips. when the ea reaches sl or tp it must reopen a trade in the same direction. this must happen until the expert reaches a maximum loss that I must be able to define in euros. this amount must refer only to the loss generated by this expert and not by other ea or manual trades. can someone help me?
Try this:
Directional change filter
Or:
d’Alembert money management system