Expert Advisors and Automated Trading - page 234

To post a new topic, please log in or register
Hi Coders! Does anybody know, that will be available the MetaTrader5 for backtest on tick database? Now, we still can't import datas to MT5 history. Later, we are going to can. But will be available import tick database too? Thank you. Relative
I have a developer here who is going to create an EA for me for MT4, but I am quite new to getting it set up. I sent him a zip archive including MT4 template, indicator, requirements, screen shots etc, but he said I needed to publish the zip archive at the MQL5 website. I am unable to find an area...
Hi, what's the command to get the minimum difference from the current price you can place a limit order at?
Hi, I have an EA which uses a custom indicator. When I attach the EA directly to a chart it works perfect. When I attempt to run the EA through the strategy tester I get the following: 2010.12.17 14:50:57 Core 1 connect closed 2010.12.17 14:50:57 Core 1 log file "C:\Program...
Hi there, I was wondering if it possible to open some indicators from the EA directly ? Or maybe to apply a specific template to the chart, as weel from the EA? Thanks...
Hi, I am getting the following error when trying to run an expert in stratery tester: 2010.12.07 15:54:25 Core 1 debug version of 'BoundariesExpert.ex5', please recompile it how can I compile a release version? Assaf
  Championship ... (12   1 2)
Hi there, I sended an EA for the champ and they returned me an error : 13 trades, 27 deals, profit is too small I did not find this criteria in the rules section. Prior to gaining access to the Championship, each expert undergoes a preliminary check by the Organizer on the compliance...
Help! I don't Know programming in mgl5. I need an expert advisor (alarm, not automatic buy) when the adaptive moving everage 20 (EURUSD, M30, ema speedy 2, ema slow 30, shift 0, price close) crosses (from down to up) the adaptive moving average 100 (EURUSD, M30, ema speedy 2, ema slow 30, shift 0,...
This script allows you to access price buffers for open, high, low, and close as we used to in MT4 plus yo can get the highest and lowest prices too.
Under build 355, my EA works fine with windows vista home premium x32 however on windows server 2003 x64 an infinite sleep error is detected. Below is a snippet for my data access. Is this a bug? bool Cssneye::InitBuffer(int handle,double &buffer[],int bufferindex,int bufferstart,int...
problem 1. sorry when the subject isn't related with content. hmmm... nice but i should say that what you see is because strategy tester/ terminal bugs ( i'm not sure ) which i don't know why there incorrect price in generated ticks in a symbol. i use set 1 minute OHLC . testing period 2010...
Hi,  Sorry for the newbie question. I just wonder why there are not input parameters for Strategy Tester, Inputs tab. Ex:   1) Let say i chose Advisors¥ExpertMovingAverage.ext in Strategy Tester. 2) Then i open Inputs tab and found out that there were only 2 input parameters : Expert:...
I am wondering if there are future development on the detail analysis of the back testing report. It will be extreme useful to have the annual & monthly pips gain representation similar to the chart below.
Hello, I try to do an EA based on stochastic and MACD indicators. I wrote my code which compile well but when I test him, it doesn't work and returns nothing. I am a beginner on MQL5. Somebody could help me please... Thank you
my EA called trade.mqh, after I upgrade to build 350 then there is an error (it is the first error, more errors after it): code: string FormatDealAction(string &str,const uint action) const; error: identifier 'action' is reserved for enumerator Trade.mqh 113 62 how to fix...
Hi folks, I'm implementing a function to calculate volume to trade according to a fix percentage of potential loss in comparison to total equity. My problem is that im getting invalid volume since it have a lot of digits. I already tried using Mathround and mathceil/floor and it keep with a...
Does anyone know if there is an easy way to close a position at the market price?
Hi My EA compiles well but on debugging it throws up this error prior to any trade. How does one access h1 volume? Below are excerpts of my source //+------------------------------------------------------------------+//| Signal.mqh |//|...
Hi Folks, I'm sorry if im asking basic question or newbie doubts but i just started with EA coding. I keep getting 4576 error with the following message : '685749' : Failed sell stop limit 0.10 EURUSD at 1.39823 (1.39823) sl: 1.39935 tp: 1.39733 [Invalid stops] Here goes the mqltraderesquest...
like c++ and delphi, is there TRY...EXCEPT END code in MT5? will you plan to add it?
Dear. Is there a "trick" or something like this, to be able to use the Print() function IN the chart (in example creating text objects) in an expert advisor (not indicator), instead of regular printing in the expert/journal of toolbox window?  This can be useful for debugging. Thanks! 
Why can not save or export optimization graph and optimization results for further analysis.
Has anyone come across this issue? For some reasons MT5 tester is showing 838 trades (1,676 deals) compared to the real time trading of 437 trades during the same period. This was tested using "Every Tick" setting.
The term in my EA 'if(CopyBuffer(handle,1,0,10,zm)<0)' works as expected and returns valid array variables. When I attempt to shift the plot in my custom indicator using 'PlotIndexSetInteger(1,PLOT_SHIFT,10)' to show a future prediction, the term in my EA returns unitialised array values. Any...
If I call an indicator form an expect, the event OnTick of the expert and OnCalculate of the indicator , which be execute first? thanks hongbin.fei
I have a .dll which worked in MT4 but I get "Cannot import [function]" on Vista 64 bit, and "Cannot load [dll path]" on XP.  Are there any special steps that must be taken to make a C++ dll work with a MT5 EA?
When using code block with SymbolName() and SymbolSelect() functions, and subsequently calling for market data with the SymbolInfoDouble command, I get the error "No prices for symbol EURUSD." When I don't call the for() loop, I'm able to retrieve market info via SymbolInfoDouble() and...
From the help: "In this mode the OHLC prices of 1 minute bars are also generated...", which makes backtesting extremely slow. Is it possible to somehow disable this?  I can live with and deal with inaccuracies introduced by MT4 style open prices testing, but I cannot deal with slow backtesting...
  Trade copy ea (168   1 2 3 4 5 ... 16 17)
i have made a trade copy ea that id like to share, it copies over the internet or locally this ea also copies chart objects this is a hobby to me, its free, no catch, all source files are provided iv given this ea a complete overhaul goto post #43 for the new instructions here is a link to post #43...