Errors, bugs, questions - page 1285 1...127812791280128112821283128412851286128712881289129012911292...3193 New comment Alexander 2015.03.06 09:23 #12841 vlad_123: Has anyone encountered this problem lately?The testing agents suddenly start to make terrible logging of things like this:And they're piling up gigabytes of it...https://www.mql5.com/ru/forum/41260/page4Apologies, it will be fixed in the near future vlad_123 2015.03.06 09:29 #12842 alexl: https://www.mql5.com/ru/forum/41260/page4We apologise, this will be rectified shortly Thank you for the information, we look forward to it. Renat Fatkhullin 2015.03.06 10:17 #12843 vlad_123: Thank you for the information, we will wait. Updates for agents are already available - they will update automatically vlad_123 2015.03.06 12:59 #12844 Renat: Updates for agents are already available - they will update automatically Can you tell methe build number? I have build 1085 (13 Feb 2015) now, would like to make sure agents are updated. Maxim Khrolenko 2015.03.06 13:41 #12845 vlad_123: Can you give me the build number? I have build 1085 (13 Feb 2015) now, would like to make sure agents are updated. Yes, 1085. Sergey Zhilinskiy 2015.03.06 13:44 #12846 alexvd:Is the code attached to you not working? Is there anything in the logs?Have you tried the debugger to control what is happening step by step?Either way, you need the specifics to reproduce it.The attached example below illustrates the problem - using resources BITMAP_LABEL does not display (at least in my 777 build).In the 765 build everything works the same. Files: btn-1.zip 1 kb Test_Bitmap_Label.mq4 6 kb Test Account 2015.03.06 14:02 #12847 zhserg: The attached example below illustrates the problem - BITMAP_LABEL is not displayed using resources (at least in my 777 build).In 765 build everything works the same.Here is your EA on the chart.Little tip.Ran through source code. I haven't found any synchronous calls like ObjectGet..., ChartRedraw etc.So, until you pull chart or receive tick you won't see this object. On a new tick, Can you... I cant close an Sergey Zhilinskiy 2015.03.06 14:15 #12848 alexvd: Ran through the source code. Didn't find any synchronous calls like ObjectGet..., ChartRedraw etc...That is, until you pull the chart or until you get a tick you will not see this object.I know it very well, I did it by haste... But still it doesn't work (by the way, we updated to 778 and the same situation).Could you tell me what's wrong, at least approximately. Maybe because of WinXP? Questions from a "dummy" What did i code The St Petersburg phenomenon. Vladimir Karputov 2015.03.06 15:31 #12849 zhserg: I know this very well, I did it in a hurry... But nevertheless it doesn't work (now updated to 778 and same situation).Can you tell me what's wrong, at least approximately. Could it be because of WinXP?I removed creation (recreation) of object on every tick. Now the object is created only once - either at start or when changing timeframe.#resource "\\Images\\btn-1.bmp" input bool loadFromRes=true; bool creation=false; //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit() { //--- return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Expert deinitialization function | //+------------------------------------------------------------------+ void OnDeinit(const int reason) { //--- ObjectDelete("BTN"); creation=false; } //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+ void OnTick() { //--- if(creation) return; if(loadFromRes) { BitmapLabelCreate(0,"BTN",0,100,100,"::Images\\btn-1.bmp","::Images\\btn-1.bmp",135,25,0,0,false,CORNER_LEFT_UPPER,ANCHOR_LEFT_UPPER,clrWhite,STYLE_SOLID,1,false,false,true,0); creation=true; } else { BitmapLabelCreate(0,"BTN",0,100,100,"\\Images\\btn-1.bmp","\\Images\\btn-1.bmp",135,25,0,0,false,CORNER_LEFT_UPPER,ANCHOR_LEFT_UPPER,clrWhite,STYLE_SOLID,1,false,false,true,0); creation=true; } ChartRedraw(); }MetaTrader 4 build 778. Sergey Zhilinskiy 2015.03.06 15:37 #12850 barabashkakvn: I have removed the object creation (recreation) on every tick. Now the object is created once - either at startup or at timeframe change.MetaTrader 4 build 778. I'm sorry to take your time. But the result is the same, unfortunately (. 1...127812791280128112821283128412851286128712881289129012911292...3193 New comment
Has anyone encountered this problem lately?
The testing agents suddenly start to make terrible logging of things like this:
https://www.mql5.com/ru/forum/41260/page4
Apologies, it will be fixed in the near future
https://www.mql5.com/ru/forum/41260/page4
We apologise, this will be rectified shortly
Thank you for the information, we will wait.
Updates for agents are already available - they will update automatically
Can you give me the build number? I have build 1085 (13 Feb 2015) now, would like to make sure agents are updated.
Is the code attached to you not working? Is there anything in the logs?
Have you tried the debugger to control what is happening step by step?
Either way, you need the specifics to reproduce it.
The attached example below illustrates the problem - using resources BITMAP_LABEL does not display (at least in my 777 build).
In the 765 build everything works the same.
The attached example below illustrates the problem - BITMAP_LABEL is not displayed using resources (at least in my 777 build).
In 765 build everything works the same.
Here is your EA on the chart.
Little tip.
Ran through source code. I haven't found any synchronous calls like ObjectGet..., ChartRedraw etc.
So, until you pull chart or receive tick you won't see this object.
Ran through the source code. Didn't find any synchronous calls like ObjectGet..., ChartRedraw etc...
That is, until you pull the chart or until you get a tick you will not see this object.
I know it very well, I did it by haste... But still it doesn't work (by the way, we updated to 778 and the same situation).
Could you tell me what's wrong, at least approximately. Maybe because of WinXP?
I know this very well, I did it in a hurry... But nevertheless it doesn't work (now updated to 778 and same situation).
Can you tell me what's wrong, at least approximately. Could it be because of WinXP?
I removed creation (recreation) of object on every tick. Now the object is created only once - either at start or when changing timeframe.
MetaTrader 4 build 778.
I have removed the object creation (recreation) on every tick. Now the object is created once - either at startup or at timeframe change.
MetaTrader 4 build 778.