Problem Remove Script: MT4 While loop

thread: Problem Remove Script: MT4 While loop

  1. #1

    Problem Remove Script: MT4 While loop

    Hi,

    only a fast question: maybe someone knows how it is done properly in MT4.


    Occasionally I use a script with an endless while loop. Along the attached example.


    My main question is:

    if one attempts to remove the script it hangs the first time and runs in a loop
    another time Eliminate Script does remove it

    Everyone knows exactly what: Eliminate Script does?
    And has a clean answer?

    Thanks a lot

    Ati

    PS: It's not a major thing for me personally and I did not invest much time to learn until now - but I'd be interested if someone knows.
    https://www.cliqforex.com/attachment...1884238363.mq4

  2. #2
    Junior Member Pelirrojaaa13's Avatar
    17
    Hi, Just a quick question: perhaps someone knows how it's done properly in MT4. Occasionally I use a script using an infinite while loop. Somewhat across the attached instance. My main question is: when a person attempts to remove the script it hangs the first time and runs in a loop a second time Eliminate Script does remove it Anyone knows what: Eliminate Script does? And includes a solution? Thank you a lot Ati PS: It is not a major thing for me and I didn't invest much time to learn until now - but I'd be interested if someone knows. document
    You Want to use http://docs.mql4.com/check/IsStopped

    Try this...

    https://www.cliqforex.com/attachment...1011265146.mq4

  3. #3
    Thank You a lot RaptorUK.

  •