Discussion of article "What is a trend and is the market structure based on trend or flat?" - page 8
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'd go to the deputy minister's office for a two-month apprenticeship like that.
I'd become president for that.) To learn how to earn money at virtually no risk.
Can you please tell me what variance you take for the reference graph? The mathematical expectation is clear - 0.
Can you please tell me what variance you take for the reference graph? The mathematical expectation is clearly 0.
I cannot repeat the shape of the theoretical curve
If I take sigma 3.2, I fall approximately in height, but I don't hit the dips (in this case +-12).
If I take sigma 5.8, I fall in the region of (+-20), but I do not fall in height
The sum of all Y equals 100000 in both cases.
To generate a random variable according to the normal law, I took a function from the standard library.
MathRandomNormal
Apparently the combinatorics method does not produce a variant of the standard deviation according to the normal law.
....I wanted to repeat it in MQL without factorials.
Failure to replicate the shape of the theoretical curve
If I take sigma 3.2, I approximately fall in height, but do not hit the dips (in this case +-12).
If I take sigma 5.8, I fall in the region of (+-20), but I do not fall in height
The sum of all Y equals 100000 in both cases.
To generate a random variable according to the normal law I took a function from the standard library.
MathRandomNormal
Apparently, the combinatorics method does not produce a variant of the standard deviation according to the normal law.
....I wanted to repeat it in MQL without factorials.
To generate a random variable according to the normal law, I took a function from the standard library.
MathRandomNormal
Apparently the combinatorics method does not produce a variant of standard deviation according to the normal law.
....I wanted to repeat it in MQL without factorials.
Example for the section Normal distribution?
Example for the section Normal distribution?
The basis was taken from this very example.
In Figure 6, I measured for random walk the shape of the distribution, sort of for 100,000 samples. The white histograms are random walk. I think I attached a file to the article, it should be called 50% or something like that. There I randomly generated 0 and 1 If it was 0, then the previous value minus 1, if it was 1, then the previous value plus 1. This is how the random wander graph is constructed. Just measure the sigma parameters on it and use it.
I understand that you get double quantisation of the series.
The first time you quantise by +1 -1 and the second time you quantise these "renko bars" into plots of 40 bars.
Maybe you get this form of "normal distribution".
Wouldn't it be more logical to cut the first time as you did into renko bars and then to follow the principle of directional reversals?
For example your figure 1
+3 -1 -1 +2 -2 -2 +1 -4 +2 -2 -2 +4 and so on.
as a result, there will be no values at the zero point on X (although you can consider the reversal as +1 in x0).
and already perform combinatorics with this series.
then we can take the normal distribution of MO 0 and sigma 1 as a reference.
although I am still thinking about it...
The basis was taken from this very example.
So show me the code