Download MetaTrader 5
To add comments, please log in or register
How to test a program before buying?
MetaQuotes Software Corp.
Moderator
177434
MetaQuotes Software Corp. 2008.05.29 07:45 

New article MetaEditor:Templates as a Spot to Stand On has been published:

It may be news to many our readers that all preparations for writing an EA can be performed once and then used continuously.

Author: MetaQuotes Software Corp.

Mehmet Bastem
240
Mehmet Bastem 2008.05.29 21:14  

Dear Rashid

Please Translate Engish.

 if (ReversTrade)  

This area not appear.

//  ïåğåâîğà÷èâàåì âñå óğîâíè ñ ó÷åòîì ñïğåäà

Rosh
5003
Rosh 2008.06.02 14:15  
I don't look this line. Where is it?
MQL4 Comments
16309
MQL4 Comments 2008.06.02 14:29  

Hello Rashid,

Is it possible to make this EA to do automatically optimization of parameters during real live trade ?

I will explane.

Supose I found that  EA(in this case OSC test) makes profit if I optimize it every 2 days as flolows:

If today is Monday I backtest it for one week back and take for example the parameters that produce highest balance.

In Wednesday at 00:00 I optimize parameters again for 5 days back and get parameters that produce highest balance.

Ca you make this EA to trade and make optimization automatically during trade?

Regards,

Remifa

Rosh
5003
Rosh 2008.06.02 16:24  
remifa:

Hello Rashid,

Is it possible to make this EA to do automatically optimization of parameters during real live trade ?

...

Hmm... I didn't think about it. In firstly, did you see article Automated Optimization of a Trading Robot in Real Trading?
MQL4 Comments
16309
MQL4 Comments 2008.06.04 12:13  

Hello Rashid,

I am sorry for delay,but was out of town.However I know about this article,but it is not what I need.First  2 terminals should be opened,which is not practical and it only write optimization results to a file,without "changing" parameters automatically.Can you think about this and hopefully make it?

Regards,

Remifa

MQL4 Comments
16309
MQL4 Comments 2008.08.22 11:40  

Beautifully presented order management system!

One question though. Step 4 closes an open order either by time or by condition. In which block of code do I specify which orders to close and what conditions to use to determine those order ticket numbers?

Rosh
5003
Rosh 2008.08.22 13:06  
shulic:

Beautifully presented order management system!

One question though. Step 4 closes an open order either by time or by condition. In which block of code do I specify which orders to close and what conditions to use to determine those order ticket numbers?

Thank you very much for your compliment!

These orders to be closed must be specified in function PrepareTicketsToClose(). After this function has completed its operations, the array ticketsToDelete[] should contain tickets of the orders to be closed.

pindurs
80
pindurs 2010.01.09 22:51  

You will have to make a little effort of imagination and understand that for non russian readers, the russian comments in the code look a bit like this:

你不明白这一点,你呢?

or like this:

!دهج لذب ، ايه

or even like this:

あなたの代わりに、この翻訳をお客様の代理を改善する必要があります。

It would so great if the files in the Russian articles would contain the russian comments and the files in the english articles the english comments (which can be seen in the examples), sometimes.

Thanks still for this great article, but not for the hour I will spend in looking for the the english comments and putting them back into the code.

Sorry for this comment, neverthless your code is doing very well and I could adapt it very easily.

Thanks a lot !

Simon Gniadkowski
Moderator
17963
Simon Gniadkowski 2012.08.14 12:57  
pindurs:

You will have to make a little effort of imagination and understand that for non russian readers, the russian comments in the code look a bit like this:

你不明白这一点,你呢?

or like this:

!دهج لذب ، ايه

or even like this:

あなたの代わりに、この翻訳をお客様の代理を改善する必要があります。

Try this, it is mostly converted to English . . . just one or two comments left in non-English.

Of course anyone could have done this, simple copy and paste from the article above.

bballllama
69
bballllama 2012.08.21 17:20  
Hey, thank you so much for making this template it will help a lot!
/
To add comments, please log in or register