How to calculate Marginrequired in mql5 ?
Look in the source code of this indicator.
Instant estimation of profit, margin level, drawdown on MetaTrader charts
- 2018.07.16
- www.mql5.com
I'm sure all of you use the crosshair tool on MetaTrader's charts. It's very useful to measure distance in bars or points between 2 spots. Yet I was always wondering, why it does not provide an option to show profit value, margin level, drawdown or gain percentage in addition to points. To remedy this problem I've developed a MQL program, which...
Hallo, just want some help.
If in mql4 I use: double MG1 = MarketInfo(Pair1, MODE_MARGINREQUIRED),
so how to get the same result in mql5, since there is no MODE_MARGINREQUIRED in mql5 ?
Thank you for any help