Expert Advisors and Automated Trading - page 447

  Market-EA on VPS  (2)
Hi all, maybe you can help me. Market-EA´s are binded on the PC to protect the developers work. Is that right? If I buy an EA and work on my desktop-computer, am I able to put it on a VPS  later on? Or do i have to buy another copy? Thanks for your help
Hi Friends, For MT4 EA I have get passed out of many errors but there is sill many warning message with "expression on global scope not allowed. " How can I deal with this. Will this warning message affect my EA. Thanks kchandek
Hi, I have tried to download a demo of MA from market but it writes this all the time. 2013.11.07 12:59:14 MQL5 Market failed to load list of products Can anybody give me an advice? Thank you in advance.
  MA SYSTEM  (2)
I am working on moving average and i need any one who could help me with the MT4 platform language in other form to be able to programme the platform to respond to my projected reaction using moving average indicator ,for instance ,using MA5 and MA100 for a reaction on the platform whenever there is
Loading Metaeditor to make a few changes to an existing MT5/MQL5 EA, hit compile and what previously compiled fine, now gives me #include errors. It is now looking in the \MQL4\Include\xxx path -- MQL4? There is an MQL5 directory, but never a MQL4 one. Bug in the new IDE? (this is 3rd october...
I understand that the "hedging" techique in its simple form is not allowed in the MT5 platform due to regulatory restrictions in the US. That does not worry me, I do not use that technique. Are there other restrictions that are also implemented into the platform.
Hi Friends, I have one MT4 EA I have done changes in the EA under metaeditor of MQL5 saved it. If I use metaeditor of MQL5 I do not see any errors but If I use MT4 metaeditor it is giving 100's of error. Do anybody come accross this issue & will my EA work on MT4 without any issues....
Dear all Forex traders I am familiar with MQL4programming language. I have been written several expert advisors (EA) onsingle currency pair such as EURUSD. But I want to write anEA that includes different currency pairs such as EURUSD and GBPUSD now. It isnecessary to mention that based on my...
HI THERE CODE DEVELOPERS. I NEED YOUR HELP, I HAVE A NEW TRADING IDEA AND I WANT TO TEST IT ON A SIGNIFICANT TIME PERIOD. I NEED AN E.A. THAT: *1* AT A GIVEN HOUR OF THE DAY I.E. OPENS A BUY (MARKET ORDER) AND A SELL (STOP ORDER) SOME POINTS ( 50 PTS. 0.0050-FOR EURO) AWAY FROM THE...
im looking for an ea or manual signal that will generate a consistent around 300% a month? please reply thanks
Hi, I have this bit of code from MQL docs which I want to use in my EA to display these details over the chart for the moment, I want to use them later on but I get the amiguous call error, any idea on how this can be fixed? Thank you //Get and show account detailsdouble AccountInfoDouble(...
How to put an expert on VPS? I want to put my expert on a VPS(Virtual Private server). Who could help from the base?
When registering for the cloud testing, you get a bonus of 2.00. I activated the cloud on a server and a couple of PCs. Only during ONE day I earned a very small amount of points. Now my credit is down to 0.51 and I get the message "can't connect to MQL5 Cloud, not enough money". In theory,...
Hello guys, I have a question... the following is my code: void onStart(){MqlRates rates[]; int copied=CopyRates(Symbol(),PERIOD_M1,0,100,rates); if(copied<=0) Print("Error copying price data ",GetLastError()); else Print("Copied ",ArraySize(rates),"...
  Debugging issues  (6)
Hi guys I'm having trouble with getting my program to debug. I am still new to coding and have been following a Step-By-Step guide to study. I am at the point of debugging now and even though my meta editor is attached to a feed in the options, the run for the debug is blanked out. It doesn't...
I have a script that writes the values of technical indicators per candle, but I do not know how to get the script to run on a specified date range. If I attach the script to a chart it counts backwards the number of candles from the current date which is a limitation because I want to get the data...
Hi ;) First let me introduce my idea a bit : I am trying to design a trading automat based on fondamentals news. So the trading decision is not the MQL work, this is the role of an external engine actualy hosted on an dedicated server. I used Mql for execution orders. On the paper this system look...
Hi, As many of you would be aware, you need to carry out a manual data check and/or re-synchronisation of your pricing data before doing a CopyOpen(), CopyHigh() etc if you want to ensure you have the most recent data available. However, what's the situation with accessing Indicator data using...
Hi , I want to apply ALFA.mql EA on GBPUSD M1 chart , BRAVO.mql EA on GBPUSD M30 chart , and no EA on the GBPUSD M5, M15, etc... Can anyone explain me how can I do that? TIA
Hello everybody So the question is: What happens when a new tick arrives while ontick event is still processing previous tick?? Is this tick event discarded??? or is there a tick queue to be processed so all ticks are definitely processed???? Thanks in advance Juan
I know I can check the hours but is there a simple test that can be done to determine if the market is open or closed
Hello I know that in order to have my template work with the strategy tester, I need to save a template with the same name as my EA. Fine. So when I start a backtest I see my template applied in the tester window. Trouble with that is, in order to satisfy forward testing, I have put my MACD...
Trying to get this EA to work... new to MQL5. Basically, I'm trading on simple MA crossovers based on risk to account balance (USDEUR on 1 HR time frame). Any help is appreciated.... thanks! //+------------------------------------------------------------------+//|...
Hello This is probably a simple fix, but I've got a cold. In my buy function I have OrderSend(mrequest,mresult); and then if(mresult.retcode==10009 || mresult.retcode==10008) { // Request is completed or order placed Alert("SELL order has been successfully placed with...
All, My function has been failing due toorder fulfilment issues, an order may not be fulfilled in one transaction, asper attached screen shot, relevant code is attached below. In the above example, I should bereading a volume of 3.20 (0.5 + 2.70) and an out price of 1.61451(1.61451+1.61451/2). The...
I wonder if anyone has any really helpful tips on using the least amount of memory possible, or at least at freeing it again. I'm working on a really big multi-currency EA, using quite some indicators. But still this should not pose any problems for modern computers with 20GB of RAM or thelike....
Hi, is it possible to export an enumeration or a constant in a library? Thanks Mario
Hi, I would like to know, if and how it is possible to obtain trade results into an EAs code. What I want to do is to have a counter that adds up when the last trade closed in loss. Exemplary: i=1if (lasttradeclosednegative)  i=i+1; E.g., after 5 losing trades i would be at 6. The parameter i will...
i have build 2 server and setup agent in it ,they have running a period of time . Today i got this message from one of the server: 2013.06.14 16:51:45 server1 pass 3540 tested with error "no memory in OnTick function (cannot get 4096 Kb, used 1947 Mb)" in 2390 ms ... (there are a lot of them) and...
  optimizing EAs?  (10)
How do I optimize EAs on metatrader 5? on my program, there is no optimizer bar on the strategy tester. I am using metatrader 5 build 787.