Forum

How it is this possible

I create a static struct and I load with data. The struct is an array and the size is 200. If you look in the printscreen attached you will see on index 0 and index 1 i have data. But i cannot access or return the default value

How can i send cookie session from WebRequest?

Hi, How can i save the cookie session fro WebRequest function ? I need the cookie session to perform another request

How to add an indicator to a chart?

Hi, I looked into documentation and I only function to delete indicator to a chart. My question is : How can I add from mql4 language an indicator to a specific chart? Thanks

How can i send a cookie with WebRequest?

Hi, When i call WebRequest function i receive a cookie in header response. How can i set a cookie using WebRequest function? My cookie look in this mode = " Cookie: JSESSIONID=B679D3E7495C944FD5407263E27E2315; Path=/; HttpOnly Cookie: T=1474112508; Expires=Wed, 15-Jul-2015 12:19:44 GMT; Path=/;

How can I find MT4 build from MQL4?

Hello, I want to find MT4 build from mql4 code. How can i do this? The reason is my programs work only in MT4 build 765 or highter. Thanks

CurrentTime calculated

Hi, I want to know what is current broker time in weekend because I want to determine GMT offset. In mql5 is a function call TimeTradeServer() but in MT4 are not. How can I know what is the broker time in weekend

NormalizeDouble bug?

Hi, I use NormalizeDouble function and sometimes don't work. I put a print screen below from my code in debug mode. This is an bug

Is there any problem about calculation of profit and loss streaks in the detailed statement?

As you can see in the file it says that consecutive wins are 21, while they are obviously 18 (on screen). Also the consecutive losses number is different, and from that, all the other streak statistics are different. Why does that happen

How can I calculate the value of a pip on a given fx pair, at a given date ?

Hi, I have a question : How can I calculate the value of a pip on a given fx pair, at a given date

Major OrderSelect() bug! Seen on backtester and demo - might be on live too

This has surfaced while working these days. It seems that, regardless that an order is active or closed (we tried only with market orders), both modes OrderSelect(), MODE_TRADES and MODE_HISTORY, will return true. If an order never existed, both will return correctly, false. Test it yourself: launch