and don't forget Use the Russian-Speaking Knowledge Base of the MQL4.community!
I will try to read the document somehow though, it seems to have the exact solution to my problem.
Dear MetaQuotes Organization, is it possible to integrate this function in the EA that will be used in the automatic championship? I mean, it will take probably an amount of CPU of the server during the optimization, and it will optimize at least 1 time everyday, so, because the EA will stay on your servers, i just want to ask if there is a problem for you?
Dear MetaQuotes Organization, is it possible to integrate this function in the EA that will be used in the automatic championship? I mean, it will take probably an amount of CPU of the server during the optimization, and it will optimize at least 1 time everyday, so, because the EA will stay on your servers, i just want to ask if there is a problem for you?
Experts can contain limitations to be used outside the Championship, but they must:
|
---|
Great article.
I need clarification on the last text line below. What folder? Where is new place established in it?
Thanking you in advance,
Wackena
Copy of text from article.
Installation of the auto-optimizer
For the accomplishment of mission it is necessary:
to copy MACD Sample_1..mq4 into folder expert of the established and connected to the Internet terminal MetaTrader.
to make a copy of folder with the terminal MetaTrader into the new place established in it.
One of my variable requires a floating point number. I've noticed that if one of the 4 optimization variables is a double data type, it produces a divide by zero in the Experts tab.
This code has divide by zero error.
extern int StartTime = 23; extern int HiLi = 28; extern int LoLi = 10; extern double avg = 2.7; StartTime =GlobalVariableGet(Per1); HiLi =GlobalVariableGet(Per2); LoLi =GlobalVariableGet(Per3); avg =GlobalVariableGet(Per4);
The error is corrected when;
extern double avg = 2.7
is changed to;
extern int avg = 3
or;
avg =GlobalVariableGet(Per4);
is commented out;
// avg =GlobalVariableGet(Per4);
Wackena
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have a system (EA) that I want to trade live but I don't want to sit in front of the screen and do this whole stuff manually.
The system needs to be optimized after each trade and continue the automatic trading with new values. I heard WinExec or some other DLL call might be able to do this. I'm not a professional.
I trade 5-10 pairs and each trade usually takes at least 2-3 days so there's time to run the optimization backtests. The key is to use the best values of the results for future trades, and repeat this after each trade of a pair. Of course if I trade EUR/USD and GBP/USD at the same time, when euro closes one trade there's no need to run a backtest on G/U too, just the euro.
So basicly here's what I need: some built-in feature to my EA to call the external strategy tester after each trade, run the test and pick the best values and use them during the next trade. All this automatically without ANY manual intervention.
I'm interested in EVERY possible solution, I have a dedicated Windows server to run this stuff only. I will pay for the best solution if it really works as desired. Please quote your price and an outline how would you work this out.
Thanks.