Hi Could someone help me with a frustrating problem ? When I use the following command it works perfectly as a switch but always generates Error 4051. if(OrderSelect(0,SELECT_BY_POS,MODE_TRADES))return; I can just use GetLastError to clear but in an attempt to learn more about MQL4 I would
Hi Chaps and Chapettes I have searched the forum with the title above but it gave no results so apologies if this has already been covered. I am having a problem with windows 10 update restarting my PC and closing my trading terminal when EA's are running. I have tried everything including altering
Hi Chaps I would appreciate any help that you can give with the iHighest & ILowest functions , I have coded this and am getting whole numbers returned such as 138 and 9 respectively what exactly does this shift relate to with respect to the basic Pip or Point. Kindest Regards Will
Hi Chaps and Chapesses Please help me, I have spent hours on this problem. I am creating Horizontal lines without any problems. However, when I try vertical Lines (OBJ_VLINE) I get nothing on the display I have checked the 'GetLastError' and when I remove the 'ObjectDelete' code I get a 4200 error