Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 866
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
Load history. F2.
Thank you!
Can this be the reason why the function that traces the drawdown is not working correctly? I think I did it right, but it is still not only broken, but the trade is still going on.
Thank you!
Could this be the reason why the drawdown feature is not working correctly? Because I seem to have done everything correctly, but it is still not only broken, but the trade is still going on
Hi all.
I need your help, help me to correct my EA or suggest a code or where to read...
for example there are 20 buy orders.
they have a total loss of e.g. $100.
but also among these 20 buy orders there are for example 5 orders that show a profit of eg $20.
how to make an Expert Advisor to find positive orders among the unidirectional ones, count their profit with commission, swap, and spread, and close them when a positive value of "plus" orders is reached....
Without trawl, without modifications.
If you do not know how to do this, please do not hesitate to use MQL4 and help me, because I'm sure I will learn it!
If you have any suggestions or I will send you an EA for modification, please do not hesitate to contact me.
I will follow it here, but for efficient communication, just send me a message by @rs_tm
Here is one of the intermediate results of the test (25% quotes at this stage of the test are sufficient)
Hi all.
Need your help, help me to correct an EA or suggest a code or where to read...
for example there are 20 buy orders.
they have a total loss of e.g. 100$.
but also among these 20 buy orders there are eg 5 orders that show a profit of eg $20.
how to make an Expert Advisor to find positive orders among the unidirectional ones, count their profit with commission, swap, and spread, and close them when a positive value of "plus" orders is reached....
Without trawl, without modifications.
If you do not know how to do this, please do not hesitate to use MQL4 and help me, because I'm sure I will learn it!
If you have any suggestions or I will send you an EA for modification, please do not hesitate to contact me.
I will keep track of it here, but for efficient communication just send me a message(deleted)
Here is one of the intermediate results of the test (25% quotes at this stage of the test are sufficient)
Freelance if you want everything done for you.
Either show the code and they will try to help you where you can't get it right. The forum is for helping those who are learning MQL. The forum is for those who want to learn MQLs.
why the optimisation settings drop out (how to save for optimisation) when moving to the SETTINGS tab and back:
here downloaded:
after
moving to the SETTINGS tab and back - it drops the values for optimisation
why the optimisation settings drop out (how to save for optimisation) when moving to the SETTINGS tab and back:
here it is downloaded:
moving to SETTINGS tab and back - it drops values for optimization
This has been happening in MT5 for a long time. Even 2007 build I was shown resetting parameters. How it is related to the broker's build and version we do not know, but it seems to me there is a relation. The same dependence was observed with minimal lot and lot step. For one and the same broker on the cent, build 2025 shows normally, and on the dollar the minimum lot and the step was 100, while the 2007 build showed 0.01. This is just an explanation of my opinion.
Hopefully the update will fix the situation, as there has already been discussion about this and it has been promised a fix.
This has been happening in MT5 for a long time. Even the 2007 build has shown me the resetting of parameters. We do not know how it is connected between the build and the broker's version, but it seems to me there is a relation. The same dependence was observed with minimal lot and lot step. For one and the same broker on the cent, build 2025 shows normally, and on the dollar the minimum lot and the step was 100, while the 2007 build showed 0.01. This is just an explanation of my opinion.
I hope the update fixes the situation, as there was already a discussion about it and it was promised to fix it.
Thanks for the info. As a matter of fact currently try to test through another broker on MT5, if their builds are different, do I understand correctly? so that the settings are not reset for optimisation.
Have you tried updating?
Then, I don't remember exactly, but it seems that if after setting the parameters I start the test immediately without going back to the "Parameters" tab, the test will be with the parameters set.
Have you tried updating?
Then, I don't remember exactly, but it seems if you start the test immediately after setting the parameters, without going back to the "Parameters" tab, the test will be with the parameters set.
forgot how to update... just downloaded from robot...
I'm not interested in the test, but in optimisation - and this is impossible... because they (the values of the set parameters) - are reset