Forum

MQL5 indicator wrong buffer indexing

Hello, I wrote a few days ago about an indicator i was working to show several TF bollinger bands on the chart of the least selected time frame. I fixed the issue for data retrieving, but there is something else - the information when put into buffers is wrongly outputted. I printed every value of

MultiTF indicator error 4806

Hi guys, I researched every single topic i could find on the issue, and only when i checked everything i found im writing. I am experiencing a massive headache as a result of getting the unresolvable "for me" error 4806. Now i have an MQL5 indicator to put a number of different TF BB on a single

Error while passing array by reference in a function argument MT5 EA

Hi guys, I was developing a function to calculate the value of EMA as i pass the source array by reference. But when i call it , it gets a lot of errors, i searched for a solution, but yet nothing. So i would be grateful if you can help. double ma1 =

Can no longer apply for freenlance jobs ?

Hello, for 2-3 days my ability to apply for freelance jobs has been canceled. I have 7 opened jobs, I am working on(simply i got no answer for months on a couple of them), I can confirm further steps for them, but can no longer apply for other jobs ? Is this due to some max jobs capacity per

2 months waiting for an arbitration ??

Hello, I am experiencing an issue in the arbitration system, a customer stopped responding and i requested an arbitration. Still no word from anyone for 2 months, although i have sent many many requests to the service desk. Has anyone gone through similar waiting

Last Order being missed in a for loop

Hi guys, I am working on an EA, that uses a break even function. It uses a for loop to select the orders and make operations with them. void Breakeven() { for ( int i= OrdersTotal ()- 1 ;i>= 0 ;i--) { if (! OrderSelect (i,SELECT_BY_POS,MODE_TRADES)) continue ; if

Array out of range on an Indicator Buffer array

Hi, I am having a few unexpected issues assigning previous values on a buffer. I get the array out of range error. I am sharing the code : for ( int i= 1 ;i< Bars ( Symbol (), PERIOD_M1 )- 1 ;i++) { for ( int k= ArraySize (info)- 2 ;k>= 0 ;k--) { // Print("1

FileWriteStruct Issue

Hi guys, i am using a struct to save DoM data into a file(TXT), but it has a problem, it is for passing a struct object , not a link or a reference. I tried doing that but didnt work. I am sending the code if someone can help. Datefile file; file.symb= _Symbol ; file.ask_volume=Ask;

Invalid request / error number 4756 MQL5 EA

Hi guys, I am using an EA to go through a few symbols in a list and also a few time frames, it worked good ,but lately i get a few errors for invalid request. I am using the CTrade library to open and manage the trades, and considering i dont work with the request struct directly i dont understand

Indicator prev calculated variable issue

hi, I am experiencing problems with the prev calculated variable in indicators for mt4. In the first calculation its returning 10000(for example), in the next one - 0 (so far its normal).But after that it starts looping - one time 0, one time the same 10000, and this is causing the indicator to