I have 2 W7 computers. I tried to copy all from one computer to the other. Everything works fine except for one thing.
Handling of files. On my base computer files I need for input and files written (log) are placed in MQL5\Files.
On my other computer an MT5 installation does not even create the...
Gents,
Could you help me how to solve "handle" stuff in new MQL5.
I just want to compare MA period 20 days with MA period 12 days, do I need to create two handles for this indicator?
I am very interested in getting into the FX market and have been researching over the last few months. I've had good success with some small trades based on reading momentum trends. I would like to set up a script to automatically execute the purchase based on the where the price is in relation to
Hi, please am having issues downloading accurate data for a 1 or 2 year period on my meta trader history center,due to this inaccurate or incomplete data,am unable to carryout accurate backtest and optimization of my EA. please help me solve this. thanx
I want the EA to place two opposite pending orders in order to what I put below but it makes the same order type in YELLOW or RED case. For example in the RED case the EA would place SELLSTOP(1.2) & SELLSTOP(0.7) not BUYSTOP(0.7). Please help if know my mistake...
I need to change variable in the strategy testing mode.
So how to detect if EA is working on the Strategy testing mode or visual mode using code?
What should I do to save the "balance" in the transaction process.
And take the highest value of "balance".Help me,please!
Hello,
A novice question:
I do not know how to verify/check if a position was closed by "touching" of StopLoss price. I mean that the position was opened with a StopLoss>0; also I coded some other conditions to close the position. How can I distinguish that the position was closed by StopLoss...
How to calcluate Cost per trade? Aren't you feel it actually significant for your trading profit?
(7)
Hi all.
From some backtesting results, I found that knowing cost per trade is really important in boosting your profit with trading strategy.
So I am determined to learn how to calculate cost per trade. I would be really appreciate if someone could double confirm my way of calculation.
Let's...
I do not know if this is possible already but if not I believe it would be a useful feature. Before starting a new combination of input parameter a user exit should be taken where the combination could be rejected or accepted. An example is when using crossing averages. If the long and the short
Hello, Does anyone know if it is possible to write a script which will allow the placement of an EA onto a chart by pressing the F5 key? I have an order placement EA which I want to be able to place on a chart without having to open the navigator to put it on. My preference would be to use the F5
Please I want two Automated Systems for Metatrader 4. Ready made systems that conform to this principle are welcome
1. I want a scalping system which is based on arbitrage. It should be able to take advantage of arbitrage opportunities of two or more brokers with very low risk.
2. I want a...
Hello,
i need an advice how i can unit test code which uses an Indicator. My problem is, i can not figure out how i can feed an indicator with artifical data.
Perhaps somebody can give me an hint
Thanks, Alex
Hey guys,
I might be asking a stupid question but here it goes. Does the MT4 strategy test only give out ticket numbers when it is running on a demo or live account or should it give it when I am running it on history data? I mean when I run say from January 1, 2013 to current, it does not give out...
Using Limit orders to scale out partial profit implies that I must cancel these limit orders if the base trade goes to stoploss. I checked OnTrade() and OnTradeTransaction() but did not get any wiser. Constantly monitoring the "base" trade seems an awkward way of doing it. Advise someone?
It works perfectly in demo account, and I don't know why
It says "uninit reason 6", please help, thank you
Hi, please i want to know the possibility of reversing trade signals/actions of an EA. from the attached picture of an EA back test that crashed $1000 to $0,so if the trade conditions are reversed it could be highly profitable....any idea on how to reverse engineer this EA.thanx
Hi Can someone please solve the following problem for me? :)
string delay="00:10"; datetime time=(datetime)PositionGetInteger(POSITION_TIME)+StringToTime(delay); printf(" open order Position "+(datetime)PositionGetInteger(POSITION_TIME)); printf(" time : "+time...
Comments that do not relate to the "Who can help me?", have been moved into this topic.
I am a total nob to this platform can some one point me in the right direction...and yes am a horoble coder
thanks
Hello everyone, I have a problem. I subscripted to one of the MT4 signals and today I noticed some strange behoviour (which would be disastrous if I had signed with real account). Few of the orders were copied in opposite direction from which they should, just look at the logs:
..........
08:22:25...
When optimizing the input parameters of an expert advisor and using the forward testing option, is the OnInit() function called again when forward testing begins? (ie. when the best 25% of runs have been found and these are to be tested again on the forward testing period)
The documentation states that files that shpuld be accessable when running the strategy tester should be in the "tester" directory under Agent... MQL5\Files
That works, I am not doing optimisation, I am testing and debugging so its enough to put the file in the first local agents...
Hi, I encountered a problem with new, updated MQL4. Both timers (millisecond and second one) work fine when I start EAs after the terminal is started (by d&d them on charts). However, when the EA is loaded with the platform start (for example, when I close the terminal with EAs running and then...
There are seven sorts possible ie max Recovery Factor, max Profit Factor.
Has someone done any research as to the 'best' sort to use or any sort of comparison.
Myself, I weigh Recovery Factor and Sharpe and Profit Factor. I would like to know how others weigh their results.
Hello everyone, How can I have access to the orders in "Trade" window of toolbox window using MQL5 code
Hi
I have been through all the free EAs and not found one that is profitable. The Macd sample one that comes with MT5 and MT4 is the nearest.
I then turn to the paid for EAs. There are lots. The strategy tester is a very poor instrument for testing.
So I know it is a big ask but has anyone, yes...
I am testing my ea on 14 year time frame. Lot size is calculated on the % of account free margin. But after some time lot size stops increasing and it is constant at 500.
What is wrong here.
when I dont put disabled but I put:
slow complete algorithm in optimisation in startegy tester.
and I click start I hear a strange sound, do you know why I cant use slow complete algorithm ? I use ROMAN5
--Jon
[Deleted]
Does anybody know if can I found somewhere a copier from MT4 to MT5?
I've modified an MQ4 robot and I'd like to copy my operation even on my MT5 platform...
Thanks!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.