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
At some point I was ready to admit that I must recalculate the parameters of the linear regression and the RMS on 2/3 of a channel (technically there are no problems here). But now I have doubts. When the channel becomes obvious, it gets better and better as a self-fulfilling prophecy. At the same time the RMS is getting smaller (price is walking more and more precisely within the channel boundaries). This is probably what we are testing when we require 2/3rds of a channel to have a larger RMS than the full length of the channel (the channel is the same in both cases). I will probably check the option with the new calculation of LR parameters and RMS at 2/3 of the sample at some point too.
For example, a channel developing according to this scenario would not be taken into account by the RMS2/3>RMSCO criterion, although I think the last third does not fall outside the 99% range
Absolutely agree.
I also found a quantile calculation on the ALGLIB.SOURCES.RU website. But somehow there were not 12 lines and one function required calculation of others. I wrote about it in this thread before. So I think the approach used on this site would have slowed down the Expert Advisor. So if you actually have 12 lines of code that do the same thing, then everyone would be interested to read them. I use a quantile table with 3 decimal places. I think that 2 decimal places won't change the whole picture of work, but it will be useful for everybody.
Greetings all.
And I calculate quantiles of Student's distribution in ONE line of code (I mean one line per quantile). The errors from the "Excel" version of the calculation are in the 4th digit, provided that n>=30. I can post it here for all to see, or send it to "email" - as you say.
A channel developing in this scenario, for example, would not be taken into account by the RMS2/3>RMS, although I think the last third would not fall outside the 99% range
I understand that the picture was drawn manually, as I can see that the CCO2/3 < RMS.
One line can be done here too. Put it out there. :-)
Я тоже находил в инете расчёт квантилей на сайте ALGLIB.SOURCES.RU. Но там как-то совсем не 12 строк оказалось и одна функция ещё требовала расчёта других. Я про это писал в этой же ветке ранее. Так что думаю, что подход, использованный на этом сайте, внёс бы свою лепту в торможение работы эксперта. Так что если Вы действительно обладаете 12 строками кода, которые делают то де самое, то всем будет интересно ознакомиться с ними. Я использую таблицу квантилей с 3-мя знаками после запятой. Думаю, что 2 знака после запятой не изменят принципиально всю картину работы, но польза будет всем.
Greetings all.
And I calculate quantiles of Student's distribution in ONE line of code (I mean one line per quantile). The errors from the "Excel" version of the calculation are in the 4th digit, provided that n>=30. I can post it here for all to see, or send it to "email" - as you say.
It would be interesting to have a look. I've implemented the normal distribution function bluntly - through an array of numbers. I wanted to do the same for Student's distribution, but once again I looked at the difference between normal and Student's distributions and spit - "if there is no difference - why pay more".
Of course I did it manually, I didn't waste my time looking for such a situation on the chart, I said in principle it is possible and selection on the criterion CCO2/3>SCO will cut it off but it seems to me not worth it
One line can be used here as well. Put it out there. :-)
Where deltaY is half of the uncertainty bandwidth
n - number of degrees of freedom
For each quantile I derived simplified formulas. I can't attach a picture of the error graphs. Estimate the errors yourselves.
[img]https://c.mql5.com/mql4/forum/2006/07/%D1%F2%FC%FE%E4%E5%ED%F21.gif [/img]