Forum

how I know the tester model from mql programm?

Hi guys for know if EA is running in tester, I use the IsTesting() function.....it's ok but I want to know the model that the user have set Every tick or Control points or Open price only there is a way to know it

help me....error ambiguous call to overloaded function with the same parameters

what is this compiling error? help me //+------------------------------------------------------------------+ //| CF_XML_Lib.mq4 | //| Eugenio Bravetti | //|

please help me with Dialog class..........pleaseeeeeee!!!!!!!!!!!!!!!!

Hi guy I try to use class but I have big problems......follows my test code: //+------------------------------------------------------------------+ //| #Test.mq4 | //+------------------------------------------------------------------+ #include

sign bug on FileFindNext function

With this example code... long search_handle= FileFindFirst ( "*" ,file_name); if (search_handle!= INVALID_HANDLE ) { do { Print ( "file_name = " , file_name); } while ( FileFindNext (search_handle,file_name) ); FileFindClose (search_handle); } else

help me for use template function

I have write a function in a library module in this mode with array that must be returned as reference template < typename T> void getDataSeries( T &array[], string symbol, int dataType, int timeFrame, int numberData, datetime time ) but when I import function in my indicator or expert in this mode

is possible to insert alert on Alerts tab list from code?

Hi Support There is a function to insert directly from code an Alert, just like the image here in the bottom? Thanks for reply

sign bug on #include file

Hi support I sign that on build 614 if I include function with property #include, when I remove indicator or expert from chart, tha platform crash. I I copy the code of function directly in to the code of indicator or expert, all work well genio

runtime error, please watch it

Hi MT4 I have tested OnChartEvent() function with simple code found on help first operation I have set this: bool idCreate = ChartSetInteger ( 0 , CHART_EVENT_OBJECT_CREATE , 1 ); bool idDelete = ChartSetInteger ( 0 , CHART_EVENT_OBJECT_DELETE , 1 ); then

internal error?

Hi MT4 I have tested OnChartEvent() function with simple code found on help first operation I have set this: bool idCreate = ChartSetInteger ( 0 , CHART_EVENT_OBJECT_CREATE , 1 ); bool idDelete = ChartSetInteger ( 0 , CHART_EVENT_OBJECT_DELETE , 1 ); then

error on ObjectGet function on build 605

I mark bug on ObjectGet function ....follow example with debug I have on chart one label on corner 4 this is my function code int calc_Yaxis( int corner ) { int i; int result; int objectNumber; int realObjectNumber; int cornerDistance; switch ( corner ) { case 1 : cornerDistance = 15 ; break ; case