we'll think

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
1) a function to return the margin required for a given number of lots. A lot of experts testing for tradeability based on remaining margin, have to assume the amount of margin that is needed. It would be nice not to have to assume the amount. Something like the following function signature:
double MarginRequiredFor(int lots);
2) a function or built-in variable that specifies the minimum trade lot size. I'm not sure if there is other brokers that do the following: but the broker I go through has the mini accounts specify the number of mini lots as multiples of 1.0 lots, not 0.1 lots. It would be nice to be able to determine this within an expert and not either guess at it or require the user to specify this.