Yes. If you wish to be able to re-initialize your EA without impact on current orders, you need to alter the logic to do just that.
CB
Yes. If you wish to be able to re-initialize your EA without impact on current orders, you need to alter the logic to do just that.
CB
Thanks CB.
This means it is exactly a relaunch of the EA. Is that correct? That means that all internal memory runtime program variable values may no longer contain their values when I clicked to change the period of the chart. Is that correct?
Thanks CB.
This means it is exactly a relaunch of the EA. Is that correct? That means that all internal memory runtime program variable values may no longer contain their values when I clicked to change the period of the chart. Is that correct?
Yes.
CB
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I was running an EA on a demo account, on M1 (minute) chart.
I changed the period to another, I think, to Daily period, and all trades were immediately closed within a few seconds.
Is the changing of the period the cause of the closing of the trades?
Was the EA initialized again, like the init() was called again?