Forum

MetaEditor Compile Problem

Hi, I try to compile this code: .......... ArrayResize (BarsBuffer[ 1 ].bar, 10 ); int copied; int exec; if (tocopy== "Time" ){ datetime Series[]; ArraySetAsSeries (Series, true ); copied= CopyTime ( Symbol (), 1 , 0 , 10 ,Series); } int size= ArraySize (Series); //<-- line

CreateObject only create one OBJ_ARROW ...

Hi, I have a interresant EA but I will debbug trade entries using ObjectCreate instead Ctrade. I will draw in graph all entries with ObjectCreate(chart_ID,name, OBJ_ARROW_SELL ,sub_window,time,price)) Itried to do "OBJ_ARROW_SELL" or "OBJ_ARROW_BUY" but only draw one time.If I try to copy paste

Error --> invalid array access --> structure have objects and cannot be copied

Hi, I try to do this code but appear the following errors mes sages: - invalid array access - structure have objects and cannot be copied I try to do this function : MqlParam XXXXSystem::GetParamsIndicator(int ind){ MqlParam Param[5]; return (Param); } Is possible return one Struct