Well the best way to prevent margin call is to make sure you protect your account well or else you will get a margin call and lose all of the money. You must trade with a reasonable strategy which is less risky and more profitable or else you will lose a lot of money. So you must know where the market is going or you must predict where it might go to make that decisions quite soundly and nicely and protect your account.