anuj71:
What you are raising has already been answered hundreds of times in the forum:

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
Article URL : https://www.mql5.com/en/articles/2555#invalid_lot
I am getting Error 131
To resolve this, I am trying something like Volume Error Handling. It update value automatically.
or
Instead of
But my both of the code is not working. What wrong with my code. it does exact same and even better than article URL. it also adjust the Volume size after comparison.