Edit Your Comment
How To Log Data to file and Check it When MT4 Platform Restart/Re-login ?
会员从Apr 20, 2010开始
808帖子
Aug 11, 2014 at 00:38
会员从Apr 20, 2010开始
808帖子
Problem of EA facing is when Platform restart or EA disconnect and re-initialize result calculation store in RAM lost.
Example :
I want to turn off Turbo Lot for 1 Days after facing 2 continuous loss.
I record the Bars as LossBar=Bars; if( Bars > LossBar + 1440) Turbo=True;
Problem will happened if sudden shut down of Platform.
So how to log the Bars value in file? When initial(), import this value as LossBar=Bars ? Then will solve the data loss error.
Example :
I want to turn off Turbo Lot for 1 Days after facing 2 continuous loss.
I record the Bars as LossBar=Bars; if( Bars > LossBar + 1440) Turbo=True;
Problem will happened if sudden shut down of Platform.
So how to log the Bars value in file? When initial(), import this value as LossBar=Bars ? Then will solve the data loss error.
Information is Gold when come to organised.

*商业用途和垃圾邮件将不被容忍,并可能导致账户终止。
提示:发布图片/YouTube网址会自动嵌入到您的帖子中!
提示:键入@符号,自动完成参与此讨论的用户名。