can someone code a lot size calculator ea in mt4.
allow users to input margin level to maintain , ie; i want to maintain initial of 120% margin(variable). what is the max lot size (X), X = ?
auto detect different base currencies, leverage and margin, if set by brokers (esp CHF on some) and do the cross currency margin financing mathematics automatically, (i can give u mathematical formula if needed) ie; mt4 base currency is SGD, but i buy a EUR/NZD pair, margin calculation is different from a USD/SGD pair.
greatly appreciated.
regards
Bicarus
allow users to input margin level to maintain , ie; i want to maintain initial of 120% margin(variable). what is the max lot size (X), X = ?
auto detect different base currencies, leverage and margin, if set by brokers (esp CHF on some) and do the cross currency margin financing mathematics automatically, (i can give u mathematical formula if needed) ie; mt4 base currency is SGD, but i buy a EUR/NZD pair, margin calculation is different from a USD/SGD pair.
greatly appreciated.
regards
Bicarus