Hi All,
I came across this article at mql4.com where it says you can save some standard functions under .mq4 files and then attach these files to your EA with a command like (to simplify your EA coding)
so i found this TrailingStop code, saved it as TrailingStop.mq4, no compiling errors.
and then tried to link it as the article mentions but when I compile my EA it gives an error like
here is the article
http://articles.mql4.com/209
just before the 3rd Code Box it mentions attaching.
So did I get this totally wrong or what might I be doing wrong?
I came across this article at mql4.com where it says you can save some standard functions under .mq4 files and then attach these files to your EA with a command like (to simplify your EA coding)
Inserted Code
#include <OneOrderControl.mq4>
so i found this TrailingStop code, saved it as TrailingStop.mq4, no compiling errors.
and then tried to link it as the article mentions but when I compile my EA it gives an error like
QuoteDisliked'TrailingStop.mq4' - cannot open the program file
here is the article
http://articles.mql4.com/209
just before the 3rd Code Box it mentions attaching.
So did I get this totally wrong or what might I be doing wrong?