StockFetcher Forums · Filter Exchange · Instantaneous Trend (iTrend) indicator from John Ehlers<< >>Post Follow-up
srinisu
22 posts
msg #83061
Ignore srinisu
11/14/2009 12:39:53 PM

As I can't code for jack, I shall add some of the most recognized TA indicators that are not incorporated at SF. I'm hoping by providing the Tradestation language, it will be easier for the coders to convert it. Thx to Ehler's brilliant work and the brilliant coders on SF.

Trend indicator with nearly zero lag and about the same smoothing as EMA. Trade signals are generated by crossing of the trigger line and iTrend line.

* EHLERS INSTANTANEOUS TREND INDICATOR *
Inputs: Price ((H+L)/2), alpha(.07);

Vars: Smooth(0),
iTrend(0),
Trigger(0);

iTrend = (alpha- alpha*alpha/4)*price
+ .5* alpha * alpha * Price[1] -
(alpha - .75 * alpha*alpha) * Price[2] + 2
*(1 - alpha) * iTrend[1] -(1 - alpha)
*(1-alpha)*iTrend[2];
If currentBar < 7 then iTrend = Price + 2*price[1]
+ Price[2]/4;

Trigger = 2*iTrend - iTrend[2];

plot1 (iTrend,"iTrend",blue);
plot2 (Trigger, "Trig",green);



chetron
2,817 posts
msg #83075
Ignore chetron
11/14/2009 7:04:20 PM

SORRY, CAN'T BE DONE BY A SUBSCRIBER, HERE ON STOCKFETCHER, DUE TO THE NEED OF A LOOP FUNCTION.

StockFetcher Forums · Filter Exchange · Instantaneous Trend (iTrend) indicator from John Ehlers<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2016 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus