Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 671

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
Nothing complicated.
Thanks, I'll be at my computer tonight and I'll get it for myself... nothing complicated, but I'm starved for time ))))
Hello! Please give me an example of code to create a button on a chart and have it perform at least one operation. At least in the comment output any sign. Thank you.
Here's a code like this:
This is about the size of the code:
Comments do not come out.
After starting the programme, press the button and the corresponding inscription appears in the upper left corner. Press the button again and the message will change. Do not forget to press the auto-trade button or allow trading in the EA settings. There should be a smiling face in the upper right corner. Everything works in the tester.
After starting the programme, press the button and the corresponding inscription appears in the upper left corner. Press the button again and the message will change. Do not forget to press the auto-trade button or allow trading in the EA settings. There should be a smiling face in the upper right corner. Everything works in the tester.
How will the indicator work?
It's made for an EA, not for an indicator.
That's a pity. I need an indicator.
There's not much difference, is there?
This is code for creating a button.
The button is created in the initialization function
And this is
Button control code.
There's not much difference, is there?
This is code for creating a button.
The button is created in the initialization function
And this is
is the code for controlling the button.
Actually, I did, but I don't like the long response time