Download MetaTrader 5

Experts: A System: Championship 2008 Final Edit

To add comments, please log in or register
They are making profit already using Freelance service. You can join them!
MetaQuotes Software Corp.
Moderator
181337
MetaQuotes Software Corp. 2008.11.28 09:49 

A System: Championship 2008 Final Edit:

Automatic Trading System

Author: Airat Safin

Juan
102
Juan 2008.11.28 13:53  

Thanks for sharing :))

Dosen´t work in backtest??

Airat Safin
1300
Airat Safin 2008.11.28 19:27  
Hello

This code has just the same basic settings as A System: Championship 2008 Revised Edition.
Position management parameters was optimized on the same backtest period 01.01.2008-01.09.2008.
So comparison of backtest results for these codes is being expected to be correct.
Note that initial deposit must be large enough to open all possible positions.

Best regards

Ais

Juan
102
Juan 2008.11.28 20:08  

I mean that in backtest dosen't show any single result, on demo account is trading ok.

Airat Safin
1300
Airat Safin 2008.11.28 21:08  
Hello

If:
1. backtest symbol is "EURUSD";
2. data for "EURUSD" are downloaded from "Tools/History Center" menu;
3. initial deposit in "Expert properties/Testing" tab is equal or greater 100000 USD;
4. backtest uses date from 2008.10.01 to 2008.12.01;
then backtest must run.

Best regards

Ais

josef strauss
26
josef strauss 2008.11.29 14:35  
Ais:
Hello

This code has just the same basic settings as A System: Championship 2008 Revised Edition.
Position management parameters was optimized on the same backtest period 01.01.2008-01.09.2008.
So comparison of backtest results for these codes is being expected to be correct.
Note that initial deposit must be large enough to open all possible positions.

Best regards

Ais



AIS, see that works great in the uerusd. Only there is no extern info for settings once put into chart. Are you interested looking into EA I beleive would need some work for being profitable?

bobby
129
bobby 2008.11.29 21:17  

Hi, thanks to share this code, I have made a backtest on one year and added some features.

Airat Safin
1300
Airat Safin 2008.11.30 02:59  
Hi Funyoo
Hi Joforex

As for this code improvement, I can say following.
I am sure it is possible to achieve performance much better than that obtained one.
Obvious ways to do it are:
1. to enlarge number of working threads and symbols,
2. to optimize thread parameters for small timeframes.
Howewer, all the methods require a lot of manual computation, especially the second one.
The smaller timeframes are chosen the faster optimized parameters change is required.
Now I am developing time metrics based automatic optimization and all previous works including manual computations have been discontinued.
On the other hand I am glad that my code may be useful and I'll try to extend the use.

Joforex, inside "//< extern >" tags 11 parameters are contained to be declared as "extern".
If "avb.IsOptimizing" is set to "1" then trade flows via single thread with these parameters.
Then declare, for example, "extern int avi.InputIndex.1 = 7 ;" and "extern int avi.InputIndex.2 = 7 ;" then you will be able to access them from "Expert properties/Inputs" optimization tab.
These parameters select timeframes for target and trail initial computations.
Valid values are indexes of "int ac.Timeframe []" array, i.e. 1, 2, ..., 9.

Best regards

Ais

chris coombs
109
chris coombs 2008.12.02 20:27  

Ais great EA, but I have a problem. The first day the EA made $1800 on the EUR/USD. The second day no trades. When I looked in the journal it said expert loaded successfully, then the next minute it said expert removed. Any help or comments on this? Thanks Chris

Airat Safin
1300
Airat Safin 2008.12.02 21:57  
Hi Chris

It is easy to check if trade goes correctly and to predict new trade.
Look at "afi.System.SignalToOpen" function, there are two simple rules to open trade.
Also alert must appear when order is being sent.
As for stability, in my terminals this automation works a good many days continuously.
Next generation of A System is expected to be with renewed console output, similar to
Automation sample for the MetaTrader 4 Client Terminal.

Best regards

Ais

chris coombs
109
chris coombs 2008.12.03 20:02  
Ais:
Hi Chris

It is easy to check if trade goes correctly and to predict new trade.
Look at "afi.System.SignalToOpen" function, there are two simple rules to open trade.
Also alert must appear when order is being sent.
As for stability, in my terminals this automation works a good many days continuously.
Next generation of A System is expected to be with renewed console output, similar to
Automation sample for the MetaTrader 4 Client Terminal.

Best regards

Ais

still do not have any trades today

123
To add comments, please log in or register