Files
mql5-skills/skills/mql5/references/docs/03-predefined/0213-predefined-stopflag.md
T
2026-06-23 21:47:51 +08:00

6 lines
320 B
Markdown

# int _StopFlag
The _StopFlag variable contains the mql5 program stop flag equal to 0 during normal operation. When the client terminal tries to stop the program, the variable is set to a value other than zero.
To check the state of the _StopFlag you may also use the [IsStopped()](/en/docs/check/isstopped) function.