Hi all,
I have to throw out a big thanks to those who have helped me thus far! I am slowly learning to program this MQL! Now I have to learn MQL5! haha..
Anyways, I have an EA that takes an order upon the opening of a bar being above a line. I want to make sure that if I close out this order on the same bar that it doesn't fire off another trade that met the same requirement etc..
I know I can do this spaghetti code style, but curious if you have a nice routine for such already pre-built?
I have to throw out a big thanks to those who have helped me thus far! I am slowly learning to program this MQL! Now I have to learn MQL5! haha..
Anyways, I have an EA that takes an order upon the opening of a bar being above a line. I want to make sure that if I close out this order on the same bar that it doesn't fire off another trade that met the same requirement etc..
I know I can do this spaghetti code style, but curious if you have a nice routine for such already pre-built?
We are our own best indicator.