
- www.mql5.com
Hello,
i made a mistake in MqlTradeRequest as i set MqlTradeRequest.action = TRADE_ACTION_PENDING without a given price.
I guess this could be the reason for error.

- www.mql5.com
Try using the built in Trade class instead of MqlTradeRequest.
https://www.mql5.com/en/docs/standardlibrary/tradeclasses/ctrade

- www.mql5.com
i am using ctrade and i receive the same error... the SL is quite high... still is not executed. error: 10016
sometimes is executed - sometimes is not... and the script gets stuck (as coded, in a while loop).
please advise.
To get a coding advice, you have to post your code.
it seems that you answer my comments after you banned my physical ip.
highly ethical and professional sir ! let me put it like this: your help is completely useless. being polite here.
it seems that you answer my comments after you banned my physical ip.
highly ethical and professional sir ! let me put it like this: your help is completely useless. being polite here.
Stuart: i cannot open the mql5.com from my browser anymore, unless i use a special VPN connection to spoof my IP.
I say again, you have NOT been banned (yet!). If you were banned, no amount of "IP Spoofing" would let you post under your name on this forum. Plus your name would appear with a strike through it to show you have been banned (which it doesn't). It sounds to me like your settings need to be adjusted. Go into your profile, click settings->privacy and unclick all of the "Binding to IP" checkboxes. That should fix that problem.
Now as for your threatening and abusive language in your last post, that will NOT BE TOLERATED against ANY user, be they a moderator or not. Please consider this you first and final warning.
Thank you for your cooperation.
This webpage is not available

- www.mql5.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
get this error, don't know why:
2012.08.10 17:43:22 Core 1 2012.07.05 23:05:00 Invalid stops reply code=10016 symbol=EURUSD action=1 volume=0.1600000 price=0.0000000 sl=0.0000000 tp=0.0000000 filling=0The string above dumps a MqlTradeRequest structure. As you can see, stops are not invalid.
Thank you for help