Hello everyone, I'd like to ask you all for some hints and tips on creating a professional style code to help maintain my trading account. I don't know there to start, but so fair this is all I have. void ACCOUNT_MANAGEMENT() {
Hello everyone, I have internet connection problems in my area, so I am interested in IsConnected(). I was trying to test this today, but after disconnecting my WiFi and cables from internet and restarting my computer. MetaTrader was
Hello everyone, I don't really understand order 1 and order 3 error messages. void CloseTicket() { // 0= order 61204533 /NZDJPY / Market is closed // 1= order 61204413 /oil-oct17 /
Hello everyone, Where I have "//---" is this a case of the button doesn't exist or, a possible function call if the button is pressed or, released? if (!Create( 0 , "FIND" , 0 , 20 , 80 , 90 ,HEIGHT, CORNER_LEFT_UPPER , "FIND"
Hello everyone, I need some help to understand what this runtime error means. I have been trying to work it out, but I am making myself very confused about where the problem starts. CurrAsk= MarketInfo (Curr, MODE_ASK );
Hello everyone, is it possible to make an EA that only allows trading posable if the correct account number is selected. Otherwise only attached indicators are applied to the EA and any trading code is dismissed
Hello everyone, I have started to write some account management code, but I don't understand what exactly AccountStopoutLevel means, at the moment ASOL = 20.0. The information in the reference manual says " The value of the Stop Out level." Can
Hello everyone, I have been trying to call a second EA from my main EA. I have tried to use #include <KeyBoard.mq4> which causes an error "Can't Open D:\xxx\xxx\xxx". I would like know the correct way to make this possible
Hello everyone, I have been slowly making additions to code my EA. I only have 1 GB (Type-DDR1) on my laptop. The problem I am experiencing is that MetaTrader4/ MetaQuotes4 crash. I think I know the answer, but is there any way to use external ram
Hello everyone, I must be missing some steps in trying shutdown some charts currently opened. The code below works with MQL4. How do I close charts by name or chart ID? #property copyright " " #property link
Hello everyone, How do I program button "HIDE" to toggle not visible/ visible any other buttons. I would like to have the ability to view chart without buttons showing up on chart, expect button "HIDE".
Hello everyone, How should I program this? I can't see a way to get string "sym" to receive more than one enum value. Example: METAL selection is only Gold, or Silver AUD selection is only AUD vs other pairing EUR
Hello all, I would like to understand why this code doesn't work. Some expert help please. Code: bool ShowGrid= ChartGetInteger (chart_id, CHART_SHOW_GRID , 1 ,value);
Hello all, I have been trying to change a charts timeframe in my EA, but I haven't been able to get it to work. string we = "GOLD" ; ObjectSetInteger ( 0 ,we, OBJPROP_TIMEFRAMES , OBJ_PERIOD_M15 ); The code complied with no
Hello all, I am attempting to use arrays to get data. void TestReadCsvFile() // Arrays = OpenPrice,ClosePrice,PriceHigh,PriceLow,PriceHigh,TotalVolume { FileHandle= FileOpen (subfolder+ "\\GOLD.csv" , FILE_READ | FILE_WRITE | FILE_CSV );
Hello all, I need some coding help please. I am trying to write "Hello World" to text file "Test.txt". After running the code I check the file and nothing is there. Do I need a loop in here to write to the file? void WriteToFile() {