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
Can you honestly answer what are the reasons for using OHLC Bid + Spread, versus OHLC Bid + OHLC Ask? Storing 8 numbers instead of 5 (bar and history format is difficult to change)? Will it have a significant impact on the amount of history provided? Or maybe you just don't have an Ask price history? Does the logic of the tester become more complicated? Well, in the second case it is even simpler - there is no concept of spread at all. What is stopping it, be honest.
The size of the barstructure is the most significant characteristic that proportionally affects the amount of resources consumed by the terminal.
We are always faced with the task of saving resources, so expansion in this form is not appropriate.
The size of MqlRates:
Equals (if I'm not mistaken) 46 bytes.
The size of the alternative structure:
Equals 76 bytes.
I.e., we are talking about 65% increase in traffic during history downloading and memory consumption by the terminal and tester (including agents) in the worst case. Obviously, just some 65% cannot stop you. The reasons are clearly different.
If you don't believe your opponent's words, what's the point of talking?
The size of MqlRates:
Equals (if I'm not mistaken) 46 bytes.
The size of the alternative structure:
Equals 76 bytes.
I.e., we are talking about 65% increase of traffic during history downloading and memory consumption by the terminal and tester (including agents) in the worst case. Obviously, just some 65% cannot stop you. The reasons are clearly different.
I got 48 bytes:
Whoever says that shorting is not enough - let him be the first to throw at me at least one example (from the stock exchange or forex anyway).The size of the barstructure is the most significant characteristic that proportionally affects the amount of resources consumed by the terminal.
We are always faced with the task of saving resources, so an extension in this form is not appropriate.
Renat, have there been any attempts to optimize the structure ofMqlRates? For example, why do we need double (8 bytes) precision values of OLHC, if the precision is now limited to a maximum of five decimal places? Why not store these values as normalized to 3 or 5 digits int, which takes up half as much memory?
The maximum value that can be written with this approach is 42949.67295.
Is there any OLHC forex data that will go beyond this limit?
Is there OLHC data on forex that will go beyond this boundary?
I got 48 bytes:
Whoever says that short is not enough - let him be the first to throw at me at least one example (from stock exchange or forex anyway).I.e. we are talking about a 65% increase in traffic for downloading history and memory consumption by the terminal and tester (including agents) in the worst case.
Vladix:
For example, why do you need double (8 bytes) precision for OLHC values if .....................
That's by the way, YES.
could very well be replaced byand there will be NO ONE affected. then the size magically returns to 46 bytes. nice, isn't it :)
I got 48 bytes:
Whoever says that short is not enough - let him be the first to throw at me at least one example (from stock exchange or forex anyway).