Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 679
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
Thank you.
Here is an example of how it may look:
if i > 100
if i >3000
open the log file, there's a full report
open the log file, there's a full report
Thanks, opened the log file, indeed all the countdown starts with zero................ why is not everything written in the log?
How do I get everything to show up in the log, I need the entire timing, I'm looking for a bug in the algorithm.
Thank you, opened the log file, indeed all the countdown starts from zero................ why is not everything written in the log?
How do I get everything to show up in the log, I need the entire timeline, I'm looking for a bug in the algorithm.
Because logging and working with graphical objects takes a lot of resources (time), MT is optimized for it, and can "swallow" part of the log, but quickly execute the script body itself
add Sleep(120) after Print().
It's not convenient to open each time log file, txt which weighs 7+GB.......
Delete the log file periodically, it is recorded by date, if you only write experiments in it today, why do you need such a big file?
Hello.I would like to make a drawdown of 10% so that if I have a drawdown for example, my Expert Advisor will not open new orders, it will just catch up the open ones to TP and that's it, only the averaging ones will open. This will help me not to fall into a big drawdown, if my trading is performed on several pairs. I understand the work of the function and I wish I could implement it.
Guys, please help.
Good evening.
First attempts to write an EA. Can you please tell me why my Expert Advisor opens only Buy? Where is the error?
Good evening.
First attempts to write an EA. Can you please tell me why my Expert Advisor opens only Buy? Where is the error?
Insert (into) the code more carefully :-)
I cannot see where ABS_High is changed, it seems to be constant 0 and the TD_Close>ABS_High condition is always correct