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 am always intrigued about doing the right maths. Linear regression model for (x,y) suits well market. I did some experimenting with NumPy using (bars,price,volume) (volume weighting), getting similar results. Also, I did weighting quantile regression by volume by repeating (time,price), sorting and then finding the results. Easy task with NP, impossible for me at MQL5.
Thanks for sharing your work, Mr. Rakic
Very well conceived and implemented concept.
I was looking for an indicator with channel and linear regression and many of them are very complicated and tremendously consuming of machine resources.
Your code is the simplest I have found so far and I will test further it to verify if it suits my concepts for an EA.
In my EA I added a deviation from center line (+ and -) in order to validate the trade point, but in fixed points.
I believe if there was another buffer with a calculated deviation from center, but based in linear regression, that would help a lot.
Just an idea.
Anyway, thanks for sharing your ideas and hard work
Best regards from Rio de Janeiro