Hi, I think I've messed up here somewhere!
'static' - semicolon expected C:\PROGRAM FILES\METATRADER 4\experts\My_First_EA.mq4 (42, 7)
'First_time' - variable not defined C:\PROGRAM FILES\METATRADER 4\experts\My_First_EA.mq4 (50, 7)
I think I read this somewhere but can't find it now.
I've set the EA up and it works ok.
Now I want to refine it!
The first thing I want to do is to stop the EA taking a trade immediately the MA's cross because (as we all know to our cost!) the price...
I am just playing with the ea from CoderGuru's course and have tried to add another MA.
But Meta-editor is returning an error. Error = 'if'-variable expected C:\Program files\ etc.\My_First_EA.mq4 (66,...