Honestly I have no idea what I'm doing here. I wanted to learn how to build a stragity and this is what it's morphed into. It originally started at a 9/200EMA crossover however it's since had a few iterations since then.
Please if you can improve this feel free I would really appreciate it. Otherwise I hope you can learn from my crappy coding practices. :)
Cheers