Margin Call Level on Chart

 

Hello all! Does anyone have an indicator or script for Margin Call level on chart? It must to calculate all opening positions like Level Zero Indicator that is showing on chart a level Zero-profit place in case if you will close all buy and(or) sell positions. Usually when you like to open many positions with different size lots you need to know where is the level for Margin Call on chart. I hope some programmer should try to create an indicator or script for this idea. Thank you a lot in advance!

 

It would be possible only if you have orders for one symbol only

Even with one symbol only orders, due to variable spreads (or comissions), it would be impossible to calculate it exactly, and in the case when hedging is applied to the same symbol, again you have a case when margin call level price would be impossible to calclate in some cases

 
mladen:
It would be possible only if you have orders for one symbol only Even with one symbol only orders, due to variable spreads (or comissions), it would be impossible to calculate it exactly, and in the case when hedging is applied to the same symbol, again you have a case when margin call level price would be impossible to calclate in some cases

Ok, I would like to have one for only one currency. It could show may be approximately margin call level or 2 levels from one to other level. Or just warning area if the price will coming closer.

 

Here is one version that should show when would margin call happen

noloss_v5.mq4

Files:
noloss_v5.mq4  9 kb