Super Trend

#1
Hi,

Anyone have used SuperTrend Indicator.
If so let me know abt the Best fit parameter for the same.
Or kindly guide me with some more ideas abt SuperTrend.

Regards,
Mani.
 

arora

Well-Known Member
#2
_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();

This is the AFL code for super trend indicator.
Disclaimer: i am not following this indicator. i trade based upon automated software

Have a look:):)
 

arora

Well-Known Member
#3
Hi,

Anyone have used SuperTrend Indicator.
If so let me know abt the Best fit parameter for the same.
Or kindly guide me with some more ideas abt SuperTrend.

Regards,
Mani.
_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();

This is the AFL code for super trend indicator.
Disclaimer: i am not following this indicator. i trade based upon automated software

Have a look:thumb::thumb:
 

Similar threads