Hi, My ea has extensive use of comments. I put comments within OrderSend(), but comments are being cut. Anybody knows the maximum usable length of a comment
(excluding the part that can be added by server) ?
- History - MetaTrader 5 for Android
- Copilot coding assistant - Developing programs
- Push Notifications - MetaTrader 5 for iPhone
I thnk their strings are up 255 chars long.
Also if you close a partial order your comment will be gone.
Also if you close a partial order your comment will be gone.
It's true that 255 is the maximum length of a string, but my comments are being
cut at ~ 32 chars... and I wanted to know if that's normal...
31 characters + zero terminator. Server can rewrite 6 last characters. ie safety
length is 25

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