« Back home

3 -15 Crossover

This is a simple strategy involving the 3 and 15 period exponential moving average.

A buy signal is generated when the 3 period exponential moving average crosses the 15 period moving average.

Likewise a sell in generated when the 15 period exponential moving average crosses the 3 period moving average.

Buy script

Sell script

Additional notes

Note if this strategy is applied on a 5 minute intraday chart then the 3 and 5 period will refer to the previous 3 and 5, 5 minute charts. Likewise if this strategy is applied on EOD chart then the 3 and 5 period will refer to the previous 3 and 5, EOD charts.