Alexander Manfred Fleck:
In your code, the order_send() function determines the type of order (buy, sell, or do nothing) based on certain conditions. However, it doesn't handle the calculation or specification of the lot size for the orders. The order_send() function is returning an invalid value for the o_sends variable, which is then used to determine the type of order to send. This variable is set to 2 by default, and it seems that this value is not being changed under certain conditions, leading to the "invalid lots amount for OrderSend function" error when attempting to send orders.
Hi,
i got a Problem with validation on market here with my EXpert Advisor
this is the Problem ;
invalid lots amount for OrderSend function The EA IS RUNNING ON Mt4 without Problems. But Validation on Market here dont works. Can anyone help me? here is the code
Alexander Manfred Fleck: i got a Problem with validation on market here with my EXpert Advisor
Your posted code does nothing.
int start() { if(ACCOUNT_NUMBER>0 && ACCOUNT_NUMBER!=AccountNumber()) { … } return(LOOPs); }
Ok and what can i do?

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
Hi,
i got a Problem with validation on market here with my EXpert Advisor
this is the Problem ;
invalid lots amount for OrderSend function The EA IS RUNNING ON Mt4 without Problems. But Validation on Market here dont works. Can anyone help me? here is the code