Draw Line for Margin Call and Stop Out
-
Good morning, can anyone help me assemble the blocks necessary to display the Margin Call and Stop Out lines on the graph, if possible! Thank you
-
You need to do the calculations for both values first, then transform them into price levels and finally drawing them. You will need variables to do that. Are you familiar with them?
-
I tried but couldn't
-
Can you please share the link to it?
-
-
You need to substitute block 5 for a 'For each trade' block.
-
yes thanks and my formula erro not calculate live Price
-
What do you exactly mean?
-
View on Chart line for margin call and stop out
-
Can you please share the latest version of the project?
-
@duepips
you are sure about the formula? to me looks not correct!for a margin call you first need to find the net position (+buy volume-sell volume) if you have multiple open positions on multiple symbols this is task itself! if your broker matches buy and sell without a topping you are lucky if not you need to take the topping into account, next you would need to determine how much margin is left and how many pips your net exposure can handle, so a margin call only can come on the downside, not once you are in profit!
-
@l-andorrà project on pause
-
@bk7Thank you, I think I'll abandon the project