Optimization on the mt4 platform, need help running it.

 

Hello, i am new to this site but i have a pretty general question i hope.


I am trying to back test an EA, i was told and have read that using the optimization button it will run through all the numbers and pick the best setting for my EA.


So now to my question, when i use the opt button it doesnt run through numbers it only test the numbers i set for SL Or TP.


Please help!

 

You have to set the range of values you want to use for your extern variables . . . it then runs through that range.

Have a read here: https://www.mql5.com/en/articles/1467

 
Thank You RaptorUK, will give it a read.
 
Only thing i cant figure out is how to change the sl or tp size and how many passes it takes to find the best results.
 
Post the bit of your code where you have your extern variables . . .
 
mbro:
Only thing i cant figure out is how to change the sl or tp size and how many passes it takes to find the best results.
Click on Expert Properties. Check the external variables you want optimized, set the start, step and end

Check optimization (next to open chart)

Press start.
 

the start ste and stop are the range i want tested? sorry to ask but i am curious, what does start, step,and stop mean?

Start= minimum?

step=?

Stop= max?

 

i found it fella's, thanks for the help!!!

Start Value – The value you start the variable at.

Stop Value – How High you want the variable to be tested to.

Step Value – The increment you want the backtester to move through the Start/Stop range you select.