Yalnızca ürünü satın alan veya kiralayan kullanıcılar yorum yazabilir
12
Stanislav Korotky  
Here is the files with examples (attached):
  • MA.mq4 - a simplified version of standard EA "Moving Average" with included library';
  • MaExampleTesterSets.zip - 2 parameter sets for this EA optimization in the tester, in rolling walk-forward mode and cluster analysis mode;
  • MaExampleFiles.zip - contains csv- and gvf-files with intermediate results of the EA optimization produced by WFO library, and 2 html-reports generated from these data by WFO reporter using the following parameters:
    • InputVariablesFile = MAclusterexample.gvf - for the cluster report;
    • InputVariablesFile = MAclusterexample.gvf, WindowSize = 90, StepSize = 10 - for the rolling walk-forward report built as drill-down for the cluster report.

Dosyalar:
Stanislav Korotky  
Trial version is available. It works on EURCHF D1 only.
Stanislav Korotky  

If after downloading from the Market the library is placed into MQL4/Experts/Market folder, you need to move it to MQL4/Libraries to make it available for embedding into your expert advisers.

I don't know why this happens and am trying to clarify the matter with MQ support, but to no avail so far.

Stanislav Korotky  
Unfortunately, trial (demo version) became unavailable at the moment. This is not a problem of the product (it does support demo license checkup), this is how the Market works. I'm trying to claify the matter with the Market support, but they can't give a reasonable answer.
Stanislav Korotky  
Since MetaQuotes is still incapable of fixing the problem with the missing "Free Demo" button, you may ask for a time-limited demo via personal messaging.
Stanislav Korotky  

The library has been ported to MetaTrader 5. New product is available here -> WalkForwardOptimizer MT5.

Please note that new product has many advantages over MetaTrader 4 version.

Tomonari Takahashi  

WalkForwardOptimizer is good solution.

I have been able to do the test very efficiently.

Although I mainly use wfo_built_in_loose as an estimator, could you please tell me the calculation formula of this estimator?

Stanislav Korotky  
Tomonari Takahashi:

WalkForwardOptimizer is good solution.

I have been able to do the test very efficiently.

Although I mainly use wfo_built_in_loose as an estimator, could you please tell me the calculation formula of this estimator?

The estimator wfo_built_in_loose is calculated by the following formula:

result = sign(Sharpe) * sqrt(|Sharpe|) * sqrt(PF) * Ntrades * max(Profit, 0) / 100;

where Sharpe is the Sharpe ratio, PF - profit factor, Ntrades - number of trades, Profit - netto profit;

sign is the signum function, sqrt - square root, |...| - absolute value.

If PF is larger than 10, it's replaced with 10 * sqrt(Ntrades) .

All these are empirical, so please don't ask for an inference or proof. ;-)

Tomonari Takahashi  
Stanislav Korotky:

The estimator wfo_built_in_loose is calculated by the following formula:

where Sharpe is the Sharpe ratio, PF - profit factor, Ntrades - number of trades, Profit - netto profit;

sign is the signum function, sqrt - square root, |...| - absolute value.

If PF is larger than 10, it's replaced with 10 * sqrt(Ntrades) .

All these are empirical, so please don't ask for an inference or proof. ;-)

Thank you very much!

I can understand that there is no absolutely correct formulas for finding the optimal value.

The wfo_built_in_loose function estimates the desired value for my usage and is very useful.

AbbyQueen  

Did you have change mqh of 1.4 version?  I can't compile with embedding your code you described on the overview.

AbbyQueen  
AbbyQueen:

Did you have change mqh of 1.4 version?  I can't compile with embedding your code you described on the overview.

I saw the example "MA"
this two  are parameters of indicators
Is it mean I can only optimize tow parameters? How can I do if I have more parameters need to optimize?

Stanislav Korotky  
AbbyQueen:

I saw the example "MA"
this two  are parameters of indicators
Is it mean I can only optimize tow parameters? How can I do if I have more parameters need to optimize?

I'm not sure which example do you mean, because the example with MA does not have input parameters you have mentioned.

Of course, you can optimize as many parameters as you wish. Embedding the library does not require to change your algorithm and common principles of using EA.

Feel free to send your questions and further details to me via PM (private messaging).

Ernest Klokow  

As far as I can see I am doing everything right but I get zero values in my csv file



Stanislav Korotky  
Ernest Klokow:

As far as I can see I am doing everything right but I get zero values in my csv file


Feel free to send all required details to me via private messaging.

JohnnyBonnyBoy  
Ernest Klokow #:

As far as I can see I am doing everything right but I get zero values in my csv file



Hey there, I am currently having the same issue. Were you able to solve it?
Yalnızca ürünü satın alan veya kiralayan kullanıcılar yorum yazabilir
12