No trading operation when uploading to mql5

 

Hi,


Im stuck with my EA for mt4. I cant get through the validation.

It says "no trading operation". 

I have trading operations in MT4 when i test it on every currency that the validation says its not.

I have added controls,

IsNewOrderAllowed

CheckMoneyForTrade

CheckVolumeValue

These controls are just before ordersend function.


When i delete CheckVolumeValue from code I get error 131 in validation for one currency, so im guessing its something with volume that blocks the trades.

I have tried to upload with different lotsizes just to find the fault, but cant find it.


I dont have so much experience with mt4 errors so I would preciate if someone would help me out.

Reason: