- หน้าหลัก
- ชุมชน
- การเขียนโปรแกรม
- How To Log Data to file and Check it When MT4 Platform Resta...
Advertisement
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 url จะฝังลงในโพสต์ของคุณโดยอัตโนมัติ!
เคล็ดลับ: พิมพ์เครื่องหมาย @ เพื่อป้อนชื่อผู้ใช้ที่เข้าร่วมการสนทนานี้โดยอัตโนมัติ