Mmmhh. I can only export the XML file; no MQ4
Best posts made by hilavoku
-
RE: line on chartposted in Questions & Answers
Hi.
As you have spoken of the 'draw horizontal line' block. When i draw such a line with the help of the block i would like to reference it like a handle. So for example i have the ability to move the line 10 pips up. Is this possible?
If I could give the line a name then i could use that name when using the 'For each object' block. Its only a workaround but would make it possible to be really 'aware' of object.Thanks in advance
hilavoku
Latest posts made by hilavoku
-
RE: Read content of Expert -Tab Log entriesposted in General Discussions
@spuzy

I know where the log files are but MT4 doesn't write the log files to disk when they change in MT4.
MT4 does create the log file when you open the log folder within MT4 for example. You can open the log folder with teh windows explorer and you won't see a log file from the current day.
When you now right click into the history log in MT4 and select 'Open', MT$ will immediately create the log file.
There also seems to be no way to force MT4 to write the log to disk when you need it.
Thats the problem... -
RE: Read content of Expert -Tab Log entriesposted in General Discussions
Thanks Spuzy for the reply.
There is a EA running which writes some info data which you can see in the 'Experts' Tab in MT4. The problem is that MT4 won't flush the Log data directly from memory to disk. Then it won't be a problem for my external program to get the log data.
I know the 'Write to file' block but it can't get the data from that tab. So I'am stuck at the moment.
-
Read content of Expert -Tab Log entriesposted in General Discussions
Hi.
I have running an EA which outputs some information in the Experts-Tab Log on the MT4 screen.
I want to write an indicator which can read those entries and write them to a csv file.
I can't find a fxDreema command for reading those outputs.Can somebody point me into the right direction?
Thanks in advance!
hila -
RE: TicksData functionposted in Bug Reports
You have a function TicksData().
I think there is a bug in it.
if (shift<=0) { if (type==MODE_ASK) { return(MarketInfo(symbol, MODE_ASK)); } else if (type==MODE_BID) { return(MarketInfo(symbol, MODE_BID)); } else { double mid=((MarketInfo(symbol, MODE_ASK)-MarketInfo(symbol, MODE_BID))/2); return(mid); }I think when you wan't to return the mid value it should be
double mid=((MarketInfo(symbol, MODE_ASK)**+**MarketInfo(symbol, MODE_BID))/2);see you
hila -
RE: last action at tickposted in Questions & Answers
That sounds cool. To have more then one event pages. Nice.
When I have more then one block with a text-ID. Will they be executed in alphabetical order? -
RE: last action at tickposted in Questions & Answers
Puuuhhh.
When I give this special block the ID 999 which at that moment would be the greatest one then its okay but when I add a new block then the new one will be 1000 and I have a problem.When do you wan't to change the handling of the IDs? Do I have then still the possibility to use the 'Run block' block?
-
RE: last action at tickposted in Questions & Answers
Hiho.
I wan't to have a block which should be running just as a last action before the EA waits for the next tick.
Is there a chance? Something with the block ID? -
RE: Custom function errorposted in Questions & Answers
Working fine!
I'am the only person here which uses custom functions!? Wondering...
