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
It's probably time to attach the test code. This will make it easier to experiment.
Here's
Hopefully there will be solutions to the problem...
Where do I write the time? Do I create variables for each button to store the time in them?
Thank you all the problem solved, I found a simpler way, I myself sit and wonder ...
You found the solution on the second pagehttps://www.mql5.com/ru/forum/64408/page2#comment_1923439
and did not share.
TC found a solution on the second page ofhttps://www.mql5.com/ru/forum/64408/page2#comment_1923439
and did not share
I want to finish it:
Excuse me, but I'm always surprised by the code
I want to add to it:
Doesn't work in the tester...
You can make do with one static variable, as only one button is pressed.
The pressed button is memorised and then a comparison is made at each tick. If there is a difference, the button is released and the new value is stored.