Hi all! Could you please tell me how to set the condition of price crossing a horizontal line? And how to make this function with maximum accuracy (that would react on every tick)?
if(OrderMagicNumber()!=MAGIC_3 || OrderSymbol()!=SMB_) continue; // here the orders that do not have a magic number are removed if(OrderMagicNumber()==MAGIC_3 && OrderSymbol()==SMB_) // here the orders that do not have a magic number are removed
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi all! Could you please tell me how to set the condition of price crossing a horizontal line? And how to make this function with maximum accuracy (that would react on every tick)?
Thank you in advance))
What moose?
Can we not use jargon? It's not like we're at school at recess discussing who has the cooler "adics", "yo"...
if(OrderMagicNumber()!=MAGIC_3 || OrderSymbol()!=SMB_) continue; // here the orders that do not have a magic number are removed
if(OrderMagicNumber()==MAGIC_3 && OrderSymbol()==SMB_) // here the orders that do not have a magic number are removed
Screening twice seems to be excessive
Screening twice seems excessive
but it's not theirs that gets through, and the bypass is set to one and the selimit to several
Try running the debugger by pressing F5 in the MetaEditor. You can track variable values there
I've been debugging it for a month, can't debug it. Here's some smart advice from you, from seasoned experts
Greetings, help decipher the deletion of objects, supposedly objects with names like Incl005_011 should be deleted, but they are not deleted ((
the piece of text you posted is a decompilation. It is treated negatively here. Punishment = ban. Delete it.
The horizontal line stands on a certain VALUE. Suppose if(Bid>=0.8765){return(0);}
Thank you!