Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information
I actually need an EA that can trail the profit in my floating P/L because I have several orders open at once. This way when they are collectively in profit it will close all trades even if there are a few negative trades open still and not one at a time.
Does this make sense?
You want a trailing stop applied to the orders AS A WHOLE? It doesn't do that at the moment. The closest thing 1.3 has to that is the CloseByTotalProfit.
__________________
"Don't workharder, work smarter." -- my Java professor
I am wondering if you can set this to close all orders by equity. I'm thinking it closes them now when your account balance reaches the stated objective, right? Is there a way to make it close them when equity reaches a certain balance?
I am wondering if you can set this to close all orders by equity. I'm thinking it closes them now when your account balance reaches the stated objective, right? Is there a way to make it close them when equity reaches a certain balance?
Thank you again,
Mike
All closeout options are based on equity. If you want it to close trades when a certain amount of profit (in equity) is reached, you have three options available: dollar, pips, or percentage profit (and same for loss). Once an order is closed, then it will register on your account balance.
__________________
"Don't workharder, work smarter." -- my Java professor
ok got it Ryan, thank you. One more thing, would it be possible to have the text on the chart state what equity the EA is looking at to close? Something like:
"Will close all orders at $3853."
This would sure be helpful to me.
Quote:
Originally Posted by ryanklefas
Sure thing:
Disable closeByTime (1.35 has it enabled by default);
Enable COND_MaxProfit_Percentage;
Set MaxProfit_Percentage to 2;