Hello everyone,
I am a college student that has done your traditional trading as a finance student. However, I recently have been trying to learn how to do trading systems.
I have created a simple moving average strategy, and seems to be working okay and working well. It's only works with one stock, however I will try to make it work with multiple in a later date. I plan on adding MACD to the strategy but note sure how to implement it correctly. Any help would be great.
Basically, I am trying to trigger a buy when moving average has been crossed and at the same time the MACD is over zero. And vise versa I would like to sell when it has crossed the moving average and MACD has gone below zero.
Once again, any help would be great!
Lastly, I realized that their is a few time metrics that are wrong with my code, I have already fixed them !