roslanec / Publications
Forum
The use of const keyword in function definition
Hi all, can anyone, please, explain what is the purpose of using the keyword 'const' in function definition? I have seen this in many places, for example in the CTrade class (see code snippet below) but the MQL5 language reference does not explain this at all. Thanks in advance, Rob. string
Pips or points in EA tester
Hi all, I noticed that the EA strategy tester (MQL5) Inputs tab lists the Stop Loss level and Take Profit level in points (see attached screenshot1.jpg file) but during testing I noticed that the calculations treat the value as pips, thus resulting in 10x difference in values considered. I am using