I'm trying to improve this algorithm that uses two different crossing moving averages and the rsi as signals and combines them into one:
- How can I reduce the max drawdown? I tried using the stop loss but it does not seem to work. Maybe the algorithm does many unsuccessfull trades.
- How do I let the algorithm select the stocks? Right now they are hand picked and this suffers from both survivorship bias and selection bias.
- Could an ai optimize the weight of the different signals? Now they are all equal to one...
- I tried using the MACD signal too but got worst results so I removed it. It take a lot of code for something so common. Is there a better way to iterate on signals?
What are your thoughts?
Thanks