Forum

Structures and errors

Hello, I have some trouble with MQL4's structures. I tried to write a code with structure and I took as example the following: https://docs.mql4.com/basis/operations/other#operation_dot struct SessionTime { string sessionName; int startHour; int startMinutes;

Expert and files

Hello, I tried to search this topic, but I can't find anything in the forum. My question is very simple. I'm developing an EA and I would like to store some informations in a permanent way (i.e. to prevent Mt4 crashes or pc shutdown) . I heard about GV, but my EA should works on different symbols

MT4 Stop Loss and Take Profit formula

Hello all, I'd like to know which is the exact formula (used by brokers) to calculate preventively the monetary value of a SL or a TP. I'll explain better: if I set a pending order or I send an order to the market and I put mouse over my SL or TP level, the platform says me how much (in deposit