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
Documentation on MQL5: String Functions
- www.mql5.com
String Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Fernando Carreiro #:
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.
Robert Victor Huizar: How do a parse a comment to look for specific text?
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!