Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 340
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
As soon as I removed the pending order on gbpusd and removed the EA from it, the euro order was modified immediately
Hi all. Folks, can you tell me if this testing of an EA over 5 years can be considered successful. Or is the profitability small and the drawdown large. I would like to hear my opinion, is the tester data very much different from the real account (I tested it in Alpari terminal)? I am showing the results:
Hi all. Folks, can you tell me if this testing of an EA over 5 years can be considered successful. Or is the profitability small and the drawdown large. I would like to hear my opinion, is the tester data very much different from the real account (I tested it in Alpari terminal)? I am showing the results:
This is a huge drawdown, and profitability is not enough... How much is the drawdown on the funds?
Or it could be:
Relative: 0. 78%)
Max Money: 97.81% )))
It's a big drawdown, and the profitability is a bit low... How much is the drawdown on the funds?
It may be so:
Relative: 0.78%
Max. of funds: 97.81% )))
I am using my own indicator in the EA, I see visually during testing that it is growing and according to the conditions it should open buy, but it does not happen.
I see following errors in the log (I have two types. I am showing them one by one):
TestGenerator: unmatched data error (volume limit 372 at 2013.12.11 21:00 exceeded)
TestGenerator: unmatched data error (low value 1.33097 at 2013.09.12 19:45 is not reached from the lowest timeframe, low price 1.33105 mismatches)
Maybe there are some peculiarities with the operation of custom indicators? I have been messing around with this EA for two months and I am putting it off indefinitely.
Errors 129,138 occur from time to time on one EA. The problem is solved only after restarting the terminal.
I want to add Market Info function to update bid and ask and then check.
Is it possible to artificially call the errors 129,138?
Error 129 - wrong price
Error 138 - new prices (requote)
Before sending a trade request, obtain the latest prices either by refreshing the trading environment using RefreshRates(), or directly from MarketInfo()
Do not forget that:
Expert Advisors and scripts work with their own copy of historical data. The copy of data on the current symbol is created at first launch of the Expert Advisor or script.
Each time the Expert Advisor or script is next run, the initially created copy is updated. While the Expert Advisor or script is running, one or more new ticks may arrive, so the data may become outdated.
Error 129 - incorrect price
Error 138 - new prices (requote)
Before sending a trade request, obtain the latest prices either by updating the trading environment using RefreshRates(), or directly from MarketInfo()
Do not forget that:
Expert Advisors and scripts work with their own copy of historical data. The copy of data on the current symbol is created at first launch of the Expert Advisor or script.
Each time the Expert Advisor or script is next run, the initially created copy is updated. While the Expert Advisor or script is running, one or more new ticks may arrive, so the data may become outdated.
Thank you very much!
Now I know what the problem is.
I used it for buying:
As far as I know, buying is on ask, but iClose(Symbol(),Period(),0) takes prices from bid. This may be the reason for error.
But, then the question arises, because the EA is not a Pips, the price was in the buy zone for a long time and updated with every tick.Now I use the following combination:
Why does not the trade open? It turns out that the EA hangs on the error and does not see further price movement?
I took the template for my Expert Advisor from https://c.mql5.com/mql4/book/mq4/experts/tradingexpert.mq4
In your opinion, should I add to the error handling function in this EA a check for 129 and 138 errors?
If yes, how to do it?
Folks, please help. I want to write a function so that each next open order opens with a lot 2 times bigger than the previous one. This function is giving out wrong values... What is wrong with it? Thanks in advance!
extern double LotBuy = 0.01;
double GetLotBuy()
{
for(int n = 1; n<=CountBuy(); n++)
{
LotBuy=LotBuy*2;
}
return (LotBuy);
}