Forum

help! What is Variable output that receives data from hst file?!

Hello. I tried to write the following code without using history file. But there is a problem. I couldn't figure out what price value data[][1] returns. I would be grateful if someone could tell me. Source code removed by moderator because it is only useful for scammers and not for proper EA code

Using File Functions MQL4 instead of kernel32.dll

Using File Functions MQL4 instead of kernel32 .dll Hello everyone, how can you write the following code without using kernel32.dll and using File Functions MQL4? Source code removed by moderator because it is only useful for scammers and not for proper EA code development

US30 history download problem

When I click on the US30 history download button in ICMarkets broker, I encounter this error

MQL4 to MQL5

Hello, How can I write the following MQL4 condition to MQL5? if ( OrderSelect ((IT_E2565O - 1 ), 0 , 0 ) == true && OrderMagicNumber() == MagicNumber && OrderType() != OP_BUY && OrderType() != OP_SELL);

Low EA speed in backtest

Hello everyone, I have written an EA. The speed of EA in the backtest is good at first, but after a while, the speed decreases drastically. How should I solve this problem? Thank you for your guidance