Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi, I am new to programming and algo trading in general.
I am having problem with my bot not being able to open just one trade at a time, but in the same time being able to sell and short.
I tried to fix this by using magic numbers but it doesn't work.
Any help would be much appreciated.
here is the code: https://github.com/Amasakis/code-