After you compiled EA and started testing it, its properties (settings) are written down into a file. You need to change them manually.
If you wrote TP = 400 in the EA, then it means you set default value to 400.
In order for the EA to use that value in strategy tester you need to set it in the EA settings. Or simply use default values (there is a button for that, but I have no idea what is it called, my MT4 is russian).
Anyway just change the value in the properties.
I also recommend you setting best values as default values - each time you compile an expert that is attached to a chart, default values are being used.
Quote:
Originally Posted by MQL4
Shinigami,
I need Your help:
Before, it was:
PHP Code:
extern double TakeProfit = 20;
Then, I changed it to
PHP Code:
extern double TakeProfit = 400;
And the parameters, the inputs for the EA still show 20!!!!!!!!!
What's the problem?
Thanks in advance.....
MQL4. 
|