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
Drag the script onto the chart with the mouse. The RCH linear regression channel should appear in the place where the mouse is released and a coloured curve should be drawn around it. In the set initial data, I have set the period to be 24 hours and the degree of polynomial m=2, i.e. a parabola. Next, we select the average line of the linear regression channel, and move it. It does not matter how you move it. You can move only one of the outermost points that appeared after selection and the channel will be stretched in time; you can move the centre point and the entire channel will be moved with the length of the previous period remaining unchanged until the period is moved. The polynomial regression curve should be redrawn during shift of the linear regression channel.
On dailies, the period should be set higher than 24 hours, of course.
I think everybody knows how to uninstall the script.
I didn't use Sleep type delays in the loop, so the script goes round and round in a continuous loop and naturally eats resources.
If you want to use this script and your resources are important, you may want to include in the end of while loop the function Sleep( ) 50 - 500, then the load on CPU will be reduced.
Of course, all these problems come from the fact that MT4 developers have bound execution of the indicator part only to the function start ( ), which comes from the incoming quotes. If we had an additional function for working offline, for research purposes, we wouldn't have these problems.
By the way, if developers read this thread, I urge them to think about it. Not always the software will be in such a primitive state as now (Although all is relative, of course).
Thank you very much, I will look into it
ps: i guess i'm not as good at VM as you :))
I agree, I would even say the BIGGEST problem.
HOORAY!!! Turns out it was all about the way the script was run! I was just selecting "Execute on chart" and that's why the error was going on. And when you pull the script with the mouse, everything works! :o) Thanks for the clarification!
At first glance there is no error.
Can the resulting comparison be applied to solve the problem you have set? Why?
Thank you in advance.
It is probably not possible to give an exact answer (at least for me). The task was to get at least two estimates: price (or target zone) and time to reach it (or time to cancel the scenario). By levels I get price levels, and by channels I get related variables: price and time. If one of them is more or less accurate, the other is also obtained with acceptable accuracy. This is to summarise the approach to the solution.
Whether it is possible to formulate it using the approach you suggest - I do not know - I have not tried. Probably you can - I am sure that the approach I used is not the only one and may not be the best.
I cannot answer more precisely, and I do not have much time to waste yet - I am still trying to implement several approaches to strategy building.
Good luck and hit the trends.
It takes as much time to convert gif to png as to pack it in an archive :)
Noteworthy is Up+Down on drawings - always equal to 1.0. That's understandable in principle. Now I need to understand how three channels were obtained instead of one. And how is the average calculated? But this question is purely out of curiosity :)
About Up+Down calculation I applied probability calculation by Chebyshev formula (from Bulashev).
The average is calculated in proportion to the length of channels - I chose the number of bars of each channel as the weights (I wrote about it in the algorithm).
Three channels instead of one is still obtained according to the principles of the strategy. You most often have several areas in which you can build channels that meet the criteria. These are the areas where I select the channel that has the lowest RMS. I also introduced a cutoff so that each next channel selected for plotting on the chart was at least 2 times as long as the previous one. If not cut off, there may be up to 7 closely spaced channels that would grossly blur the chart with lines. But with this truncation, we usually obtain 2-3 channels, which shows the picture quite clearly without clouding the picture with lines.
You have such a beautiful Murray indicator, with lettering. If you can, please give me the link where it is from.
Thank you in advance - Alexander
Or even easier, email it to me at ANG3110@latchess.com
It's actually a Vladislava indicator taken from www.mql4.com
Only the caption has been added. You can get it here.