Backtesting

Gabriele Crepaldi
39

Hi to everybody.

I tried many backtest using the Simple MACD but I have a question...

Using the Tester In Expert properties there are some Inputs of Variable

Value Start Step and Stop

How this values change the behaviour of Expert Advisor?

When I drag and drop the Expert the program don't ask this 4 Veriables but only 1.... VALUE

Is there a possibility to put inside the code these 4 variables?

If not how disable using backtest?

Thank you in advance

Gabriele Crepaldi
39
Gabriele Crepaldi  
Gabryc wrote >>

Hi to everybody.

I tried many backtest using the Simple MACD but I have a question...

Using the Tester In Expert properties there are some Inputs of Variable

Value Start Step and Stop

How this values change the behaviour of Expert Advisor?

When I drag and drop the Expert the program don't ask this 4 Veriables but only 1.... VALUE

Is there a possibility to put inside the code these 4 variables?

If not how disable using backtest?

Thank you in advance

Hi to everybody.

I tried many backtest using the Simple MACD but I have a question...

Using the Tester In Expert properties there are some Inputs of Variable

Value Start Step and Stop

How this values change the behaviour of Expert Advisor?

When I drag and drop the Expert the program don't ask this 4 Veriables but only 1.... VALUE

Is there a possibility to put inside the code these 4 variables?

If not how disable using backtest?

Thank you in advance

Gabriele Crepaldi
39
Gabriele Crepaldi  
Gabryc wrote >>

Hi to everybody.

I tried many backtest using the Simple MACD but I have a question...

Using the Tester In Expert properties there are some Inputs of Variable

Value Start Step and Stop

How this values change the behaviour of Expert Advisor?

When I drag and drop the Expert the program don't ask this 4 Veriables but only 1.... VALUE

Is there a possibility to put inside the code these 4 variables?

If not how disable using backtest?

Thank you in advance

Thank you for the attention... :-(

[Deleted]  

These values are there for optimization reasons.

If you want to test the best parameters for the EA,

you can put a range of parameters.

Starting at start, advancing by step and ending at stop.

For example if you have parameter A which is integer, you can set it like this :

A : start=1, step=1, stop=10

Then, when optimizing and backtesting, it will run 10 times

and each time it will give A a different value.

When you run an expert to make actual trades, it can only use one number.

Gabriele Crepaldi
39
Gabriele Crepaldi  
TuTBaluT wrote >>

These values are there for optimization reasons.

If you want to test the best parameters for the EA,

you can put a range of parameters.

Starting at start, advancing by step and ending at stop.

For example if you have parameter A which is integer, you can set it like this :

A : start=1, step=1, stop=10

Then, when optimizing and backtesting, it will run 10 times

and each time it will give A a different value.

When you run an expert to make actual trades, it can only use one number.

Thank you TuTBaluT.

If I understood correct... If I will put Value 30, Start 30, Step 0, Stop 30

it will run only one time and will be more similar with the real....

because it will use only 30....

Gabryc

[Deleted]  

You have no reason to do that.

Jusy put 30 in the "value" parameter and untick the checkbox on the left.

Gabriele Crepaldi
39
Gabriele Crepaldi  
TuTBaluT wrote >>

You have no reason to do that.

Jusy put 30 in the "value" parameter and untick the checkbox on the left.

Thank you very much for your help!

Taskin Osman
772
Taskin Osman  
Btw MACD strategy stopped working since 7 years. If you over optimise it it may look like working, but it will 90% chance not work.
Gabriele Crepaldi
39
Gabriele Crepaldi  
fx1.net:
Btw MACD strategy stopped working since 7 years. If you over optimise it it may look like working, but it will 90% chance not work.

My question was not about that... however thank you.