Discussion of article "The algorithm of ticks’ generation within the strategy tester of the MetaTrader 5 terminal" - page 19

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
Please provide tick flows in tabular (xls, csv) form.
In such delicate matters you can't operate with screens from which you can't understand anything. You also need a full description of testing conditions and settings.
Renat, everything is very simple and you can see on the screens - with a real tick generation algorithm, the price inside the M1 bar can move with a pullback (with pullbacks) of any % (points) and with a relatively long candle - the generation will not show any of this (or almost nothing) if these movements are between Open and Close.
This applies to both MetaTrader 5 and MetaTrader 4.
Tick history from alpari cabinet - bars 23.04.2013 01:32 and 23.04.2013 09:16
I'm afraid that this level of explanation is not enough.
You didn't bother to describe or specify exactly where the problem is, and you've already given the third screenshot as a special "so that nobody could understand".
I'm pretty much confused on this Algorithm. I understand parts of it and then other parts i'm don't.
It looks like in regards to support points it basically takes the Volume of the historical bar and if it's higher than 11 (11 being the max number of support points) then use 11 however if this is not true then what is the formula for computing the number of support points.
Better yet any more material on this would be great. I've beat google down to within a bit of it's binary life and have only been able to come up with two documents pertaining to this 'Miracle' Algorithm. I don't mind reading documents
thanks
I think this article is helpful to you. https://www.mql5.com/en/articles/75
Btw, the algorithm of ticks ' generation in MT4 is really confused especially the modes of control points.
I'm afraid that this level of explanation is not enough.
You didn't bother to describe or specify exactly where the problem is, and you've already given the third screenshot as a special "so that nobody could understand".
https://www.mql5.com/ru/forum/1031/page16#comment_235639
The problem is that tick generation = inaccurate testing does not take into account gaps within the M1 bar (usually on news), does not take into account possible significant price pullbacks (by 10-100%) within the M1 bar, does not take into account spread widening on each tick (and it can be on just one tick among all).
Here are for example the generated ticks and possible real ticks, inside the M1 candlestick.
http://i46.fastpic.ru/big/2013/0611/ec/60ff466618dae487bccb333c5e3959ec.gif
Spread widening on a real ECN account.
http://i46.fastpic.ru/big/2013/0606/81/de15e6208a468b27a796cd31c0870d81.gif
Accordingly, it is not correct to call this generation accurate enough.
Providing deep tick history is not a problem now, internet speed has increased 100 -1000 times (dialup - adsl, optics) and hard discs have increased 1000 times (gigabytes - terabytes), the price per megabyte of information (downloaded and on HDD) has decreased for the last 10 years, there are still torrents, the size of the entire tick history of EURUSD from April 2007 to now in the format .bi5 = 743 MB at Dukascopy (e.g. at ADSL speed 10 Mbit = 1 Mb/sec downloaded in 12 minutes).
In case of gaps, i.e. within gaps in testers (MetaTrader 5 and MetaTrader 4) work:
Take Profit, Stop Loss
BUY STOP, SELL STOP
BUY LIMIT, SELL LIMIT (BUY STOP LIMIT, SELL STOP LIMIT not checked).
This cannot happen in real trading, only orders opened on the market work correctly, but again they have:
Take Profit, Stop Loss - work inside gaps,
no slippage,
if gaps are inside the M1 bar, then market orders are also opened - not correct.
Real examples with the code - check it yourself, if anyone doubts.
http://i47.fastpic.ru/big/2013/0625/8d/c080b0b059fa0bda50deb3d0d0e27a8d.gif
http://i47.fastpic.ru/big/2013/0625/db/d1f75f162fa1b367b5614bfae5ad53db.gif
http://i47.fastpic.ru/big/2013/0625/ee/b3c14d69cbb67acda6395999f3dbd6ee.gif
http://i47.fastpic.ru/big/2013/0625/d1/8788c96fa7dcc69fc8e72dc4b2de94d1.gif
The problem is that tick generation = inaccurate testing does not take into account gaps within the M1 bar (usually on news), does not take into account possible significant price pullbacks (10-100%) within the M1 bar, does not take into account spread widening on each tick (and it can be on just one tick, among all).
In your drawings, the bars do not correspond to ticks.
If there is a gap inside the M1 bar, then generation of ticks in the tester will give a picture close to the "gap" one, with big jumps. On your chart, there is a huge gap on ticks, but there are no gaps on bars. If there were a gap, the TR of the bar would be not less than the tick gap.
That is, there is probably a problem, but it is not in tick generation.
In your drawings bars do not correspond to ticks.
If there is a gap inside the M1 bar, then generation of ticks in the tester will give a picture close to a "gap" picture, with big jumps. On your chart, there is a huge gap on ticks, while on bars there are no gaps. If there were a gap, the TR of the bar would be not less than the tick gap.
That is, there is probably a problem, but it is not in tick generation.
Where exactly, in which pictures, bars do not correspond to ticks in my drawings ?
In the post https://www.mql5.com/ru/forum/1031/page18#comment_520781 I gave an example on the first picture to make it easier for others to understand.
I will soon post a video, where the generated ticks in MetaTrader 5 and MetaTrader 4 testers are compared with real ticks inside the M1 candlestick.
Here is a comparison of generated ticks and real ticks on futures during the release of Non-farm Payrolls on 6.09.2013.
The candle at 14:30 (time in MetaTrader 5) has a volume of 39 ticks, in alpari it is 86 on ECN and 136 ticks on standard,
but it does not matter at all (number of ticks), as the principle of tick generation will be the same, just the ticks will be denser.
In the MetaTrader 5 tester you can see that the price on this candle monotonically, evenly and without jerks for 36 seconds rises to the maximum, then there is a small pullback.
And on the futures (stock ticks) you can see that the price jumped sharply, in a fraction of a second, and then the normal trading started.
On other news/statistics with sharp quote jumps, the principle will be the same.
This candle is on GBPUSD D1.
Screenshots in the archive.