Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1515
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
Gentlemen, I have identified the cause. The problem is in the calculation of the balance, which is needed to allow for a day's output, and although this formula does not produce errors, it does not work.
If you do it for fun, it works.
if you do it for fun, it doesn't work
double sb1; - declared if anything...
The question should be solved with
Gentlemen, I have identified the cause. The problem is in the calculation of the balance, which is needed to allow for a day's output, and although this formula does not produce errors, it does not work.
If you do it for fun, it works.
if you do it, it doesn't
double sb1; - is declared if anything...
Solve the issue with
it doesn't have to work every day... moreover, it's strange if it will work regularly at all
it doesn't have to be triggered every day...in fact, it would be strange if it was triggered regularly at all
and how do i fix the balance at the beginning of the day?
Sorry, but I still don't get it - how to set KEY_TILDE to two events - Highlight and Unselect. I get either simultaneous triggering and displaying a message in terminal or only this default option. How can a dumbass explain how to do it?
Sorry, but I still don't get it - how to set KEY_TILDE to two events - Highlight and Unselect. I get either simultaneous triggering and displaying a message in terminal or only this default option. How can a brainless person explain how to do it?
Detected event - check status... If it's selected - deselect. Otherwise it is selected.
Sorry, but I still don't get it - how to set KEY_TILDE to two events - Highlight and Unselect. I get either simultaneous triggering and displaying a message in terminal or only this default option. How can a dumbass explain how to do it?
and how do i fix the balance value at the beginning of the day then?
does anyone have any ideas?
Anyone have any thoughts?
anyone have any thoughts?
catch the change of the day and calculate the balance value at that moment.
It's not for nothing that they said "take the right indicator" - it won't fit into a couple of lines of code. It's quite a capacious algorithm.
catching the day change is easy, "the known day number now is not equal to the day number before", but further it is difficult