I'm halfway thru the coding of a simple, fully functional EA. But i'm still just a newbie in coding.
I just cant figure out how to make my EA select all orders that have a specific comment and perform an action on those only.
For example i may have 3 open orders each commented "whatever comment 1" and another two commented "whatever comment 2".
How can i make my EA select only the first "whatever comment 1" order group and perform an action on those 3?
For what i have red in documentations on the MQL4 site there is no clue on how OrderSelect can do such a thing.
Sorry if this is a stupid question..i guess one has to start somewhere if he wants to get a grip on coding..
I just cant figure out how to make my EA select all orders that have a specific comment and perform an action on those only.
For example i may have 3 open orders each commented "whatever comment 1" and another two commented "whatever comment 2".
How can i make my EA select only the first "whatever comment 1" order group and perform an action on those 3?
For what i have red in documentations on the MQL4 site there is no clue on how OrderSelect can do such a thing.
Sorry if this is a stupid question..i guess one has to start somewhere if he wants to get a grip on coding..