| / | Forum |
|
kminler
2008.07.04 18:43
Hi all The nice thing about MQL4 is that it encourages humility. No matter how hard I try I cannot optimize my EA. Checked optimization box, opened experts properties, open inputs tab----cannot input anything. As I click on each line for variables it turns solid blue and for step and stop there are zeros and I cannot change them. I am sure that I'm missing something really basic and simple but I am baffled. The EA is loaded and working, chart is loaded, help!!! thanks Keith |
|
Working with Files. An Example of Important Market Events Visualization The article deals with the outlook of using MQL4 for more productive work at FOREX markets. |
|
BarrowBoy
2008.07.04 21:30
KM Post the list of externs at the top of the EA code -BB- |
|
kminler
2008.07.06 12:43
Hey BB here they are: extern double StopLoss = 30; //SL for an opened order I'm not too sure why they are of interest but I'll certainly take all the help I can get. Thanks keith |
|
BarrowBoy
2008.07.07 16:42
Keith I did wonder if they were all bool, but clearly not :) I'd either wait for Rosh/Stringo to drop by or what I'd do is download another installation of MT from another source and give it a go. If the PC has had a hang or crash, the DLLs of MT can get damaged and the resulting ex4 may compile but not be functional...? I had one installation like this that would compile & optimise but would not fire its start() function when attached to a chart... Recompiled it in another installation, copied it back to the first one & off it went :) Download from:- http://www.metaquotes.net/terminal/ -- http://www.alpari.co.uk/en/metatrader4/ -- -BB- |
|
kminler
2008.07.07 17:15
Hi BB Thanks for the thoughts. I have the identical problem on two different demo accounts, different brokers and downloads. So I don't hink it is a faulty file. I'm beginning to suspect that the brokers may have blocked optimization on demo acounts. I'll fire off an email to their support. Kind of strange that they would both use the same method to block optimizing. Kind of strange that no one else here has had this problem with a demo account. Anyhow onwards and upwards and thanks again. Keith |
5089 |
stringo
2008.07.07 17:27
Double click on the Start value cell, then change it, then press enter key Double click on the Step value cell, change, enter Double click on the Stop value cell, change, enter OK button |
|
kminler
2008.07.07 18:15
stringo wrote >>
Double click on the Start value cell, then change it, then press enter key Double click on the Step value cell, change, enter Double click on the Stop value cell, change, enter OK button Such a simple thing! The double click works, cells now accept values. Thanks Keith |