Hi Coders,
Could you please help a coding newbie add a symbol suffix auto-detect function to an EA?
The EA was written in 2009, so I guess the code would have to comply with the pre-600 build language, right? (I have the old MetaEditor to compile it).
Here is what I found so far (from here, 2009):
and another one here (2010).
The first one refers to an indicator, while the second to EAs. Since both look similar, I guess it doesn't get much more complicated than that.
From what I understand, the code goes in the init section, right?
My questions:
1) is that the right code?
2) if yes, is anything else needed and if yes, what and where to put it?
As far as I looked, many traders struggle with the symbol suffix problem, so if there is a kind Coder to give us a hand, here could be a very useful self-help resource for anyone.
Many thanks!!
Could you please help a coding newbie add a symbol suffix auto-detect function to an EA?
The EA was written in 2009, so I guess the code would have to comply with the pre-600 build language, right? (I have the old MetaEditor to compile it).
Here is what I found so far (from here, 2009):
and another one here (2010).
The first one refers to an indicator, while the second to EAs. Since both look similar, I guess it doesn't get much more complicated than that.
From what I understand, the code goes in the init section, right?
My questions:
1) is that the right code?
2) if yes, is anything else needed and if yes, what and where to put it?
As far as I looked, many traders struggle with the symbol suffix problem, so if there is a kind Coder to give us a hand, here could be a very useful self-help resource for anyone.
Many thanks!!
mind over matter