mohsssen eze: hi friends I have a problem writing my expert advisor in mql4. The expert that I wrote contains three buffers of external indicators and I want it to wait whenever buffers one and three exceed zero until only the second buffer exceeds zero in the next candlesticks, and if it is positive, it waits until only the first buffer exceeds zero in the next candlesticks. should exceed zero and open a buy position whenever the third condition occurs. Please correct this function for me:
Attach your code using the code button if you need help
Please EDIT your post and use the CODE button when you insert code.
@Alain Verleyen #: You are very patient and kind to do so
The OP made an effort to attach the file. It was not ideal, but I still considered it an effort on their part, so I met them half-way by editing it.
Fernando Carreiro #:
The OP made an effort to attach the file. It was not ideal, but I still considered it an effort on their part, so I met them half-way by editing it.
And now he created a new topic... The OP made an effort to attach the file. It was not ideal, but I still considered it an effort on their part, so I met them half-way by editing it.


A function with three consecutive conditions
- 2023.04.15
- www.mql5.com
hi friends I have a problem writing my expert advisor in mql4...
@mohsssen eze, please don't double post. I have removed your other thread.
Is the answer to my question really so difficult for programmers that they don't have the ability to solve it?🤦🏻♂️

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
hi friends I have a problem writing my expert advisor in mql4. The expert that I wrote contains three buffers of external indicators and I want it to wait whenever buffers one and three exceed zero until only the second buffer exceeds zero in the next candlesticks, and if it is positive, it waits until only the first buffer exceeds zero in the next candlesticks. should exceed zero and open a buy position whenever the third condition occurs. Please correct this function for me: