Forum

MT4 Strategy Tester Access violation read Error

Hi I wrote a test ea and while back testing , MT4 stops and i see this message in the journal tab: Access violation read to 0x00000003 in 'C:\Users\H\AppData\Roaming\MetaQuotes\Terminal\E05C74117B3E2588F72872BDDB509419\MQL4\Experts\2020-Test.ex4' after that if I click on start button again MT4

Help needed and appreciated. Problem in using Button in Expert Advisor

void BreakOut() { //--- Create a button to send custom events ObjectCreate ( 0 ,buttonID, OBJ_BUTTON , 0 , 100 , 100 ); ObjectSetInteger ( 0 ,buttonID, OBJPROP_COLOR , clrWhite ); ObjectSetInteger ( 0 ,buttonID, OBJPROP_BGCOLOR , clrGray ); ObjectSetInteger ( 0 ,buttonID, OBJPROP_XDISTANCE

Can anybody tell me whats wrong with this indicator

Hi I tried to write an indicator to show two CCI graph on the same window It works but values are different from single CCI indicators with the same period. I attached the code. It is very simple but numbers that displays are wrong. Appreciate your help

need old version of mt4 setup file

Hi, everyone Does any one has the old mt4 setup file version 4.0 Build 1170 or near that. The new version available on the website is not what I am familiar with. Thanks in advance

Help in Error finding in a very simple EA

Hi I'm just learning EA writing. I am trying to write an EA to place buy positions below a specified price(Neutral Price) and place sell positions above that(I specified 3 zones above and 3 zones below the price). This make my terminal strategy tester very slow and something like nested loops

Help on "Unexpected Token"

Hi I am trying to write a very simple ea(with mql4) after about 8 years and it seems that I have severe problem and I should call myself a newbie again. while testing the first part, I am facing "Unexpected Token" ERROR, I tried to find any missing ";" or parenthesis or any reserved word but I