Pending order script returning 129 error
- mielie007: But I keep getting a 129 error and I can't figure out whyYou can't buy at any price only at the Ask.
-
Check your return codes for errors (for each call,) report them
and you would know why.
Don't just silence the compiler, it is trying to help you.
What are Function return values ? How do I use them ? - MQL4 and MetaTrader 4 - MQL4 programming forum
Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles
I'm very new to scripting in Mql4, but I want to make a script that takes the alert message from my indicator and sets multiple orders with the same stop and different take-profits
But I keep getting a 129 error and I can't figure out why.
Here is the string from my indicator GBPUSD BUY: 4.32 @ 1.335, Stop: 1.333, T1: 1.3361, T2: 1.3372, T3: 1.338, T4: 1.3391, T5: 1.3402
Here is my script