Forum

why is 1.85 is round up to 1.9 and 1.95 is round down to 1.9 ?

why is when i round 1.85 to 1 decimal place it become 1.9 and 1.9 5 round down so it become become 1.9 and 1.65 round down so it become 1.6 the out pout , was like this : 2023.09.27 19:50:46.410 test ( EURUSD ,H1) number 1.15: 1.1 2023.09.27 19:50:46.410 test (EURUSD,H1) number 1.25: 1.2 2023.09.27

problem with the "Structures variables " and the meta trader

i'm learning mql5 and I'm trying to learn the structure but there's a problem when I'm trying to run The Script void OnStart () { MqlTick price; // Declare a variable of type MqlTick to hold tick information SymbolInfoTick ( _Symbol , price); // Fetch the current tick information for the

Hello can anybody help me with bringing me this kind of expert advisor

I need an expert advisor in mql4 that open pending (BuyStop and SellStop ) orders after entering the price of (BuyStop and SellStop ) every time in a text box with buttons on the chart to send the trades Also I want the expert to have tack profit and stop loss with trailing stop option

can anyone help me with this code ? please help me !

So I have been making an AI with button labels the first button opens bye and the second one opens a sell I want to add another two buttons one that opens a sell limit and one that opens a buy limit far from the last trade opened accordingly and I want to be able to edit the space between them in