Registered User Joined: 9/13/2014 Posts: 11
|
HI Bruce,
I took a 5 min chart (just for a test), where I can see at 12:45, 27.11. (HPE) that Exp Moving Average 9 and Exp Moving Average 20 has the same value, means 14,50
So I wrote an PCF with following pattern
XAVGC9.3 = XAVGC20.3
Afterwards, when i put into "Test symbol" -> "HPE" and press "test formula" the result say 14,50 = 14,50 which is from my understandning definitly right.
But the result downwards also tells me "Value = False" which I don't understand, cause definitely 14,50 = 14,50
when I put instead XAVGC9.3 < XAVGC20.3 than the result says 14,50 <14,50 and "Value = True".
does it mean that XAVGC9.3 is not 14,50 but calculated to 14,499 and in TC 2000 I can only see 2 decimals ?
How can I get for calculation exacty 2 decimals, that 14,50 is exactly 14,50 ? Or is there a bug ?
I spend meanwhile half day to understand this - thanks for answer
br
Rainer
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
QUOTE (rli) .
does it mean that XAVGC9.3 is not 14,50 but calculated to 14,499 and in TC 2000 I can only see 2 decimals ?
How can I get for calculation exacty 2 decimals, that 14,50 is exactly 14,50 ? Or is there a bug ?
Yes, what you see is rounded the PCF calc isnt.
Im guessing the best you can do is add a cent or two in your PCFs.
A<(B+.01) AND A>(B-.01)
Thanks
|