Search found 5 matches

by jarl
Fri Nov 08, 2013 8:29 am
Forum: General Discussion
Topic: Tick saver to CSV
Replies: 3
Views: 14713

Re: Tick saver to CSV

Thanks,
My problem would be solved by knowing how to obtain {AskVolume} and {BidVolume} in MQL4.

In MQL4:
{Timestamp:yyyyMMdd HH:mm:ss} is TimeToStr(TimeCurrent() - GMToffset *3600,TIME_DATE|TIME_SECONDS)
{BidPrice} is Bid
{AskPrice} is Ask
{BidVolume} is ?
{AskVolume} is ?
by jarl
Thu Nov 07, 2013 8:23 pm
Forum: General Discussion
Topic: Tick saver to CSV
Replies: 3
Views: 14713

Tick saver to CSV

I want to collect tick-by-tick from my broker in a CSV file. The generic tick file format is: Timestamp,Bid price,Ask price,Bid volume,Ask volume 20130101 22:00:39:069,1.32019,1.32072,0.75,0.75 20130101 22:03:14:262,1.32046,1.32056,0.100000001490116,1.58000004291534 ... MQL4 allows me to access to t...
by jarl
Sat Oct 19, 2013 11:26 am
Forum: General Discussion
Topic: How can I launch MT4 in command line?
Replies: 4
Views: 17795

Re: How can I launch MT4 in command line?

I'm trying it, but it still fails.
The file is copied fine, but I get no results at 99.99%.

There is something else I should do, any clue?
by jarl
Thu Oct 17, 2013 1:24 pm
Forum: General Discussion
Topic: How can I launch MT4 in command line?
Replies: 4
Views: 17795

Re: How can I launch MT4 in command line?

I'd found this: You can save fxt with a diferent name (i.e.: xEURUSD1_0.fxt). Then, in init function you can rewrite the fxt files generated by tester. #import "kernel32.dll" int CopyFileA(string strExistingFile, string strCopyOfFile, int OverwriteIfCopyAlreadyExists); #import int init() {...
by jarl
Wed Oct 16, 2013 5:46 pm
Forum: General Discussion
Topic: How can I launch MT4 in command line?
Replies: 4
Views: 17795

How can I launch MT4 in command line?

I want to prepare a batch file in order to do a secuence of backtest, i.e.: start /wait terminal.exe EURUSD.txt start /wait terminal.exe GBPUSD.txt start /wait terminal.exe EURJPY.txt start /wait terminal.exe EURCAD.txt You can see http://forum.mql4.com/47016#611837 if you want to learn to do a back...