Skip to main content

EMA Breakout for Amibroker (AFL)

fisherman over 12 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    amibroker, exploration

Exploration for EMA breakout

Indicator / Formula

Copy & Paste Friendly
/*
	TimeFrameSet(inWeekly); //Weekly
//	e = EMA(C,15) - Ref(EMA(C,15), -1);
	stcross =	Cross(StochK(),StochD())
	TimeFrameRestore();
	stcrossw = TimeFrameExpand(stcross, inWeekly);
*/
	TimeFrameSet(inWeekly); //Weekly

	periods = 50 ;
//	breakout = Cross(H,EMA(C,periods)) ;
	breakout = L > EMA(C,periods) ;
	TimeFrameRestore();
	breakoutw = TimeFrameExpand(breakout, inWeekly);
	Buy = breakoutw ;
//	Exploration for EMA breakout
	Filter= breakoutw AND C > 7 AND (MA(V,20) > 50000) ; 
	AddColumn(breakout,"Breakout",1) ;

1 comments

Leave Comment

Please login here to leave a comment.