Can anybody please point me to "Worst Case" script.

If for whatever reason I don't have a SL in place or I just took my eye of the ball I would like to know my back is covered
Worst case = Market has turned and I am heading for a margin call 🙁
I would like a script to close my account at a pre set Armageddon level (my original stake) before the margin call
Least then I COULD start again and am no worse of - apart from time and pride
PS . . . Has to work in £'s and not Lots
.

If for whatever reason I don't have a SL in place or I just took my eye of the ball I would like to know my back is covered
Worst case = Market has turned and I am heading for a margin call 🙁
I would like a script to close my account at a pre set Armageddon level (my original stake) before the margin call
Least then I COULD start again and am no worse of - apart from time and pride
PS . . . Has to work in £'s and not Lots
.