Discussion of article "What is a trend and is the market structure based on trend or flat?" - page 10
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
I see what your problem was. Initially you say that the process can have a maximum deviation of 40. And you calculate on 40. But the process has the possibility to go both in + and in - resulting in 81 variants (with an exact 0).
And you plot 40 points clustered in steps of 2 on the X axis.
That's why you have such a graph.
I transferred the data from Excel to MQL.
And using the functionality of the standard library I have selected sigma parameters to repeat your graph from Excel also grouping forcedly with step 2.
It turns out that for your process with combinatorics the process with a normal distribution of MO 0 and sigma 6.45 is suitable.
I see what your problem was. Initially you say that the process can have a maximum deviation of 40. And you calculate on 40. But the process has the ability to go both + and -, so you end up with 81 variations (with an exact 0).
And you plot 40 points clustered in increments of 2 on the X axis.
That's why you have such a graph.
I transferred the data from Excel to MQL.
And using the functionality of the standard library I selected sigma parameters to repeat your graph from Excel, also grouping forcedly with step 2.
It turns out that for your process with combinatorics the process with a normal distribution of MO 0 and sigma 6.45 is suitable.
Afternoon
The blue histogram is a repeat of your experiment only on 365 days of GBPUSD tick data
Renko at 0.0002 points and slicing by 40 renko bars.
Almost completely repeats your theoretical curve from excel.
So your figure 7 to the article does not work out.
Here's the code
I'm looking for errors and haven't found any yet.
Good afternoon
The blue histogram is a repeat of your experiment only on 365 days of GBPUSD tick data
Renko at 0.0002 pips and slicing 40 renko bars.
Almost completely repeats your theoretical curve from excel.
So your figure 7 to the article doesn't work out.
I used minute candlesticks to analyse, when you slice them into too small blocks there is some error.
The terminal downloads the tick history itself (MT5, Alpari-MT5 server).
Variant. in the terminal Ctrl +U then on the ticks tab you can do everything.
The normality of your stock distribution clearly depends on the number of observations: the more observations, the more normal it is. You should compare similar sample sizes.
From the examples given in the article, it may indeed seem so. But in reality, there is no such effect. The more samples, the more accurate the result, but the distribution is not close to normal (although there are certain conditions to be fulfilled in the study). The nature of the distribution depends more on the trading instrument, each one is slightly different.