EA start setting
-
Hi all,
I have some issues when starting EA on the chart.
Whenever I started to put EA even though I haven't clicked the "Auto Trading" button, the EA has already running the calculation.
I know it probably because I put EA on tick, so it always started to run the EA immediately.
I tried several solutions, like using time filter or hours filter, but sometimes during this filtered time, I need to restart the EA, so I am just wondering if there's any other solutions to avoid this "error"?Any helps would be appreciated.

Thanks! -
But what do you need exactly? Do you want to run the Ea on the chart but not activate it until you choose, maybe?
-
The auto trading stops trades being placed, if you want behind the seen ' calculations to wait, you have to set some logic to achieve this, some thing like, set a flag to false on init, then on tick set to true, then check to do what you want.
-
@l-andorrà
So here is an example I have a particular setting where open trade will close, if it meets certain condition.So in some cases, when I restarted EA, the trade closed where it is not supposed to. I realized this because I have used the same EA on 2 accounts (from the same brokers), and on one of the accounts, the trade was not closed.
Once I activated the auto trading, then (maybe after 15 min or so) the trade on the other accounts was closed now which is on better price of course...
-
Then you need to use different magic numbers on each bot. Otherwise, trades open by one of them will be considered as valid for the second one if you are using the same on both.