> For the complete documentation index, see [llms.txt](https://docs.algomojo.com/algomojo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algomojo.com/algomojo/strategies/amibroker/ema-crossover.md).

# EMA Crossover

**Sample AFL Code - EMA Crossover**

This is a simple prototype Amibroker AFL Code for those who want to design a level based breakout system when the technical event occurs(For example ema crossover, MACD crossing zero or RSI crossing above a certain threshold).

&#x20;<mark style="color:blue;">Download Sample Code</mark>

{% file src="/files/SmcWglmgVBlKfuh5dIkw" %}
