Then I don't understand it at all. What do you mean by "OrderCommission() stores data not rounded to cents"? Where are they rounded? And how are they rounded?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Then I don't understand it at all. What do you mean by "OrderCommission() stores data not rounded to cents"? Where are they rounded? And how are they rounded?
In the GUI, reports and OrderPrint to cents.
In the GUI, reports and OrderPrint to the cents.
100.12345 is rounded up to 100.12 ?
100.12345 rounded up to 100.12 ?
Yes.
The script may have OnInit() and OnDeinit functions
is useful if the script is looped. Then we put preparatory operations in OnInit(), a loop in OnStart() and program termination in OnDeinit()
The log will be
and OnCalculate will not be called.
Forum on trading, automated trading systems and trading strategy testing
Give me an advisor to collect tick history
fxsaber, 2018.03.06 21:48
MT4 indicators miss ticks, or the Terminal itself misses them.