Download MetaTrader 5
To add comments, please log in or register
Interessiert am Partnerprogramm MQL5.community? Veröffentliche Links und verdiene Geld damit!
galafron
208
galafron 2015.03.17 17:39 
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.  
Stuart Browne
5518
Stuart Browne 2015.03.17 22:52  
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?

/
To add comments, please log in or register