How do a parse a comment to look for specific text?
Documentation on MQL5: String Functions
Search for a substring in a string
Transforms all symbols of a selected string to lowercase
Transforms all symbols of a selected string into capitals
- www.mql5.com
Documentation on MQL5: String Functions
Search for a substring in a string
Transforms all symbols of a selected string to lowercase
Transforms all symbols of a selected string into capitals
Thank you, This was the information that I was looking for.
Not a good idea to use comments, brokers can change comments, including complete replacement.
How do a parse a comment to look for specific text?
If my comment is RobotTrade#3, how can I have the EA look at the comment for any word that says "Trade"?
To clarify, the logic might sound like "if the comment has the word "Trade" anywhere in the comment, and where capitalization is not important, do the following.
Appreciate the help!