I can write you a simple one. I just need to know when do you want to enter (I recommend 9 am London open - it's when market starts moving) and also what's your criteria for buy vs sell.
Just be aware tho that while you might have a winning strike, martingales are losing in the end, as it only...