27 November 2010

Super Trend for Amibroker (AFL)

Super Trend for Amibroker (AFL)






This is a trend following system which ignores minor swings in the trend ( Up / Down ) – Entry and Exit are based on emergence of consecutive red – green medium body candles with the highest high or lowest low of the previous 2 candle as the stop loss . This indicator can be supported with the standard MACD buy sell signals ( Crossovers) . I have attached @ chart of TataSteel .. Exact buy sell signals are obtained @ peaks and bottoms not falling into the divergence traps of MACD histogram .

Regards .

Arjun

Here is a screenshot of how the indicator looks:
Tatasteel


_SECTION_BEGIN("Movint trand Surrogate");
mtOpen = LinearReg( Open, 20 ); // calculate moving trend from open
mtHigh = LinearReg( High, 20 ); // calculate moving trend from open
mtLow = LinearReg( Low, 20 ); // calculate moving trend from open
mtClose = LinearReg( Close, 20 ); // calculate moving trend from open
// plot surrogate chart
PlotOHLC( mtOpen, mtHigh, mtLow, mtClose, "Surrogate", colorBlack, styleCandle );


_SECTION_END();


No comments:

My Blog List

Total Pageviews

Search This Blog

Followers

Blog Archive