Margin required access from indicators

 
Actually there is no way to access the leverage of any instrument from an indicator, which is a regression from MT4 prohibiting the developpment of money management indicators like those illustrating the performance of an EA. This is because MarketInfo MARGIN-REQUIRED has disappeared from MT5 and OrderMarginCalc and OrderProfitCalc are unavailable from an indicator. Turn arounds are tedious, they need either an expert to comunicate with the indicator though globals and chart events or a file written by a script which has to be actualized, so it could be a good idea for Metaquotes to provide  access to MARGIN-REQUIRED  data from indicator, like a new data SymbolInfoSouble SYMBOL-MARGIN-REQUIRED or else authorize Order Calcs from indicators.  This would be in order to inprove Money Managment tools tools among others things.  
 
galafron:
Actually there is no way to access the leverage of any instrument from an indicator, which is a regression from MT4 prohibiting the developpment of money management indicators like those illustrating the performance of an EA. This is because MarketInfo MARGIN-REQUIRED has disappeared from MT5 and OrderMarginCalc and OrderProfitCalc are unavailable from an indicator. Turn arounds are tedious, they need either an expert to comunicate with the indicator though globals and chart events or a file written by a script which has to be actualized, so it could be a good idea for Metaquotes to provide  access to MARGIN-REQUIRED  data from indicator, like a new data SymbolInfoSouble SYMBOL-MARGIN-REQUIRED or else authorize Order Calcs from indicators.  This would be in order to inprove Money Managment tools tools among others things.  

Have you sent this info to the Service Desk?