Great Indicator, Thx!!!
Wonderful timesave - makes the lines reproduceable and reveals opporturnities otherwise missed.
Thanks for posting
Can you make it MTF one? Thx!!
Shouldn't it be (i+1) instead of i in the calculation loop? Cause otherwise, the first point will be 0*Close[0] which is always zero.
Is this a mistake or what's the reason for this?
thx. the simple to use.
i think no need for 3 last line of code, isnt ?
LR_line[x] = 0.0; Sup_line[x] = 0.0; Res_line[x] = 0.0;
where can I get it?
You have quoted the post with the link!!!!!
Hello
I'm trying to get the value of a certain past value along the Support and Resistance lines, let's say I need the value I can read in the oldest printed line (barcount 50).
The only value I could get so far is the last (index 0).
If I duplicate the indicator with barcount(50) and shift 49, I can see the value I need in the current position, but if I try to used it, it will always give me the value corresponding to the last LR.
I suppose I'd need a kind of "index" setting for it.
Is it possible in someway to get those values?
thanks
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Linear Regression Channel:
Author: dimicr