In the MQL4 Reference guide, it says: "returns the requested property of the order(string)." However, there are two string arguments for OrderSend right? The symbol, and the comment. So which will this return? Both? Either?
- Questions from a "dummy"
- Why my OrderSend Function does not return the order ticket number?
- Python & MT5
Erik Volk: In the MQL4 Reference guide, it says
Perhaps you should actually read the manual. There is no such function in MT4. List of MQL4 Functions - MQL4 Reference or Trade Functions
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
It compiles but does not function
void OnStart() { OrderSelect(0,SELECT_BY_POS); PrintFormat("<%s>", OrderGetString(ORDER_COMMENT) );
2021.09.30 11:12:44.352 testscr EURSGD,Daily: <(null)>
Erik Volk: So which will this return? Both? Either?
In MT5, read the manual: OrderGetString → ENUM_ORDER_PROPERTY_STRING

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