Skip to main content

intraday scalping for Amibroker (AFL)

tsarvjit about 14 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 5)
  • Tags:
    trading system, amibroker

This indicator works well in indexes and comodities .

You can enter trade at signal given by the arrows.

You should be ready to square up when rsi value reaches 70 or 30 .

Trade with this in 5 mt time frame .

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Price");
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("EMA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 5, 2, 300, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); 
_SECTION_END();

_SECTION_BEGIN("EMA1");
P = ParamField("Price field",-1);
Periods = Param("Periods",13, 2, 300, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); 
_SECTION_END();

Buy = 
 RSI( 14 ) > Ref( RSI( 14 ) , -1 )
	AND RSI( 14 ) > 50
	AND Cross (EMA (Close,5), EMA ( Close,13));



Sell = 	
 ( 
		RSI( 14 ) < Ref ( RSI (14 ) , -1 )
		AND RSI( 14 ) < 50
		AND Cross (EMA (Close,13) , EMA ( Close,5))
	);

shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorGreen, 0,L, Offset=-10);
PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorRed, 0,H, Offset=-10);

3 comments

1. swot9
about 14 years ago

Nice piece of work awesome it work superb….:)

all the best
and thnks

over 13 years ago

Superb program mind blowing returns just can say a small money making machine online

Leave Comment

Please login here to leave a comment.