Forum

Get the lot size value of the default trade panel

Hello there, As the title says, I'd like to get the manually entered lot size value in the default trade panel , to use it in an indicator (0.10 here) : Any hints on how to get this value would be appreciated. Cheers

MT5 doesn't open

Hi, Today I started MT5 and it asked for a restart to update. When I restarted MT5, nothing showed up. Now when I try to open it, it appears in the task manager for a second then dissappear, but nothing on the screen. I did a uninstall, reboot, reinstall, but the problem is still here. Nothing

Need help creating custom deviation indicator

Hello everybody, After some time learning how to code EAs, I am giving a first try at indicators : I'd like to create a custom indicator that shows : New deviation = Standard deviation + Highest standard deviation - Lowest standard deviation (Highest deviation and Lowest deviation should be

Type conversion warning, I can't spot it

Hello, I'm writing my first lines of mql5. Please bear with me. I get a " possible loss of data due to type conversion" warning. I've already seen these warnings, but this time I can't spot the problem. Any help would be appreciated. Thanks in advance ! double ATRValue; int CheckATR() { double