EmpiricalFX

Instantaneous Trend [Ehlers]

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
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,因此交易者可以理解和验证它。为作者加油! 您可以免费使用它,但是在发布中重复使用此代码受网站规则的约束。您可以收藏它以在图表上使用。

想在图表上使用此脚本?

评论

Hi! Does this repaint?
回复
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?
回复
EmpiricalFX dalescher
@dalescher, @badneo's reply is correct. In version 4, they removed the 'n' variable which is used to reference the current bar number.
回复