
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
The maximum spread can be anywhere on the bar. In fact, think again.
For five-minute bars you have to specify the maximum of the minute bars ?
And for Hourly? Doesn't that logic make it crazy?
In five-minute bars, one-hour bars, etc., no spread makes sense!
Don't you fall into the trap of thinking that every timeframe (except the one minute) has a constant spread? Very often people don't understand what a "spread in every minute" is and conclude that "on any other timeframe the spread is also fixed".
The initial historical data in MT5 is stored only in minutes, from which all other timeframes are built. When modelling a watch, 60 different spreads will be used from the 60 minutes that make up that hour.
There is a very important point - the spread is not just for testing!!! And if you can't enter the Ask story, it's better to enter the maximum spread than the average. In fact, the maximal spread will give a high Ask, and the average one is not understandable at all. So, how to deal with levels? After all, the stops will be triggered by the Ask during selling. And to understand where the asc is in the past, we need the maximal spread.
1. In five minute, hourly etc bars no spreads make sense!
2) Don't you fall into the trap of thinking that every timeframe (except the one minute) has a constant spread? Very often people do not understand what is a "spread in every minute" and conclude that on "every other timeframe the spread is also fixed".
3. The initial historical data in MT5 is stored only in minutes, from which all other timeframes are built. When modelling the hour, 60 different spreads will be used from 60 minutes, which make up that hour.
1. they do - when using quick testing, when the "inside" of the bar is deliberately ignored (widely applicable for a quick estimation of the strategy possibilities). I also have my own calculator (and not one already), and it takes data about the spread from the current timeframe. Each bar of all timeframes has a Spread field, and so far I have been relying on its contents to correspond to the average spread for, respectively, 5 minutes, an hour, or a week.
I do not seem to have fallen into such a trap. I understand that the "bar" is only a way to store and display historical data, the question is only the usability and informativeness of this method.
I respect your tester a lot, but I will respect it even more when methods suitable for high-speed (though not quite accurate) optimization will appear. And these methods imply an allowable simplification of input data. And here the question about suitability of data format of all timeframes to be used for generation of simplified tick sequences arises. If it does not arise for you - it does for me. :)
A concrete example showing the shortcomings of Ask price modelling:
Here is a simple perfectly concrete example of when the tester is inaccurate. Obviously, if the tester had real data on the Ask price, it would show Limit triggering, as it did on the demo.
So is the tester accurate when it shows discrepancies with the greenhouse conditions of the demo?
I have said several times that MT5 with its asynchrony is a complete trading platform. This is not entirely true, because I have missed an important element, without which no trading platform can be complete.
The datetime type, in which the time of the last quote arrives, has a discreteness of one second. Unfortunately, this is a very crude estimation of time, which does not allow implementing many trading strategies.
Moreover, in MT5 there is no concept of a tick, there is a concept of the time of the last quote. It is almost the same thing, but not quite. A very important characteristic of a tick is the time of its birth - the time when the tick appeared at the source of that tick. This is not at all the time when it entered the MT5 platform system - the MT5 server (not the terminal). Of course, the birth time of the tick should be set to the nearest millisecond, as is customary in many platforms.
The actuality of a tick is determined by the time of its birth, and not by its arrival to the MT5 platform. Moreover, when it is received in the terminal, it should always be possible to determine its age, which unfortunately cannot be done now because of the coarse discreteness of datetime type.
The relevance of ticks is important in synchronous multicurrency strategies. For example, when you need to open several FI simultaneously.