SFMc01 358 posts msg #69409 - Ignore SFMc01 |
11/27/2008 7:53:33 AM
Am I calculating incorrectly?
If I display the Average Day Range calculation for one day for General Motors for the day of Wednesday, November 26, 2008 using the StockFetcher code: Add Column Average Day Range(1), the program displays: "52.2"
When I attempt to compute the Average Day Range(1) using the StockFetcher numbers for GM for that day, I get a different number: 50.52
StockFetcher reports GM's numbers as: O=4.45; H=5.87; L=3.44; C=4.81;
I compute: (5.87 - 3.44) / 4.81 = 50.52
While this difference may seem minor, it can make a difference when designing a filter using Average Day Range cutoff points. For example: "Average day range(10) > 5"
Is my computation incorrect?
|
SFMc01 358 posts msg #69417 - Ignore SFMc01 |
11/28/2008 1:49:01 PM
Tomb: Can you tell us what the official formula is? For example for Average Day Range(10) ?
Thanks
|
SFMc01 358 posts msg #69422 - Ignore SFMc01 |
11/29/2008 7:28:05 AM
Problem seems to have gone away. I cannot now duplicate the 50.2 that the program had displayed, but, now displays what I calculated?
|
chetron 2,817 posts msg #69424 - Ignore chetron |
11/29/2008 8:43:57 AM
IT WAS ALL A DREAM, STEVE. YOU SHOULD HAVE KNOWN THAT, BEING RIGHT AND ALL. ; )
LOL
|