[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: AW: TradeStation Precision - Summary with example



PureBytes Links

Trading Reference Links

Resent the below mail, after deleting all lines that contained error that
were so small they were not visible in second decimal of the percent column,
and then splitting the listing to one mail and the functions to another,
since it seems to have been to big to go through. This is the mail with the
listing, truncatewd in the end

This will be a lengthy mail, but not too many words, just my opinion "a bug
is a bug", followed by the run of the Omega DMIPlus function for one of my
sybols compared with a dmi that should be a little more correct (only data
shown is lines with precision errors). The symbol data has only three
decimals as is standard in Omega. The output below is the second symbol
printing with errors (the first was ericsson). The selected dmipluslength 5
is arbitrary, I guess by changing lengths the errors can becomes smaller or
greater, I have not tried to optimise in either direction.

First in the list comes symbolname, date, omegadmi, betterdmi, difference
and difference in percent. Last comes the functions I used to produce the
list, which is the dmi fuinction provided by omega, corrected according to
Bob with extensions done by me, followed by those extended functions. Anyone
who wants to can run the functions on his data (I used workspace assistant,
and I get differences on for example ericsson, which should affect some of
you). I have spent too much time trying to explain this but not getting
through to neither Pierre nor Patrick, that I actually did not bother to see
if I did any great coding errors, but I hope not.

Sorry for this long mail, but I thought that maybe this will show a little
easier that differences exists, are a lot more than 7th digit in precision
difference, and will affect your trading a lot if you are using for example
plusdmi, difference plusdmi/minusdmi, plusdmi rising/not rising, ... There
are other examples in other indicators, I am just focusing on this one since
it is easier to discuss if it does not becomes to theoretical.

LAPOB,Date990416,OmegaDMI,11.425,BetterDMI,15.599,diff,-4.174,diffpercent,-2
6.76
LAPOB,Date990419,OmegaDMI,9.061,BetterDMI,12.372,diff,-3.310,diffpercent,-26
.76
LAPOB,Date990420,OmegaDMI,7.508,BetterDMI,10.251,diff,-2.743,diffpercent,-26
.76
LAPOB,Date990421,OmegaDMI,6.781,BetterDMI,9.259,diff,-2.477,diffpercent,-26.
76
LAPOB,Date990422,OmegaDMI,19.139,BetterDMI,21.041,diff,-1.902,diffpercent,-9
.04
LAPOB,Date990423,OmegaDMI,15.532,BetterDMI,17.076,diff,-1.544,diffpercent,-9
.04
LAPOB,Date990426,OmegaDMI,15.532,BetterDMI,17.076,diff,-1.544,diffpercent,-9
.04
LAPOB,Date990427,OmegaDMI,11.353,BetterDMI,12.482,diff,-1.128,diffpercent,-9
.04
LAPOB,Date990428,OmegaDMI,7.382,BetterDMI,8.115,diff,-0.734,diffpercent,-9.0
4
LAPOB,Date990429,OmegaDMI,6.057,BetterDMI,6.659,diff,-0.602,diffpercent,-9.0
4
LAPOB,Date990430,OmegaDMI,5.447,BetterDMI,5.988,diff,-0.541,diffpercent,-9.0
4
LAPOB,Date990503,OmegaDMI,4.350,BetterDMI,4.782,diff,-0.432,diffpercent,-9.0
4
LAPOB,Date990504,OmegaDMI,3.158,BetterDMI,3.472,diff,-0.314,diffpercent,-9.0
4
LAPOB,Date990505,OmegaDMI,2.256,BetterDMI,2.480,diff,-0.224,diffpercent,-9.0
4
LAPOB,Date990506,OmegaDMI,1.874,BetterDMI,2.060,diff,-0.186,diffpercent,-9.0
4
LAPOB,Date990507,OmegaDMI,1.780,BetterDMI,1.957,diff,-0.177,diffpercent,-9.0
4
LAPOB,Date990510,OmegaDMI,19.547,BetterDMI,19.676,diff,-0.128,diffpercent,-0
.65
LAPOB,Date990511,OmegaDMI,17.545,BetterDMI,17.661,diff,-0.115,diffpercent,-0
.65
LAPOB,Date990512,OmegaDMI,24.161,BetterDMI,24.253,diff,-0.092,diffpercent,-0
.38
LAPOB,Date990514,OmegaDMI,35.914,BetterDMI,35.981,diff,-0.066,diffpercent,-0
.18
LAPOB,Date990517,OmegaDMI,26.689,BetterDMI,26.739,diff,-0.049,diffpercent,-0
.18
LAPOB,Date990518,OmegaDMI,28.304,BetterDMI,28.341,diff,-0.037,diffpercent,-0
.13
LAPOB,Date990519,OmegaDMI,24.572,BetterDMI,24.604,diff,-0.032,diffpercent,-0
.13
LAPOB,Date990520,OmegaDMI,52.795,BetterDMI,52.814,diff,-0.019,diffpercent,-0
.04
LAPOB,Date990521,OmegaDMI,49.023,BetterDMI,49.039,diff,-0.015,diffpercent,-0
.03
LAPOB,Date990525,OmegaDMI,35.957,BetterDMI,35.969,diff,-0.011,diffpercent,-0
.03
LAPOB,Date990526,OmegaDMI,37.769,BetterDMI,37.778,diff,-0.010,diffpercent,-0
.03
LAPOB,Date990527,OmegaDMI,36.905,BetterDMI,36.913,diff,-0.008,diffpercent,-0
.02
LAPOB,Date990528,OmegaDMI,30.681,BetterDMI,30.688,diff,-0.007,diffpercent,-0
.02
LAPOB,Date990531,OmegaDMI,32.401,BetterDMI,32.406,diff,-0.005,diffpercent,-0
.02
LAPOB,Date990601,OmegaDMI,25.396,BetterDMI,25.399,diff,-0.004,diffpercent,-0
.02
LAPOB,Date990602,OmegaDMI,42.976,BetterDMI,42.979,diff,-0.002,diffpercent,-0
.01
LAPOB,Date990603,OmegaDMI,33.705,BetterDMI,33.707,diff,-0.002,diffpercent,-0
.01
LAPOB,Date990604,OmegaDMI,30.098,BetterDMI,30.100,diff,-0.002,diffpercent,-0
.01
LAPOB,Date990727,OmegaDMI,41.940,BetterDMI,41.940,diff,-0.000,diffpercent,-0
.00
LAPOB,Date1000619,OmegaDMI,17.260,BetterDMI,21.434,diff,-4.174,diffpercent,-
19.47
LAPOB,Date1000620,OmegaDMI,16.404,BetterDMI,20.371,diff,-3.967,diffpercent,-
19.47
LAPOB,Date1000621,OmegaDMI,13.832,BetterDMI,17.177,diff,-3.345,diffpercent,-
19.47
LAPOB,Date1000622,OmegaDMI,12.233,BetterDMI,15.192,diff,-2.958,diffpercent,-
19.47
LAPOB,Date1000626,OmegaDMI,8.125,BetterDMI,10.090,diff,-1.965,diffpercent,-1
9.47
LAPOB,Date1000627,OmegaDMI,6.716,BetterDMI,8.340,diff,-1.624,diffpercent,-19
.47
LAPOB,Date1000628,OmegaDMI,4.788,BetterDMI,5.945,diff,-1.158,diffpercent,-19
.47
LAPOB,Date1000629,OmegaDMI,12.806,BetterDMI,13.628,diff,-0.822,diffpercent,-
6.03
LAPOB,Date1000630,OmegaDMI,10.368,BetterDMI,11.033,diff,-0.665,diffpercent,-
6.03
LAPOB,Date1000703,OmegaDMI,25.678,BetterDMI,26.201,diff,-0.523,diffpercent,-
2.00
LAPOB,Date1000704,OmegaDMI,22.891,BetterDMI,23.357,diff,-0.466,diffpercent,-
2.00
LAPOB,Date1000705,OmegaDMI,21.168,BetterDMI,21.599,diff,-0.431,diffpercent,-
2.00
LAPOB,Date1000706,OmegaDMI,23.721,BetterDMI,24.093,diff,-0.373,diffpercent,-
1.55
LAPOB,Date1000707,OmegaDMI,21.822,BetterDMI,22.147,diff,-0.324,diffpercent,-
1.46
LAPOB,Date1000710,OmegaDMI,19.018,BetterDMI,19.300,diff,-0.283,diffpercent,-
1.46
LAPOB,Date1000711,OmegaDMI,15.325,BetterDMI,15.553,diff,-0.228,diffpercent,-
1.46
LAPOB,Date1000712,OmegaDMI,13.667,BetterDMI,13.870,diff,-0.203,diffpercent,-
1.46
LAPOB,Date1000713,OmegaDMI,11.152,BetterDMI,11.318,diff,-0.166,diffpercent,-
1.46
LAPOB,Date1000714,OmegaDMI,8.740,BetterDMI,8.870,diff,-0.130,diffpercent,-1.
46
LAPOB,Date1000717,OmegaDMI,7.405,BetterDMI,7.515,diff,-0.110,diffpercent,-1.
46
LAPOB,Date1000718,OmegaDMI,6.218,BetterDMI,6.311,diff,-0.092,diffpercent,-1.
46
LAPOB,Date1000719,OmegaDMI,5.268,BetterDMI,5.347,diff,-0.078,diffpercent,-1.
46
LAPOB,Date1000720,OmegaDMI,9.122,BetterDMI,9.189,diff,-0.068,diffpercent,-0.
73
LAPOB,Date1000721,OmegaDMI,7.423,BetterDMI,12.133,diff,-4.710,diffpercent,-3
8.82
LAPOB,Date1000724,OmegaDMI,6.649,BetterDMI,10.868,diff,-4.219,diffpercent,-3
8.82
LAPOB,Date1000725,OmegaDMI,11.647,BetterDMI,15.380,diff,-3.733,diffpercent,-
24.27
LAPOB,Date1000726,OmegaDMI,10.180,BetterDMI,13.443,diff,-3.263,diffpercent,-
24.27
LAPOB,Date1000727,OmegaDMI,7.742,BetterDMI,10.223,diff,-2.481,diffpercent,-2
4.27
LAPOB,Date1000728,OmegaDMI,5.634,BetterDMI,7.439,diff,-1.806,diffpercent,-24
.27
LAPOB,Date1000731,OmegaDMI,4.203,BetterDMI,5.550,diff,-1.347,diffpercent,-24
.27
LAPOB,Date1000801,OmegaDMI,3.352,BetterDMI,4.426,diff,-1.074,diffpercent,-24
.27
LAPOB,Date1000802,OmegaDMI,2.136,BetterDMI,2.820,diff,-0.684,diffpercent,-24
.27
LAPOB,Date1000803,OmegaDMI,1.459,BetterDMI,1.927,diff,-0.468,diffpercent,-24
.27
LAPOB,Date1000804,OmegaDMI,11.044,BetterDMI,11.404,diff,-0.359,diffpercent,-
3.15
LAPOB,Date1000807,OmegaDMI,8.299,BetterDMI,8.569,diff,-0.270,diffpercent,-3.
15
LAPOB,Date1000808,OmegaDMI,7.183,BetterDMI,7.417,diff,-0.234,diffpercent,-3.
15
LAPOB,Date1000809,OmegaDMI,6.150,BetterDMI,6.350,diff,-0.200,diffpercent,-3.
15
LAPOB,Date1000810,OmegaDMI,4.242,BetterDMI,4.380,diff,-0.138,diffpercent,-3.
15
LAPOB,Date1000811,OmegaDMI,3.553,BetterDMI,3.669,diff,-0.116,diffpercent,-3.
15
LAPOB,Date1000814,OmegaDMI,2.785,BetterDMI,2.875,diff,-0.091,diffpercent,-3.
15
LAPOB,Date1000815,OmegaDMI,2.113,BetterDMI,2.181,diff,-0.069,diffpercent,-3.
15
LAPOB,Date1000816,OmegaDMI,1.586,BetterDMI,1.638,diff,-0.052,diffpercent,-3.
15
LAPOB,Date1000817,OmegaDMI,1.381,BetterDMI,1.426,diff,-0.045,diffpercent,-3.
15
LAPOB,Date1000818,OmegaDMI,1.158,BetterDMI,1.196,diff,-0.038,diffpercent,-3.
15
LAPOB,Date1000821,OmegaDMI,1.113,BetterDMI,1.149,diff,-0.036,diffpercent,-3.
15
LAPOB,Date1000822,OmegaDMI,0.988,BetterDMI,1.020,diff,-0.032,diffpercent,-3.
15
LAPOB,Date1000823,OmegaDMI,5.753,BetterDMI,5.782,diff,-0.029,diffpercent,-0.
50
LAPOB,Date1000824,OmegaDMI,4.628,BetterDMI,4.652,diff,-0.023,diffpercent,-0.
50
LAPOB,Date1000825,OmegaDMI,20.196,BetterDMI,20.212,diff,-0.017,diffpercent,-
0.08
LAPOB,Date1000828,OmegaDMI,34.631,BetterDMI,34.642,diff,-0.011,diffpercent,-
0.03
LAPOB,Date1000829,OmegaDMI,67.107,BetterDMI,67.112,diff,-0.006,diffpercent,-
0.01
LAPOB,Date1000830,OmegaDMI,56.797,BetterDMI,56.801,diff,-0.004,diffpercent,-
0.01
LAPOB,Date1000831,OmegaDMI,55.216,BetterDMI,55.219,diff,-0.003,diffpercent,-
0.01
LAPOB,Date1000901,OmegaDMI,47.557,BetterDMI,47.560,diff,-0.003,diffpercent,-
0.01
LAPOB,Date1000904,OmegaDMI,35.002,BetterDMI,35.004,diff,-0.002,diffpercent,-
0.01
LAPOB,Date1000905,OmegaDMI,28.951,BetterDMI,28.953,diff,-0.002,diffpercent,-
0.01
LAPOB,Date1000906,OmegaDMI,24.732,BetterDMI,24.733,diff,-0.002,diffpercent,-
0.01
LAPOB,Date1000920,OmegaDMI,9.303,BetterDMI,9.303,diff,-0.000,diffpercent,-0.
00
LAPOB,Date1000921,OmegaDMI,7.709,BetterDMI,13.420,diff,-5.711,diffpercent,-4
2.55
LAPOB,Date1000922,OmegaDMI,6.240,BetterDMI,10.862,diff,-4.622,diffpercent,-4
2.55
LAPOB,Date1000925,OmegaDMI,10.808,BetterDMI,14.518,diff,-3.711,diffpercent,-
25.56
LAPOB,Date1000926,OmegaDMI,9.560,BetterDMI,12.843,diff,-3.283,diffpercent,-2
5.56
LAPOB,Date1000927,OmegaDMI,8.072,BetterDMI,10.844,diff,-2.772,diffpercent,-2
5.56
LAPOB,Date1000928,OmegaDMI,14.060,BetterDMI,16.199,diff,-2.139,diffpercent,-
13.20
LAPOB,Date1000929,OmegaDMI,11.007,BetterDMI,12.681,diff,-1.674,diffpercent,-
13.20
LAPOB,Date1001002,OmegaDMI,9.557,BetterDMI,11.011,diff,-1.454,diffpercent,-1
3.20
LAPOB,Date1001003,OmegaDMI,11.838,BetterDMI,13.077,diff,-1.239,diffpercent,-
9.47
LAPOB,Date1001004,OmegaDMI,9.271,BetterDMI,10.241,diff,-0.970,diffpercent,-9
.47
LAPOB,Date1001005,OmegaDMI,6.386,BetterDMI,7.054,diff,-0.668,diffpercent,-9.
47
LAPOB,Date1001006,OmegaDMI,5.050,BetterDMI,5.578,diff,-0.529,diffpercent,-9.
47
LAPOB,Date1001009,OmegaDMI,4.208,BetterDMI,4.649,diff,-0.440,diffpercent,-9.
47
LAPOB,Date1001010,OmegaDMI,3.602,BetterDMI,3.979,diff,-0.377,diffpercent,-9.
47
LAPOB,Date1001011,OmegaDMI,2.771,BetterDMI,3.061,diff,-0.290,diffpercent,-9.
47
LAPOB,Date1001012,OmegaDMI,4.740,BetterDMI,4.966,diff,-0.227,diffpercent,-4.
56
LAPOB,Date1001013,OmegaDMI,4.083,BetterDMI,4.278,diff,-0.195,diffpercent,-4.
56
LAPOB,Date1001016,OmegaDMI,19.217,BetterDMI,19.368,diff,-0.151,diffpercent,-
0.78
LAPOB,Date1001017,OmegaDMI,14.864,BetterDMI,14.981,diff,-0.117,diffpercent,-
0.78
LAPOB,Date1001018,OmegaDMI,10.584,BetterDMI,10.667,diff,-0.083,diffpercent,-
0.78
LAPOB,Date1001019,OmegaDMI,20.906,BetterDMI,20.967,diff,-0.061,diffpercent,-
0.29
LAPOB,Date1001020,OmegaDMI,17.952,BetterDMI,18.004,diff,-0.052,diffpercent,-
0.29
LAPOB,Date1001023,OmegaDMI,14.812,BetterDMI,14.855,diff,-0.043,diffpercent,-
0.29
LAPOB,Date1001024,OmegaDMI,23.014,BetterDMI,23.048,diff,-0.034,diffpercent,-
0.15
LAPOB,Date1001025,OmegaDMI,19.892,BetterDMI,19.921,diff,-0.029,diffpercent,-
0.15


This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.