I tell Pro to do this: 1.46305-1.46303. Pro answers 0.00001 ...
How do you receive the answer?
There are different ways to print numbers in C#. I suggest you to use "F5" string format when you print prices.
See these C# examples in LINQPad.
I receive by subtracting MA values taken from MA array, the most primitive stuff I believe.
Just started Pro again, it's like a nightmare now... I left the indicator unchanged from last night, at least yesterday it calculated correctly, only the answer was wrong, not much, but wrong. Today it's all over the place. I start to question my modest coding abilities, but luckily as a huge fan of old FSBs I have plenty of them, so I copied the same indi from Pro to one of the latest FSBs, which uses the v2/v3 indicator standard as Pro. Have I lost my sanity? Lets find out!
What I'm doing:
answer[iBar] = MA[iBar] - MA[iBar-rearview];
MA 14, close,simple
As we can see, it's 1,46303 - 1,46365 = -0.00062. Every calculator in my household tells me the answer is -0.00062.
Pro shows 3,09643 !"#¤[suitable cursing in your own choice and language].
OK, maybe it's me, it usually is, so lets copy the indi to FSB, which uses the same indicator standard, meaning no indi conversions.
Again, rather straightforward 1,42451 - 1,43522 = -0,01071. And as everyone can see it IS -0,01071 in the old FSB. I have an old beta FSB, it needed indi conversion, but nevertheless it performed flawlessly as well.
Upside - I'm still sane. But what the hell is going wrong...