Switching EAs On Live Chart
-
Assuming the group #s stay the same, if you switch the ea on a live chart will it still manage the trades that were opened with the old ea (i.e. does project id, magic #, etc. have to be the same)?
-
There are many things that EA does not remember when you restart it, but because magic number is a property of every trade/order, it stays there even if you move to another computer.
-
will it remember trailing stops?
-
Trailing stop does not work when the EA is off. When it's on, trailing stop just checks the distance between Ask/Bid and SL and it that distance is too big - it modifies SL.
-
great, so it sounds like the group number entered in the trailing stop block that is associated with the buy/sell blocks should continue to work with the new ea. Thanks

-
Yes. Magic number, SL and trade type (buy or sell) are properties of the trade and they are not lost. Trailing stop uses these properties, so it will work with them when EA is "smiling".
Even a problem can come from this - if you have two EAs with same MagicStart (Magic Number = MagicStart + Group), they can both control the same trades.