It is triggered by losing positions. The call level is set by your broker and it is triggered once your free margin is used up to the extent that the margin call level is reached.