Learning the code syntax
Easiest and fastest way:
- mark the ?
- press F1
- start reading!
cant find anything in that way...
- florenceale: what does it mean this expression?...I'm confused with ? : etc.
Ternary Operator ?: - Operators - Language Basics - MQL4 Reference
- florenceale: cant find anything in that way...Why not?

yes thanks i had found it but by google. It means either or.
florenceale: Hello what does it mean this expression?...I'm confused with ? : etc.
// Concise version double price = (type == OP_SELL) ? Ask : Bid; // Verbose version double price; if (type == OP_SELL) price = Ask; else price = Bid; // Yet another version double price = Bid; if (type == OP_SELL) price = Ask;
Comments that do not relate to this topic, have been moved to "Need help with Custom Indicator code — the separate window is empty".
Hello what does it mean this expression?...I'm confused with ? : etc.