How to create algo for Exponential Moving Average Crossover Trading strategy?

How to create algo for Exponential Moving Average Crossover Trading strategy?

In this episode , we are going to learn how to code Exponential Moving Average Crossover Trading strategy.
Let’s get into the set-up.

Condition:
This is a very simple strategy, we will be using Exponential Moving Average crossover to take buying or selling decisions.
Buy: When 2 period Exponential Moving Average crosses above 3 Period Exponential Moving Average
Sell: When 2 period Exponential Moving Average crosses below 3 Period Exponential Moving Average

We will Buy: When 2 period Exponential Moving Average crosses above 3 Period Exponential Moving Average
We will Sell: When 2 period Exponential Moving Average crosses below 3 Period Exponential Moving Average