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
Hi all. Can you tell me how to make a function so that it rounds a number like below.
Example.
1.23453 after rounding = 1.23455
1.23456 after rounding = 1.23460
1.23450 after rounding = 1.23450
So you want "1,2,3,4" in the last digit to be rounded to "5" and "6,7,8,9" in the last digit to be rounded to "0" by changing the penultimate digit?
Hi all. Can you tell me how to make a function that rounds a number as below.
Example.
1.23453 after rounding = 1.23455
1.23456 after rounding = 1.23460
1.23450 after rounding = 1.23450
I want to learn how to use the timer function, but I can't figure out how it works.
I put EventSetTimer() in oninit
in deinit I writeEventKillTimer()
but when I insert void OnTimer(); into the code, the error 'OnTimer' - class type expected
In general, tell me how to use it?
Who can tell me how to build a channel using MA.
and when I insert void OnTimer(); into the code, the error 'OnTimer' - class type expected
How do you put it in? That's how it should work:
made a working expert
But I can't test the Expert Advisor in the tester. The matter is that the Expert Advisor takes data from a csv file. I put it in the special folder of the tester. and instructions prescribed in the file of the expert that it refers to this directory.... but they couldn't help me at the time. But the idea of running it through the tester remains.
I can help you, but please tell me what to put in what folder.
I put the Expert Advisor files and it works in normal trading
The pattern database file in MQL5\Files
Expert Advisor file in MQL5\Experts
Isewbar in MQL5\Include