You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
My example is with points!
OHLC: 1.21031/ 1.21054 / 1.21029 / 1.21030 becomes 121031002399989999
Signed 4 decimal value (0-4999 positive, 5000-9999 negative, 9999 = -1, 9998 = -2, etc.)
Please note that this is just an example. You will have to experiment and find the ideal number of digits for the prices and the delta prices so as to fit into 64 bit long.
OHLC: 1.21031/ 1.21054 / 1.21029 / 1.21030 becomes 121031002399989999
Signed 4 decimal value (0-4999 positive, 5000-9999 negative, 9999 = -1, 9998 = -2, etc.)
Please note that this is just an example. You will have to experiment and find the ideal number of digits for the prices and the delta prices so as to fit into 64 bit long.
It is just a packed decimal which can then be converted into binary. It has been used by many people in many fields since early years of computing.
It is just a packed decimal which can then be converted into binary. It has been used by many people in many fields since early years of computing.
I need the non-traditional packaging I mentioned before, trade importance of the bar (internal direction of price change) and the non sensitivity of the integral value to small price changes should be preserved as a result.
You will have to explain in more detail or with examples as I don't understand what you mean by "importance of bar" or "non sensitivity of the integral value to small price changes".
Fernando Carreiro:
You will have to explain in more detail or with examples as I don't understand what you mean by "importance of bar" or "non sensitivity of the integral value to small price changes".
Вам придется объяснять более подробно или с примерами, поскольку я не понимаю, что вы подразумеваете под «значением бар» или «нечувствительностью целочисленного значения к небольшим изменениям цен» .
Under the integral value of the bar I understand the packed value, in your example 121031002399989999 and under the insensitivity of this value, I understand that if the original prices change by 1-2 points, this will not affect to integral value.
OK understood! Then you just reduce it by removing least significant digits. For example, working in "pips" instead of "points"!
Yes, and to determine the direction of the bar, we can put in the first position (Close-Open)