I have been working on a tool that futures traders can use to see at what price they would have a margin call. It works for long and short positions as well as any futures product as long as you have the necessary information about buying power requirement and how much of the underlying 1 standard lot controls.