Yeah, that would be nice, perhaps you can share it once you have written it.
Well, I wouldn´t have asked here if I would have an idea how to write it;)
Did you look here: https://docs.mql4.com/strings
I've never actually used them before, but it looks like all you'll need might be StringLen() and StringGetChar().
Get cracking. I'd also like a copy when you're done ;-)
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
Hello,
I need a function for an EA that is similar to Print() but that takes into account the maximum length that can be displayed in the Journal-tab of MT4 without truncating the string. So basically I need a function that simply replaces Print() in the whole EA that then looks at the string I pass to it, splits it (preferable not within a word of course but at a space) in case it is to long for the Journal-tab and then Prints it to the journal. So basically the function could be called PrintWithJournalStringLimitLength().
Thanks a lot!