When I test my Ea,it show " CTrade::OrderSend: market sell 1.06 EURUSD [invalid volume]" ,how to solve it?
- Experts: News Hour Trade
- Indicators: Indicator of Equity and Balance
- how to call ctrade??
Change the volume
xkyup:
When I test my Ea,it show " CTrade::OrderSend: market sell 1.06 EURUSD [invalid volume]" ,how to solve it?
When I test my Ea,it show " CTrade::OrderSend: market sell 1.06 EURUSD [invalid volume]" ,how to solve it?
Try to reduce your lot size to maybe 0.05 or 0.01 instead of 1.06
Can you share your Error screen shot?
Thank you everybody.I get the reason.i shouldn't use the volume less than step.
xkyup:
Ask for a new question.When I test my ea,it always print blank line every minutes(My time period is M1),but i didn't use the Print() function.As the picture shows:
May I ask everyone,how to solve it?Thank you all.
This seems like your EA keep on sending countless order request to your broker, without proper parameters , within your OrderSend()
xkyup:
Ok,i will check my code.But in the day off,it still print the balnk line.Why is that?
Oh,I get it.It's my wrong.Thank you all.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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