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...
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...
Sorry for the newbie question.
I just wonder why there are not input parameters for Strategy Tester, Inputs tab.
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.
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...
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):
string FormatDealAction(string &str,const uint action) const;
identifier 'action' is reserved for enumerator Trade.mqh 113 62
how to fix...
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...
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 |//|...
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...
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.
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.
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...
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...
Hi, Sorry, I've put this suggestion in the general Forum instead of the EA one. It would be nice to have a new backtest mode allowing to use OHLC with the current periodicity instead of 1 min "intra bar " model. So if we select a backtest on 1H data, we only use the 1H bars to perform the...
Are there any solutions out there that are better than
Virtual Order Manager to track orders within the position-centric MT5 environment
I would like to convert my current MT4 to MT5; however, MT5 does not allow simultaneous buy and sell trades. I have an...
I don't believe my eyes but I cannot seem to find a visual mode in the mt5 strategy tester? Is my observation correct?
This is a problem for me because now I cannot see what is happening, and I cannot see what is going on, and if the code is doing what it is supposed to do.
When I run strategy tester,on my local agent, the agent cpu usage showed on "agents" tab increate quickly and the test is down with cpu usage
up to 100% and status change to busy. even i run easy strategy like example moving average EA,like this:
it went wrong agent status after cpu usage...
I downloaded MT5 and performed the installation. I was able to get the sample EA to work and display arrows. Every subsequent execution locks up and is not running.
I did an uninstall and reinstall and it did the same thing again.
The EA makes a connection then appears hung and not progressing,...
Can someone sled some light into the day light saving on the back testing data? With the data on metaquotes, is day light saving being applied? It is hard enough to develop an expert advisor, we all have to deal with all these extra factors like day light saving changes and etc.
Currently, I have...
Does anyone know how to import or download data for MT5? It seems that I can not backtest beyond May 06, 2010. Under Tools, Options, Charts, I have set the max bars in chart to Unlimited. I still cannot get a Daily or 5 minutes chart to go pass May 06, 2010. I guess if I cannot look at the...