a trading strategy based on Elliott Wave Theory - page 42

 
I propose to leave everything in the public domain at a level still sufficient to screen freeloaders. That is, do not publish ready-made solutions - maximum methodology and fragments of codes, and that all is not worth it ;).

I agree! :o) Everything is already chewed up - now only those who can ;o) may swallow it.
We're only talking about methodology without going into details.
 
At first glance there is no error. <br/ translate="no"> ...
I can't answer more precisely, and I don't have much time to waste yet - I'm still trying to implement several approaches to strategy building.


Vladislav, thanks again!

I hope my approach will serve as a point of convergence between you and Yurixx.

Dear Yurixx!
You wrote:
Secondly, the whole theory only applies to a series of basic data, i.e. a series of prices, for example. It is incorrect to apply it to a series of linear regression errors (i.e. to a series from which the trend component has been removed). For such a series, neither the spread nor the skew (especially on the final interval) depend on time.


Linear regression removes only the linear component of the original data, i.e., simplistically, reduces the overall RMS by the RMS of the linear regression.
If there was a non-linear component, the lack of time dependence of the RMS of the detrended series is not obvious.
As an illustration, we can look at GBPCHF W1 from 2002.03.31 to today.
At the final interval here the RMS seems to be decreasing.

Thanks.
 
StdDev - СКО ошибки аппроксимации линейной реггресси на выборке канала, соответственно, StdDev23 - СКО на двух третях этой выборки. Графики отражают эти величины при расчете каналов на конкретном инструменте , конкретном тайм-фрейме и в конкретном месте. Речь идет об алгоритме выбора нужного канал по виду этих СКО.


Спасибо, Rosh, все понял. Как я понимаю, Вы экспериментируете на массиве в 1000 баров, а выборка для рассчета канала имеет фиксированную и, естественно, меньшую длину. Или Вы строите канал на всей 1000 ?


The quality of the sample will be essential here. By selecting a "off-trend" length you run the risk of capturing part of the trend that has gone away, or of under-sampling part of the current one. With all ensuing consequences.

Good luck and good luck with passing trends.


I cycle through channels from 45 (it is clear) to 1000 bars. (1000 bars on 15-minute charts is 10 daily candles, I think this is enough for 15-minute charts). On these 955 kanals I find RMS values and choose the channel where the RMS is smaller (at the moment), although I do not forget about the potentiality principle :) True, I haven't applied this method yet - one, and visually this method of selection doesn't always capture distant channels - that's two.
Perhaps, when I organize the top three channels, many questions will disappear as unimportant.

I encourage further cooperation/development without putting out the codes. The methodology is enough and much more interesting. As a last resort, we could have a one-to-one exchange.
 
<br/ translate="no">
Dear Yurixx!
You wrote:
Secondly, the whole theory is only applicable to a series of basic data, i.e. a series of prices, for example. It is incorrect to apply it to a linear regression error series (i.e. a series from which the trend component has been removed). For such a series, neither the range, nor the rate (especially on the final interval) depend on time.


Linear regression removes only the linear component of the raw data, i.e., simplistically, reduces the overall RMS by the RMS of the linear regression.
If a non-linear component was present, the lack of time dependence of the RMS of the detrended series is not obvious.
As an illustration, we can look at GBPCHF W1 from 2002.03.31 to today.
At the final interval here the RMS seems to be decreasing.

Thanks.


Wrong. Two random series that differ only by the trend linear component have the same variance. The figures in the Excel file confirm this, in fact I deliberately put a red arrow to accentuate .
 
StdDev - СКО ошибки аппроксимации линейной реггресси на выборке канала, соответственно, StdDev23 - СКО на двух третях этой выборки. Графики отражают эти величины при расчете каналов на конкретном инструменте , конкретном тайм-фрейме и в конкретном месте. Речь идет об алгоритме выбора нужного канал по виду этих СКО.


Спасибо, Rosh, все понял. Как я понимаю, Вы экспериментируете на массиве в 1000 баров, а выборка для рассчета канала имеет фиксированную и, естественно, меньшую длину. Или Вы строите канал на всей 1000 ?


Здесь существенным будет качество выборки. Выбирая "отфанарную" длину Вы рискуете захватить часть ушедшего тренда или недобрать часть текущего. Со всеми вытекающими последствиями.

Удачи и попутных трендов.


I cycle through channels from 45 (that's understandable) to 1000 bars. (1,000 bars on 15-minutes is 10 daily candles, I think that's enough for 15
minutes.) On these 955 kanals I find RMS values and choose the channel where the RMS is smaller (at the moment), although I do not forget about the potentiality principle :) True, I haven't applied this method yet - one, and visually this method of selection doesn't always capture distant channels - that's two.
Perhaps, when I organize the top three channels, many questions will disappear as unimportant.

I encourage further cooperation/development without putting out the codes. Methodology is enough and much more interesting. As a last resort, we could have a one-to-one exchange.


I've already written briefly: build swings on extrema starting from about 180 days ago. There is no need to go further - the result will be the same. All the bars that make up the trend should go from extremum to extremum (extrema should be included in the reversal zones ;) ) - then it is a matter of technique - you identify the last active channel and lay it out. From there the degree of nesting or detailing.
Choose from the resulting subset.

Good luck and good trends.
 
Dear Rosh!

The values at the beginning and at the end of the red arrow in your file are different, and usually the greater the difference, the stronger the slope of the linear regression.
However, the difference is not equal to the numerical RMS of the linear regression, and speaking about this decrease in Yurixx I meant, figuratively, the cause of its occurrence, not the method of estimation.

I did not immediately see that the difference turns out to be insignificantly small, and indeed they should not be different, since the linear component is removed when calculating the RMS by taking into account the expectation of error.
But in my post I did not mean RMS of LR errors, but RMS of LR line. And also the RMS of the raw data, not the RMS of the differences between successive values.

I apologise for being unclear again.
 
<br/ translate="no"> I already wrote briefly: build swings from extremes starting about 180 days ago. You don't need to go any further - the result will match. All bars making up the trend lie from extremum to extremum (extrema should hit the reversal zones ;) ) - then it is a matter of technique - you identify the last active channel and lay it out. From there the degree of nesting or detailing.
Choose from the resulting subset.

Good luck and good trends.


We forgot about the elephant, thank you. Sometimes there is such psychological blindness, when you can't see the forest for the trees. I have already made a script that puts channel bounds (first and last bar), the only thing left to do is to teach channels to rebuild according to movement of these vertical lines, but it's not difficult.
Something like this zigzag ?

 
Now I saw it and couldn't resist fixing the picture. There is a support level, which I can see by eye, and there is a channel created by the minimum of the SCO. Who thinks - how valid is this?

 
I propose to leave everything in the public domain at a level that is still sufficient to screen freeloaders. That is, do not publish ready-made solutions - at most a methodology and fragments of codes, and that all is not worth it.


I agree. Although it would be better to do without code fragments.
For example the picture Vladislav told me more than any fragment.
And in general I believe that the question of distribution of the system, as well as its commercial (not for personal use) is the sole prerogative of the author of the method.
 
Вывел систему уравнений для нахождения коэ-тов параболы по методу наименьших квадратов. Кто помнит линейку? Или самому придется лезть в детерминанты...

Rosh, in principle the derivation of the equations themselves is obvious. Everything is clear with that. But I understand that you are using averages for x and y. That is, you are simply solving one equation by clear methods of linear algebra. But what I don't understand is the following. Is it really possible to simply substitute sample averages into these formulas and get exactly what we need? Could you give a proof of this? Does the ANG3110 indicator work according to this principle? I think

it would be more logical to solve N such systems for N bars and from the sample of obtained arrays a,b,c determine the expectation of each parameter and use it as a parameter for the approximating parabola. Or am I mistaken?


There was such a thought, in principle I even thought of averaging the linear regression coefficients by this methodology, but so far no luck. Is it worth digging in this direction or not?
Reason: