You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
only on. if the EA is started, it means that the authorisation to start EAs is on
thank you very much for the consultation. It is very important to me if a developer answers.
Please confirm, please.
If Expert Advisor contains a fairly long (let's say 10 sec) processing cycle...
If at the same time, let's say, on the third second of its operation, the STOP button is pressed.
Then: The Expert Advisor will work up to the end of its cycle, up to the 10th second (all coded trade functions will be executed), and then it will be disabled?
Am I right to think that the command to actually disable the EA (if the Disable button is pressed) is when the EA reaches the return operator of the start() function?
Thank you in advance.
I do not understand the last question.
You have answered my question completely.
Thank you again.
Would it be correct to expect that the codes of Expert Advisor and indicator below will give a stable result A=1 ?
Expert Advisor code
Indicator code
(the task is actually simple: to inform the indicator that the Expert Advisor is disabled by a button)
No. In the current implementation, Global Variables are not safe from the point of view of accessing shared resources from concurrently running indicators and Expert Advisors.
thank you, that's understandable. That's not what I meant.