Forum

Getting the symbol and order type of a placed order

hello programmers, this a basic question that i haven't been able to crack, how can i find the symbol and order type of a placed order among numerous placed orders

Trade execution for gold and US30

hi programmers can anyone hep me out with the mqltraderequest order for opening positions in gold and us30, i am kinda stuck in the implementation since i have only dealt with forex eas. I'd really appreciate the help

Getting the symbol of an open position and comparing it to the symbol of the chart the expert advisor is attached to

Hello programers, how can i get the symbol of an open position and compare it to the symbol of the chart my ea is attached to. I'd really appreciate the help

Determining the symbol for the most recent loss

Hi fellow programmers, i am trying to find a way of storing the symbol of my most recent trade that closed with a loss but i have no idea as to where to even begin. I would apreciate any nudge in the correct direction

MQL5 getting the number of open positions for a specific symbol

Hi programmers, ive been trying to figure out a way of getting the number of open positions for a specific symbol in an ea for example the number of open positions in USDCHF , does anyone have an idea i'd appreciate any idea on how to start

Copybuffer function parameters for the custom indicator currency strength index

hello programmers, i created an expert advisor that among other indicators uses the currency strength index indicator to evaluate the final bool buy or sell condition and it seemed to have worked perfectly even showed trades running in the strategy tester but when i took it live no trade was