Forum

Close my trader MqlTradeRequest

Hello, I place a trade with MqlTradeRequest structure and i want close my trade (Order = 123456 example) When i write it : MqlTradeRequest request={ 0 }; request.action= TRADE_ACTION_MODIFY ; request.magic=mymagic_number; request.symbol = mysymbol; request.volume =

iMA return Double

Hello every one, I have simple Question why when i want use the Method "iMA" this method return int? Why this Mobile Average it's not double? Because i need the price. Thanks a lot

MetaTradeAPI with Windows Server 2008

Hello, I use MetatradeAPI dll, and i bult my program on Windows 7 ultimate... When i execute my program on Windows server 2008 R2, there are errors on dependency for MetatradeApi.Internal.Shared! Why do I have this problem? PS: My program works on Windows 7