Help please beginner, translate the EA from mql4 to mql5, need to calculate the width of the channel in points on a given number of bars from the current, calculations he do but it is not clear how, appear negative values that should not be.
You are getting bar numbers with maximum and minimum price values. Hence the negative values.
BUT!!! In the new version of MT introduced a new function with which you can get in arrays and minimum and maximum prices for a certain number of bars. Then use mathematical functions to get the maximum and minimum price values and calculate the required value using the formula.
You will be the first to use the innovation:))))))
Can I access the database created with the help of mql5 from the outside, say, write a code on node.js and interact with the database. Or the database can be used only with the help of mql5?
I can not find a branch or posts on the topic - limitation of non-compatible parameters in the Tester, so that during the initialisation pass, if a number of parameters match, the optimisation will not take place
Kirllik #: Can I access the database created with the help of mql5 from the outside, say, write a code on node.js and interact with the database. Or the database can be used only with the help of mql5?
lynxntech #: I can't find a thread or posts on the topic - limitation of incompatible parameters in Tester, so that during the initialisation pass when a number of parameters match, optimisation will not take place
У модулей есть свои input параметры, которые прогоняются в оптимизации. Есть ли какая то возможность при оптимизации игнорировать перебор параметров модуля если он выключен. Там можно включать отключать параметры от оптимизации
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.
Good afternoon!
Help please beginner, translate the EA from mql4 to mql5, need to calculate the width of the channel in points on a given number of bars from the current, calculations he do but it is not clear how, appear negative values that should not be.
Example:
Alert: Channel width max. = 1200000.0, Channel width min. - 200000.0
Thank you!
Example:
Alert: Channel width max. = 1200000.0, Channel width min. - 200000.0
Firstly, look in the documentation and realise the purpose and difference between the iHighest and iHigh functions, similarly for iLowest and iLow.
This should give you the right idea.
Example:
Alert: Channel width max. = 1200000.0, Channel width min. - 200000.0
Thank you!
You are getting bar numbers with maximum and minimum price values. Hence the negative values.
BUT!!! In the new version of MT introduced a new function with which you can get in arrays and minimum and maximum prices for a certain number of bars. Then use mathematical functions to get the maximum and minimum price values and calculate the required value using the formula.
You will be the first to use the innovation:))))))
how to receive and send information to MT4 server using api for trades profit , loss etc...
Study API documentation
Can I access the database created with the help of mql5 from the outside, say, write a code on node.js and interact with the database. Or the database can be used only with the help of mql5?
You can. There are no obstacles.
I can't find a thread or posts on the topic - limitation of incompatible parameters in Tester, so that during the initialisation pass when a number of parameters match, optimisation will not take place
This?
https://www.mql5.com/ru/forum/437096#comment_43539784
This?
https://www.mql5.com/ru/forum/437096#comment_43539784
I do it like this: