Forex
Google

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course
Forex Forum FAQ Members List Calendar Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

 
 
LinkBack Thread Tools
 
Old 02-11-2007, 03:50 PM
thanhhaf2003 thanhhaf2003 is offline
Junior Member
 
Join Date: Oct 2006
Posts: 1
thanhhaf2003 is on a distinguished road
How to save to *.TXT file

how to save Current ask price to the file c:\current.txt
and how to read it by expert . someone give me code . thank very much
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 02-11-2007, 07:41 PM
european's Avatar
european european is offline
Senior Member
 
Join Date: Apr 2006
Posts: 281
european is on a distinguished road
int handle=FileOpen("fxlog.csv", FILE_CSV|FILE_WRITE|FILE_READ, '\t');
FileSeek(handle, 0, SEEK_END);
FileWrite(handle, DoubleToStr(Ask, 4));
FileClose(handle);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Simple Save Data To A File 67-17454 Tools and utilities 8 07-01-2008 04:20 PM
Can an EA save to and read from a preset file? ZTrader Questions 0 03-05-2007 09:35 PM
What is .set file? maniek Questions 0 03-31-2006 08:20 PM
Mt3 EXP file forexpipmaster General Discussion 7 02-03-2006 05:17 PM


All times are GMT. The time now is 09:56 PM.