zcom,

On the first bar are you not trying to set the price & trend of non existent bars, ITrend[1] & Price[1] or higher don't exist yet?

I'd try simply setting ITrend[0] = Price[0] for the first 2 or 3 Bars and use Lookback to ignore the first several bars as teh distortion works through.

Does Ehlers specify using close prices i.e. priceClose() or average prices therefore price()?

Last edited by swingtraderkk; 11/08/13 12:58.