Hey guys,
I'm trying to create a very simple trading algorithm using EMA crossover, but I'm having difficulties on calculating the 15 min EMA.
The idea is simple:
If the 9 day EMA (for the 15 min candle) crosses over 21 day EMA (for the 15 min candle) -> buy a given stock
If the 21 day EMA (for the 15 min candle) crosses over 9 day EMA (for the 15 min candle) -> sell the stock
Thanks for your help :)