[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 634

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
One more thing...
When testing, I removed all the indulgences that are automatically loaded from the template (the template is named after an EA and is automatically loaded when testing) from the chart window.
In the tester's journal it is constantly written about successful loading of a custom indulgence and immediately follows with a record of its deletion. And so it goes on during the whole testing...
Is it normal or is it a bad thing?
How can I fix it?
I may be late to reply, but I have faced such a situation myself. It's not good :)
I have such records in the magazine, when calling a custom indicator through iCustom(), I forgot to pass one of the parameters by mistake. The compiler doesn't track these errors, even during the test since the indicator name is correct, MT writes that everything is loaded successfully, but the number of parameters is not checked, and since the parameters are specified incorrectly, an error occurs in the indicator and it is unloaded immediately. I have noticed that the test runs slowly and the log is the same:
01:11:13 2000.01.03 02:00 EMMA_Update_2 EURUSD,M15: loaded successfully
01:11:13 2000.01.03 02:00 EMMA_Update_2 EURUSD,M15: removed
01:11:13 2000.01.03 02:01 EMMA_Update_2 EURUSD,M15: loaded successfully
01:11:13 2000.01.03 02:01 EMMA_Update_2 EURUSD,M15: removed
I started to look into it and found such a problem because of my inattention, I tried to put/remove indicator from it "on the fly", I didn't see any "animation" in the log on this occasion, the problem was with iCustom(), so check it just in case :)
ToLik_SRGV:
all the problem was with iCustom(), so check just in case :)
Give advice on how to set the expiry date of a pending order.
Somehow it doesn't seem to want to work for me, and there is not much information about it in the handbook.
If you can give me an example.
Thank you in advance.
Late reply, probably, but I've come across this myself. This is not good :)
I have such records in the journal, when calling a custom indicator through iCustom(), I forgot to pass one of the parameters by mistake. The compiler doesn't track these errors, even during the test since the indicator name is correct, MT writes that everything is loaded successfully, but the number of parameters is not checked, and since the parameters are specified incorrectly, an error occurs in the indicator and it is unloaded immediately. I have noticed that the test runs slowly and the log is the same:
01:11:13 2000.01.03 02:00 EMMA_Update_2 EURUSD,M15: loaded successfully
01:11:13 2000.01.03 02:00 EMMA_Update_2 EURUSD,M15: removed
01:11:13 2000.01.03 02:01 EMMA_Update_2 EURUSD,M15: loaded successfully
01:11:13 2000.01.03 02:01 EMMA_Update_2 EURUSD,M15: removed
I started to look into it and found such a problem because of my inattention, I tried to put/remove indicator from it "on the fly", I didn't see any "animation" in the log on this occasion, the problem was with iCustom(), so check it just in case :)
Give advice on how to set the expiry date of a pending order.
Somehow it doesn't seem to want to work for me, and there is not much information about it in the handbook.
If you can give me an example.
Thank you in advance.
Here. That's what I do...
Here. That's what I do...
О. Thank you.
You have to understand, this is the time frame in minutes from the opening?
О. Thank you.
I should understand this is the time frame in minutes from the opening?
I know it may seem to be OffTop, but for me, as a beginner in writing EA (and programming in general, not considering my experience of assembler programming for Spectrum twenty years ago), my question, but rather.... come on, it's just a question, would be right on point:
While testing EA on a two year history, I noticed months where there is a very strong drawdown. This is a question for old timers: what methods of dealing with drawdowns are available as such, what can be advised in your opinion the most effective.
I'm from my own vantage point, I see two methods so far:
1. Freeze all trading when equity drawdown exceeds by a certain number of percent and
1.1 for each position. After its break-even point, connect a trailing stop and fix the stop at a small distance from Ask/Bid, thereby securing a small profit and then pull stops after the price, partially closing positions (to release funds) when a certain number of points are gained.
1.2. After the equity has risen by a certain percentage, slowly start trading...
2. On the contrary, having disabled the main trade, we have to use the half lot, but with a large amount of orders, strictly following the trend with a small trailing stop after the break-even point.
I think the first way will prevent from further big decrease of equity but you have to wait a long time for the market to approach the orders
the second way will eat margin but in case of short-term positions you can quickly add some to the money...
So far I see only two such opposite ways.
What do you advise, my comrades? Any, even the most, at first glance "crazy-nonsense" thoughts and suggestions are welcome...
Thanks in advance :)
Does the tester not allow you to test on more than the daily?
Ы
Are you preparing an EA for the interbank?