Close all trades on loss

 

Hello.

I am looking to implement a code into an existing EA (Scalper) to close all trades on X amount loss floating and start over again from beginning.

Someone can help me out?

Cheers :) 

 
Filas Megana: I am looking to implement a code into an existing EA (Scalper) to close all trades on X amount loss floating and start over again from beginning. Someone can help me out?
Search the CodeBase. There are many examples of code for closing all trades at a certain amount of loss (or profit).
Reason: