I have some codes to print the time in both indicator and EA. My period is M5. The time printed in red color is the time when indicator/EA gives the signal. I want to know who print the time in yellow color and blue color?
Why the time in blue color is not print every 5 minutes? Thanks!
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.
English version:
I have some codes to print the time in both indicator and EA. My period is M5. The time printed in red color is the time when indicator/EA gives the signal. I want to know who print the time in yellow color and blue color?
Why the time in blue color is not print every 5 minutes? Thanks!
Chinese version:
我想问一下EA的日志中第一排和第二排系统自动输出的这个时间是什么时间?
我的入场时间是M5, 我在指标和EA中Print输出的时间都是以5分钟为单位的,但是系统最前面这个时间却不是,这个是为什么呢?
在指标和EA中输出日志的代码是:Print("coo01_trade_close", TimeToStr(Time,TIME_DATE|TIME_SECONDS))
2008.08.13 20:48:31 2008.08.11 18:33 cool01_ea EURUSD,M5: cool01_ea---condition2008.08.11 18:30:00---EURUSD---5---op_buy closed
2008.08.13 20:48:31 2008.08.11 18:33 cool01_trade_close EURUSD,M5: coo01_trade_close2008.08.11 18:30:00---EURUSD---5---op_buy closed
2008.08.13 20:48:31 2008.08.11 18:33 cool01_ea EURUSD,M5: cool01_ea---condition2008.08.11 18:30:00---EURUSD---5---op_buy closed
2008.08.13 20:48:31 2008.08.11 18:33 cool01_trade_close EURUSD,M5: coo01_trade_close2008.08.11 18:30:00---EURUSD---5---op_buy closed
2008.08.13 20:48:31 2008.08.11 18:33 cool01_ea EURUSD,M5: cool01_ea---condition2008.08.11 18:30:00---EURUSD---5---op_buy closed
2008.08.13 20:48:31 2008.08.11 18:33 cool01_trade_close EURUSD,M5: coo01_trade_close2008.08.11 18:30:00---EURUSD---5---op_buy closed
2008.08.13 20:48:29 2008.08.11 16:06 cool01_ea EURUSD,M5: cool01_ea---condition2008.08.11 16:05:00---EURUSD---5---op_buy closed
2008.08.13 20:48:29 2008.08.11 16:06 cool01_trade_close EURUSD,M5: coo01_trade_close2008.08.11 16:05:00---EURUSD---5---op_buy closed
2008.08.13 20:48:29 2008.08.11 16:06 cool01_ea EURUSD,M5: cool01_ea---condition2008.08.11 16:05:00---EURUSD---5---op_buy closed
2008.08.13 20:48:29 2008.08.11 16:06 cool01_trade_close EURUSD,M5: coo01_trade_close2008.08.11 16:05:00---EURUSD---5---op_buy closed
2008.08.13 20:48:29 2008.08.11 16:05 cool01_ea EURUSD,M5: cool01_ea---condition2008.08.11 16:05:00---EURUSD---5---op_buy closed