[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 132
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
It is not a misconception, but a point of view (decision) that is not unreasonable -->https://www.mql5.com/ru/forum/105271
wrong price for OrderSend() - opening an order.
1. Calculate the price correctly.
2. When placing orders - do not forget to use
3. In addition, check these parameters to make sure they are necessary and sufficient when (before) placing a certain type of order.
thanks a lot for the reply!
very helpful)
good luck trading!!!
I am currently dealing with the work of an EA. In the start() function I have encountered the following construction several times:
int start()
{
if(condition) return(0);
if(another condition) return(-1);
return(0);
}
I understand that this is done to exit the start() function ahead of time if the corresponding conditions are met. But I don't quite understand why the result return(0) differs from return(-1). Please, tell me, who knows
I am currently dealing with the work of an EA. In the start() function I have encountered the following construction several times:
int start()
{
if(condition) return(0);
if(another condition) return(-1);
return(0);
}
I understand that this is done to exit the start() function ahead of time if the corresponding conditions are met. But I don't quite understand why the result return(0) differs from return(-1). Please, tell me, who knows
No different
It's no different.
Thank you.
I am currently dealing with the work of an EA. In the start() function I have encountered the following construction several times:
int start()
{
if(condition) return(0);
if(another condition) return(-1);
return(0);
}
I understand that this is done to exit the start() function ahead of time if the corresponding conditions are met. But I don't quite understand why the result return(0) differs from return(-1). Please, tell me, who knows
This is for a non-systemic function call. Then it returns.
What is a non-system function call? Can you elaborate on that?
What is a haphazard function call? Can you elaborate on this?
What is a haphazard function call? Can you elaborate on that?