Skip to main content

Trend Scalping System for Amibroker (AFL)

esnataraj about 16 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 8)
  • Tags:
    amibroker, moving average

This Indicator design very simple, but very effective method of trend trading. Only uses 5 moving averages.

BASIC RULES

  • Trading candle above the ribbon go long only…Trading candle below the ribbon go short only.
  • Fast indicator(moving average) cross above Slow Indicator.. confirm uptrend.
  • Fast indicator cross below Slow Indicator confirm downtrend..

MORE DETAILS: Tunnel Scalping

Thanks to: Mr. KITTU

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Price1");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 
_SECTION_END();

_SECTION_BEGIN("MID");
P = ParamField("Price field",-1);
Periods =Param("periods",34,2,300,1,10);
Plot(EMA(P,Periods),_DEFAULT_NAME(),  colorBlue, styleDots);
_SECTION_END();

_SECTION_BEGIN("UL");
P = ParamField("Price field",-1);
Periods = Param("periods", 34, 2, 300, 1, 10 );
Plot( EMA(High, Periods ),_DEFAULT_NAME(), colorLightBlue, styleDots);

_SECTION_END();

_SECTION_BEGIN("LL");
P = ParamField("Price field",-1);
Periods = Param("periods", 34, 2, 300, 1, 10 );
Plot( EMA( Low, Periods ),_DEFAULT_NAME(), colorLightBlue, styleDots);


_SECTION_BEGIN("FAST");
P = ParamField("Price field",-1);
Periods = Param("periods", 50, 2, 300, 1, 10 );
Plot( EMA( P, Periods ),_DEFAULT_NAME(), colorLime, styleLine);

_SECTION_END();

_SECTION_BEGIN("SLOW");
P = ParamField("Price field",-1);
Periods = Param("periods", 89, 2, 300, 1, 10 );
Plot( MA( P, Periods ), _DEFAULT_NAME(), colorBrown, styleLine);

_SECTION_END();

2 comments

Leave Comment

Please login here to leave a comment.