PureBytes Links
Trading Reference Links
|
Now this is absurd.
Let's say Price = 0.8171 (HU)
1) A system in TS is generating a signal at this Price. Inside TS, the
order is to buy HU at 0.8171 and this price gets displayed in the
Tracking Center.
2) Now I want to write this order into a file and I do this:
Str = NumToStr(Price, 4); {because there are 4 decimal numbers}
FileAppend("myfile.txt", Str);
And guess what ends up in the text file??? 0.8175 !!!
Other examples:
In TS In Textfile Difference
AD 0.6645 0.6644 0.0001
BP 1.6322 1.6321 -0.0001
CD 0.7425 0.7424 0.0001
CU 1.1340 1.1339 0.0001
JY 0.8366 0.8367 -0.0001
SF 0.7460 0.7459 0.0001
HU 0.8171 0.8175 -0.0004
etc.
Ivo Karindi
ivo@xxxxxxxxx
|