Margin Calculator

Easy Trader

Master Trader
Sep 17, 2011
240
4
59
Would it be possible to add in the amount held on margin for the trade. The reason behind my asking is because I keep a small side account that I use very high risk. Kinda like a steak and lobster account instead of the normal burger and fries account. When I place a pending order I manually have to calculate this. It would be very convenient for me to just plug in the leverage and contract amount and get the value....

Thanks in advance
 

Easy Trader

Master Trader
Sep 17, 2011
240
4
59
It doesn't have to be here, I was just looking at the indicator and thought it would be easy to add. I have no programming knowledge so I'm not sure what my basis was for "easy to add"?:rolleyes:
 

Enivid

Administrator
Staff member
Nov 30, 2008
14,422
645
144
Odessa
www.earnforex.com
Here is the simple indicator that will output the required margin to open a position depending on the input size. It will just print it to Experts tab. Leverage and currency values are fetched by MetaTrader automatically, so no need to enter their values.
 

Attachments

  • Margin Calculator.mq4
    850 bytes · Views: 54