Igor Polushkin:
Hello Guys,
I am new to MQL, so sorry if my question would seem stupid for you.
The question is as follow:
I want to program an EA that uses two conditions.
Step 1: Check if the first condition is fulfilled
Step2: Wait for the second condition is fulfilled
Step3: If fulfilled during defined time or number of bars -> execute, else cancel condtion 1.
Would it be possible?
Thanks in advance
code it and you will found out

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
Hello Guys,
I am new to MQL, so sorry if my question would seem stupid to you.
The question is as follow:
I want to program an EA that uses two conditions.
Step 1: Check if the first condition is fulfilled
Step2: Wait for the second condition is fulfilled
Step3: If fulfilled during defined time or number of bars -> execute, else cancel condtion 1.
Would it be possible?
Thanks in advance.