Hi,
I'm brand new to quant programming and I would be so grateful if someone could help me with what I'm trying to do:
I would like for any stock to do the following:
- buy when moving average 40 (ma40) crosses ma80 AND ma 40 & ma80 are both under ma120
- sell when ma40>ma80>ma120
now I want this on a 1-minute chart not on a daily chart which seems to happen on my algo. Also anytime I clone ma crossover algos I seem to have all trades done between 9.30am and 11am why is that happening?
Thank you so much in advance for your help!
Max