William Roeder:
Your code is unreadable. Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor
Your code is unreadable. Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor
Ciao Williamo, Done. I have updated the comment. Thanks
Marcello Campagna:
Hi all,
I have a boring issue with the execution of order (Buy or Sell) that use the TP. I know that's a common issue reading others threads but the code seems correct so don't know what i have mistake. I'm going crazy because the error happen when thet TP is lower than 120 pips. :(
I paste function
called and the code of the method.
Function SendOrder():
I hope that some god person and better developer of me can help.
Have a nice day
Marcello
Hello,
I think mean 120 points not pips.
Any way.
First, check broker stop level.

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 all,
I have a boring issue with the execution of order (Buy or Sell) that use the TP. I know that's a common issue reading others threads but the code seems correct so don't know what i have mistake. I'm going crazy because the error happen when thet TP is lower than 120 pips. :(
I paste function called and the code of the method.
Function SendOrder():
I hope that some god person and better developer of me can help.
Have a nice day
Marcello