When global variables are declared in the EA and then it is tested, the global variables do not appear in /Service/ -> /Global Variables/ of the terminal?
m_a_sim: Когда объявляются глобальные переменные в советнике, а потом он тестируется, то глобальные переменные не появляются в /Сервис/ -> /Глобальные переменные/ терминала?
In your question there is a direct link to the 'Global Variables' section. See the Note for this section.
Can anyone give you a good code to calculate the lot, which depends on the risk, i.e. if you close at a given lot, 5% of the balance will be lost (for example). 5% is the risk
m_a_sim: If you can give a competent code for calculating the lot, which depends on the risk, i.e. when closing on the L for a given lot will be lost (for example) 5% of the balance. 5% is the risk.
Such a question has been raised several times on the forum. If I remember correctly, one of the solutions was suggested in this thread in the spring.
This question has been raised several times in the forum. Have a look through the search engine. If I remember correctly, in the spring one of the solutions was suggested in this thread.
I found the code I need but it is for mql4, can someone help me to modify it to mql5?
m_a_sim:
Когда объявляются глобальные переменные в советнике, а потом он тестируется, то глобальные переменные не появляются в /Сервис/ -> /Глобальные переменные/ терминала?
In your question there is a direct link to the'Global Variables' section. Look at the Note to this section.
m_a_sim:
там сылка на глобальные переменные, которые объявлены глобально, т.е. не локально, а я имею ввиду переменные GlobalVariableSet()
If you can give a competent code for calculating the lot, which depends on the risk, i.e. when closing on the L for a given lot will be lost (for example) 5% of the balance. 5% is the risk.
Such a question has been raised several times on the forum. If I remember correctly, one of the solutions was suggested in this thread in the spring.
This question has been raised several times in the forum. Have a look through the search engine. If I remember correctly, in the spring one of the solutions was suggested in this thread.
I found the code I need but it is for mql4, can someone help me to modify it to mql5?
Yes I found the code I need, but it is in mql4, can someone help me to modify it to mql5?
No, at mql5.com all the codes were designed in MQL5.
That's not what we're talking about.
Strange. You need code for MQL5, which should already be on the website. All you have to do is look it up. That's exactly what I'm talking about.
However, it is up to you.