Forum

How to declare a static dynamic array?

I have: class C { public : static C c[]; }; C C::c = {}; // Dummy initialiser as initialising is compulsory This is not correct syntax. I want to figure out how to correct it

[Bug] Stubs of Deleted Projects Appearing in "Shared Project"

There is a long deleted project but the name keep appearing in my "Shared Project" folder. This shows ups as an empty folder. In the pop up "Update from Storage" is not disabled. When I click that I get: 2023.03.26 21:39:58.519 Storage Could not find the requested SVN filesystem (720003) Which

Checksum '......................' in rep-cache is beyond HEAD

I am getting an error on a Shared Project . How can the above errored fixed? Since I am getting the error on the MQL5 IDE, I have tried checking out the project using Tortoise SVN, updating it and committing it back but this did not solve the error

When Running CopyTicks from an EA no data is returned

When running CopyTicks ( Symbol (), ticks_array, COPY_TICKS_ALL , 0 , 2000 ); from the OnTick() function of a EA the return value is 0 and no ticks are returned even when the function is retried 3 times when no data is returned. The symbol is EURUSD. ticks_array is a dynamic array but it is

Issue accessing values of indicator buffers using CopyBuffer for indicators of type DRAW_COLOR_CANDLES

#property tester_indicator "HAPrice.ex5" #define LOOKBACK_LENGTH 10 #define ORDER_LOOK_BACK 2 //--- input parameters input double Length = 30 ; input int MagicNumber = 1234567 ; // Expert Advisor ID input bool DescriptionModeFull = true ; // Detailed output

Error = 4756 - ERR_TRADE_SEND_FAILED: Trade request sending failed, RetCode = 10017 - TRADE_RETCODE_TRADE_DISABLED: Trade is disabled

When are times that trading get trade disabled in back testing. The order details are as follows: Trade action: TRADE_ACTION_DEAL Trade symbol: EURUSD Magic number: 0 Order ticket: 0 Order type: ORDER_TYPE_BUY Order filling: ORDER_FILLING_FOK Order time type: ORDER_TIME_GTC Order expiration: 1970.01

What is ORDER_PRICE_CURRENT?

If I open and pending order and then modify the price is this modified price reflected in ORDER_PRICE_CURRENT ? Or is this the current market price? Asking to be sure

Modify Volume of a Market / Position Order

Can the volume of a market or position order be modified

Receive Mobile Code for Sri Lankan Number

I am in Sri Lanka (+94). I am not receiving any code when I try to register my number