Forum

StringConcatenate error

int TotalSymbolOpeningOrders() { int func_total_orders= 0 ; string func_symbol_list= "" ; for ( int func_i= PositionsTotal ()- 1 ;func_i>= 0 ;func_i--){ ulong tick= PositionGetTicket (func_i); if ( PositionSelectByTicket (tick)){ if ( StringFind (func_symbol_list, PositionGetString

Metatester 5 shuts down after a while.

Metatester 5 shuts down after a while. i use windows 10 pro. and I have turned off Windows Defender. The problem is still not resolved. Is there a way to fix it? My notebook information as in the picture. Thank you

How get order properties (History)

i want get order properties at history mq5 and select position. see picture. i'm sorry.i use english very bad. Thank you

How get order history positions (MQL5)

i want time close order. thank you

Help me grid code

see picture and i wirte code : if ( Ask !=FindOrderOpenPriceByType(MagicNumberBuy, OP_BUY ) && ( Ask -(GridStep* Point )>=FindOrderOpenPriceByType(MagicNumberBuy, OP_BUY ) && Ask +(GridStep* Point )<=FindOrderOpenPriceByType(MagicNumberBuy, OP_BUY ))) int buy4= OrderSend ( Symbol (), OP_BUY