TradingView
emiliolb
25 Th12 2014 21:37

Linear Regression Slope 

Euro Fx/U.S. DollarFXCM

Mô tả

Script which calculates the linear regression slope, giving an idea where enter or exit in a market position.
Please if anybody have suggestions, let me know.
Bình luận
jbh2000
hi there
great script!
is there any chance to set alerts when arrows go from green to red and vice versa?
would be a great feature
keep up the great work
Hociemocie
This rocks! I like using it in the 1 minute set to 50 - works perfectly!! Thanks!
emiliolb
@Hociemocie, Hi! Are you still using this? How was your experience with this indicator? Could you make some money?
Hociemocie
@emiliolb, i stopped using it some time ago but i did well scalping if I remember correctly!
jeshayle
Hi Emelio,
do you know how to code this LRS indicator in javascript?
I don't need the highlight bars or anything else, I just need the lines and to be able change the colour of the line.
Thanks
JS
Aldair101
thank you for sharing your code. I think you can code the slope so that it looks like an oscillator. so that it ranges from 0 to 90 in the case of positive slopes and 180 - (0 to 90) in the case of negative slopes. I think that the inclination of the slope dictates a change of trend.
cooney_s
Nice Tool Emilio!
JoshuaMcGowan
in line 11 what is the interval set by?
emiliolb
@JoshuaMcGowan, interval is a reserved word that gets the value from the popup to set the timeframe, colors amd arrows
JoshuaMcGowan
@emiliolb, thank you :) figured it was an artifact not available in v4 now. Much appreciated.
Thêm nữa