TradingView
DasanC
26 feb 2019 23:12
Instantaneous Trend [Ehlers]
FOREXCOM:XAUUSD
1D
Gold / U.S. Dollar
FOREX.com
Beskrivning
⋅
26 feb 2019 23:12
A low lag, trend follower for higher timeframes.
This works great as a tool to filter trades from oscillators or to provide a general trend direction.
You can also trade off the color changes, though I must recommend using timeframes higher than 1H.
-DasanC
Trend Analysis
ehlers
trend
Kommentarer
alexdotleo
⋅
4 aug 2021 19:41
Hi! Does this repaint?
sunk_manitu
⋅
18 nov 2019 19:14
Hello, I try to convert your script to version 4 but have an effor for n being unidentified (in " if(n < 7)"). I do not see it declared in your code. Could you please tell us what n stands for?
badneo
⋅
14 dec 2019 17:45
@dalescher, try replacing "n" with bar_index (
tradingview.com/pine-script-reference/v4/
DasanC
⋅
19 dec 2019 01:08
@dalescher,
@badneo
's reply is correct. In version 4, they removed the 'n' variable which is used to reference the current bar number.
Mer