Please advise solution; I need the script to automatically set the minimum server stop loss for the current financial instrument when opening an order. What should be written here? OrderSend(Symbol(),OP_BUY,0.01,Ask,10,?,0);
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.
how do you shorten the writing of a formula if one equation is repeated several times?
how do you shorten the writing of a formula if one equation is repeated several times?
Use the function
Use a function
I understand that, but which one?
I understand that, but which one?
Which one? The one in which your equation is calculated. To do this, you have to write this function
Which one. The one in which your equation is calculated. To do this, you need to write this function.
maybe i'm not explaining it right. here's an example
there is an expression
AccountFreeMargin()/Ask*0.002
and it constantly repeats. can we replace it with for example
test= AccountFreeMargin()/Ask*0.002
and then use test in other places
maybe i'm not explaining it correctly. here's an example
there is an expression
AccountFreeMargin()/Ask*0.002
and it constantly repeats. can we replace it with for example
test= AccountFreeMargin()/Ask*0.002
and then use test elsewhere
You can't, ---> you have to.
I'm trying it and it's not working.
I'm trying this and it's not working.
I need the script to automatically set the minimum server stop loss for the current financial instrument when opening an order. What should be written here? OrderSend(Symbol(),OP_BUY,0.01,Ask,10,?,0);
Can you tell me how to eliminate the holes in the history? tried uploading via F2, didn't help, still lots of holes for 3 days.