In another forum I frequent that is for customers of a particular EA, one customer was complaining about the fact that the EA developer hadn't yet fixed the 5th decimal / fractional pricing issue for their EA.
The developer claimed several months ago that this issue required special scripting to solve. Now, 4 months later, I basically said it was ridiculous that it had not been fixed yet - and claimed that it only required a few lines of code to redefine "Point" similar to the method described
here.
So here comes the question. The developer still insists this problem is super complicated and requires special script programming to fix it. Here is the explanation from the developer:
Quote:
|
Hi John. You’re right. More and more brokers are going to fractional pips. However, the fractional pips issue is not a bug in [name removed]. It’s an issue with the way the MT4 platform defines the difference in the number of decimal places. We’re reprogramming the EA and the indicators so that they recognize the difference. This is supposed to be contained within the definition of the variable “Point” within the MT4 platform and EAs use this definition to determine the decimal places. However, many MT4 platforms don’t pass more than 4 decimal places on the EA, so special scripting needs to be included. Our challenge is that we use the “Point” variable throughout the EA and all of the indicators. Thus, it’s not as simple as adding a couple of lines of code to redefine “Point.” I’m hoping to have a working fractional pip program by the end of next week.
|
So my question is this: Have any of you experienced programmers encountered this complicated scripting requirement or issues with the MT4 Platform's value of "Point"?
Even if you assume "Point" is limited to 4 decimals, then that would mean you only have to worry about pairs with Point = 0.001 ----which still only takes a line or two of code.
Or, you could use "Digits" instead of "Point" - which still uses only a few lines of code.
Or you could just use a boolean variable like "UseFractionalPips = true;" to redefine "Point".
I really feel like the developer is either making the problem more complicated than it is (or perhaps other motives). I simply have never read or heard of this issue with "Point" being limited to only 4 decimals - and even if it is you could use "Digits" or other methods to redefine point without some special scripting.
I'm only been programming in MT4 for 18 months, so I thought I would defer to some more experienced programmers as to how complicated the "fix" is for dealing with fractional pip pricing in MT4.
Any thoughts?
Thanks in advance for your help,
-B