(MathAbs(0-NetLots(Symbol()))*2)
you can't send negative numbers !!!
one more thing
according to NFA rules: you can't hedge if you're an american citizen or using a USA broker

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'm trying to build an hedging EA (to learn mql4).
Here's the code
When it come to hedge he doesn't open the reverse order, and I receive the error 4105 (ERR_NO_ORDER_SELECTED).
Any idea on how to resolve this problem?
Thanks