Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1389
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
I have the following question.
There is an object - a button(OBJ_BUTTON). But for some reason it works in a strange way - it switches to the pressed state when the mouse button is released (Click Up), and also switches to the pressed state when the mouse button is released (Click Up).
Is it possible to make a button move to the pressed state when the mouse button is pressed (Click Down), and to the depressed state when the mouse button is released? The way the buttons usually work.
I have the following question.
There is an object - a button(OBJ_BUTTON). But for some reason it works in a strange way - it switches to the pressed state when the mouse button is released (Click Up), and also switches to the pressed state when the mouse button is released (Click Up).
Is it possible to make a button move to the pressed state when the mouse button is pressed (Click Down), and to the depressed state when the mouse button is released? The way buttons usually work, by the way.
Your question is confusing. See how buttons work in the example provided with the terminal: MQL5\Experts\Examples\Controls\Controls.mq5
Good afternoon to all.
The MT5 terminal suddenly started giving Alert with a large number of decimal places. Like in Print.
Can you tell me the reason?
When you check something after hours, check it in the script.
Thank you, but it's the same in the script. I tried it all the way before asking the question, but the result is the same.
It outputs: "Margin Requirement =1.797693134862316e+308" . Is there any other way to get the margin?
Thank you, but the script is the same. I tried it all the way before asking the question, but the result is the same.
Outputs: "Required margin =1.797693134862316e+308". Is there any other way to get the margin?
Do you get any other information from the symbol? Did you check it?
Thank you, but the script is the same. I tried it all the way before asking the question, but the result is the same.
Outputs: "Required margin =1.797693134862316e+308". Is there any other way to get the margin?
Just in case - do you have this symbol in MarketWatch? If not, there is very limited information on the symbol.
Do you get any other information from the symbol at all? Have you checked?
Just in case - do you have this symbol connected to MarketWatch? If not, there is very limited information on the symbol.
Is there any other way to get the margin?
You can. But with the use of SB I can't suggest it. I don't use it.
You can. But with the use of SB I can't suggest it. I don't use it.