Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1935
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
What is wrong, with 2 parameters VLine in the tester gives error 2022.03.24 18:24:27.615 TestGenerator: unmatched data error (volume limit 263 at 2022.03.18 14:30 exceeded)
If the first parameter time1 is removed, everything is fine.
Good afternoon to all. I have 20-40 charts open during trading. I have to spend a lot of time to find the right one at the bottom of all the instruments or in the top menu item "window". If I could use a script to accelerate it, I put a script in the input parameters, type the necessary symbol and it will open as if it was found with my eyes and clicked. How to implement such a thing?
Good afternoon to all. I have 20-40 charts open during trading. I have to spend a lot of time to find the right one at the bottom of all the instruments or in the top menu item "window". If I could use a script to accelerate it, I put a script in the input parameters, type the necessary symbol and it will open as if it was found with my eyes and clicked. How can this be done?
As logic, the script should find out how many charts/windows are open and for which instruments, remember them (symbols and chart_idies) and then, according to the number of instruments, draw a panel with buttons with the instrument name written on them. On pressing the button, the chart with the required instrument changes its property to expanded (it can be collapsed) and over all, and the script closes.
Logically, the script should find out how many charts/windows are open and for which instruments, remember them (symbols and chart_idies), then, according to the number of instruments, draw a panel with buttons with the instrument name written on them. On pressing the button, the chart with the desired instrument changes its property to expanded (it can be collapsed) and over all, and the script closes.
Hello!
I am looking for an EA, a grid operator.
Opens market orders in a grid.
Closes the orders when the grid reaches a certain (%) profit.
I have seen such an Expert Advisor, and now I can not find it.
I have seen such an Expert Advisor, and now I cannot find it.
Bad logic - what difference does it make in which buttons to look - at the bottom, in the menu window or in the buttons drawn by the script? Must somehow be done so, that entered the desired symbol in the input parameters, and the script has opened this window for you - so easier and faster would be. Does anyone have such a miracle, please share?
Read the documentation carefully.
Read the documentation carefully.
What are these variables in loop condition? And if the initial condition is true, when does it become false to exit the loop?The loops are just for understanding what they are. You will get a lot of code there if you write them. The question is why the work stops before return, although nothing even happens on this tick. In the comment rates total equals prev calculated, so we do nothing at all.