for(int i=OrdersTotal()-1; i>=0; i--)
if(OrderSymbol()==_Symbol && OrderMagicNumber()==MagicNumber)
Hey Mehrdad. I tried this but didn't work. I got an error. Which is :
'MagicNumber' - undeclared identifier
So this is a custom global variable that you would define it in your code for example :
The orders will be detected by their Magic Number,
Hey guys I need help. I get magic number error which is :
I dont know how to fix this.
Here is my whole code :
Thanks for your interest :) Have a good day.
Do not double post.
I have deleted your other topic and moved the reply to here.