Download MetaTrader 5

MetaTrader 4 Build 574 with Updated MQL4 Language and Market of Applications Released - page 43

To add comments, please log in or register
Carl Schreiber
6989
Carl Schreiber  
Does an alphabetic list of all functions, keywords, constants,.. exist?

May be with a comparison of the old one to the new ones with what has been changed?

gooly

Ubzen
5394
Ubzen  
gooly:
Does an alphabetic list of all functions, keywords, constants,.. exist?

May be with a comparison of the old one to the new ones with what has been changed?

gooly



1) Yes. Documentation || Searching Docs || Sorting Docs.

2) No. Meta-Quotes could improve in this area.

Carl Schreiber
6989
Carl Schreiber  
ubzen:



1) Yes. Documentation || Searching Docs || Sorting Docs.

2) No. Meta-Quotes could improve in this area.


add 1)


If I open e.g. mt4-Docs-String I get

Ubzen
5394
Ubzen  
gooly: Do you have a link for "Documentation || Searching Docs || Sorting Docs"?
  • There's no On-line Documentations for the New-Mql4 yet.
  • You'll want to be using the Docs from the Meta-Editor going forward
  • You can get to that documentation by pressing F1 (while inside codes)
  • You can get to that documentation by going Help>Mql4-Reference. (via Meta-Editor)
  • Once you open the help-files you can use Contents || Index || Search


Carl Schreiber
6989
Carl Schreiber  

Thanks ubzen!

Now I have another question :)

I have written a powershell script for the vps that checks whether the mt4 are a) up and running and b) responding otherwise it kills and 're-births" them.

Now I have an indicator that uses several highs and lows of 28 pairs and this causes this problem:

After the start of the mt4 (with this indicator on its first chart) the mt4 is about 5 min 'off-line' on Win 7 (no it's not an endless loop!), no reaction on mouse, keyboard,.., no graphics been updated if a window of another appl. is pulled across its window and so on.

Will the new mt4 b600+ have a better 'behaviour' as it will spend every now and then an 'eye' on what's going on around it? It would make it easier to detect a hanging but not crashed mt4.

Any hints on that topic would be appreciated too.

Gooly

Alain Verleyen
Moderator
32008
Alain Verleyen  
gooly:

Thanks ubzen!

Now I have another question :)

I have written a powershell script for the vps that checks whether the mt4 are a) up and running and b) responding otherwise it kills and 're-births" them.

Now I have an indicator that uses several highs and lows of 28 pairs and this causes this problem:

After the start of the mt4 (with this indicator on its first chart) the mt4 is about 5 min 'off-line' on Win 7 (no it's not an endless loop!), no reaction on mouse, keyboard,.., no graphics been updated if a window of another appl. is pulled across its window and so on.

Will the new mt4 b600+ have a better 'behaviour' as it will spend every now and then an 'eye' on what's going on around it? It would make it easier to detect a hanging but not crashed mt4.

Any hints on that topic would be appreciated too.

Gooly

Seems you have to improve efficiency of this indicator, not ?
Carl Schreiber
6989
Carl Schreiber  
I did what ever is possible but this is what happens (nothing else needs cpu time more the 0.5%!):
Terminal started by pressing the' Terminal-Button' of the editor at exactly 23:00:00
First mt4-window with last time stamp 23:11:13 - than nothing here after for the next 5 minutes.
1 cpu-kernel is running at ~100%, no graphical update until 23:16:11 - now the mt4 is back for me to play with.


But in the Expert-Tab I read 'only':

2014.02.07 23:11:44     Swiss Army EA v2.01 EURUSD,M1: initialized
2014.02.07 23:11:31     myIndi_v01 EURUSD,M1: checkin as of bar: 7000
2014.02.07 23:11:17     myIndi_v01 EURUSD,M1: checkin as of bar: 7000
2014.02.07 23:11:13     SuperStop GBPAUD,M1: initialized
2014.02.07 23:11:13     SuperStop GBPAUD,M1: loaded successfully
2014.02.07 23:11:13     SuperStop CADCHF,M1: initialized
2014.02.07 23:11:13     SuperStop CADCHF,M1: loaded successfully
2014.02.07 23:11:13     SuperStop USDCHF,M1: initialized
2014.02.07 23:11:13     SuperStop USDCHF,M1: loaded successfully
2014.02.07 23:11:12     SuperStop CHFJPY,M1: initialized
2014.02.07 23:11:12     SuperStop CHFJPY,M1: loaded successfully
2014.02.07 23:11:12     SuperStop NZDCAD,M5: initialized
2014.02.07 23:11:12     SuperStop NZDCAD,M5: loaded successfully
2014.02.07 23:11:12     SuperStop NZDJPY,M1: initialized
2014.02.07 23:11:12     SuperStop NZDJPY,M1: loaded successfully
2014.02.07 23:11:12     SuperStop EURUSD,M1: initialized
2014.02.07 23:11:12     Swiss Army EA v2.01 EURUSD,M1 inputs: input_action=...
2014.02.07 23:11:12     Swiss Army EA v2.01 EURUSD,M1: loaded successfully
2014.02.07 23:11:12     SuperStop EURUSD,M1: loaded successfully
2014.02.07 23:11:06     myIndi_v01 EURUSD,M1: checkin as of bar: 7000
2014.02.07 23:11:06     myIndi_v01 EURUSD,M1: initialized
2014.02.07 23:11:04     myIndi_v01 EURUSD,M1: loaded successfully

As you can see I don't use all available bars (~95'000) of the m1-chart, only 7000 (~10%).

The line

checkin as of bar: 7000

is from the first functions in start():

int start() {
   int limit,counted_bars=IndicatorCounted();
   if(counted_bars>0) counted_bars--;
   limit=Bars-counted_bars;
   if (limit>100) BarOne = -1;
..
   for(bar=limit; bar>=0; bar--) {
       myFunc(bar);
   }
 }

int myFunc(){
        if (bar>=BarOne) { BarOne=bar; Print("checkin as of bar: ",bar); }
..
}

But the functions in start() is passed 3 times and this does not take that much time if I trust the time stamps in the Expert-Tab!!

And the time-gap seems to be after the last printed line in the Expert-Tab.

So I would like if the new mt4 would be so nice and polite to answer if my powershell-script is asking whether the mt4 is hanging or not!

I think I can identify the problem. My m1-charts have 90'000 bars and mt4 'disappears' until all the 97'000 bars are correctly graphically calculated and placed.

So it would be nice if the new mt4 once and a while would be able to send back an 'I am ok'.

Gooly

eric
99
eric  

Backtesting seems much faster on 604 :-)

Do you confirm ? Is it multithread ?

whroeder1
15331
whroeder1  
gooly: Does an alphabetic list of all functions, keywords, constants,.. exist? May be with a comparison of the old one to the new ones with what has been changed?
Do you know how to use the search function? Alphabetic Index of MQL4 Functions (600+) - MQL4 forum
Andreas Racic
129
Andreas Racic  

i am wondering how you guys are able to launch that many instances on a machine? i tried starting about 20 mt4 which did nothing but slow the system so much that basically everything was freezing.

i am using 64 cores, 32 gb. what might be the reason? 

1...3637383940414243
To add comments, please log in or register