İş tamamlandı
![](https://c.mql5.com/i/avatar/avatar_na2.png)
İş Gereklilikleri
Currently i am using the spreadsheet to calculate what my margin and equity will be with my current open positions when i insert a target price. i can then just add any pendings i am thinking of dropping and then the spreadsheet works out what my margin and equity will be including the pendings, this gives me the ability to work out to what price my account can hold to with reversals. or how much profit i will make with individual running trades at a target price.
I will need an EA that pulls all the current open position details, and gives me to ability to insert any pending without executing the pending as well as taking into consideration any active pending and output what my margin and equity will be at the target price.
I have created a mock up of the kind of thing i am expecting. please find attached JPG.
MARGIN CALCULATOR EA SPECS
Needs to load open buys
Needs to load Buy Pending’s
Needs to load Open sells
Needs to load Sell Pending’s
Floating P/L for buys and sells separately displayed
Needs to have the ability to scroll open positions if it does not fit into window.
Margin Calculator Window should be scale able
Need to be able to pick up current:
Balance
Equity
Free Margin
Margin level
Margin
Need to be able to insert target price and the rest of the figures should update
Deleting the target price reverts back to current figures
Need to be able to toggle each section on and off and results should update accordingly
Needs to be able to add virtual pending’s which are not executed howver included in the calculations.
Need to be able to delete individual virtual pending’s.
Here is the link to the excel spreadsheet and a mock up of what it could look like.https://www.dropbox.com/sh/rjscnw6jfsg9mdy/AAAB7Hap1QS12r51zUDR-54pa?dl=0
Need this developed for both MT4 and MT5.
Thanks