Forum

upload image via HttpSendRequestW()

hi, i try to upload an image to a http server via "post" method by using HttpSendRequestW(), but it doesnt work yet. i get the error message in my metatrader: " Access violation read to 0x00502030 in 'Wininet.dll' " on my http server there is a php file that saves the file. take a look at the code

list all files of a directory

hi! i am trying to get through all files of a directory. i found this code, and wrote an EA with it, but it doesnt work. This code should print all names of the files, but it doesnt. do you know why? thanks for help //+------------------------------------------------------------------+ //|

MT4 : What happens when it's time for a new candle, but there is no tick in that currency?

How to check for second 0 of a candle in different currencys / and check a condition on the previous candle / to start an order Background I work on an EA to place an orders at second 0, when a condition is true. This EA is running in one Chart – one Currency – but it checks conditions for different

MT4 : Journal shows more OrderSend() calls with TradeContextBusy than the EA logged in its logfile

I wrote an EA for Metatrader4 and it logs everything that the EA does in a log file that is opened like that: filehandle= FileOpen ( "EA_LogFile.csv" , FILE_CSV | FILE_WRITE | FILE_SHARE_READ , '\t' ); before I call OrderSend() I check the following conditions: if ( IsExpertEnabled () && IsConnected

converting an indicator to work in strategytester

hi, i work in converting the MTF_Resistance-Support (https://www.mql5.com/en/code/10063) indicator so that it works in the strategytester. i modified the indicator to show the breakouts through the lines. the indicator uses multiple timeframes and the iFractals() function to calculate the