Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 259
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
It's more or less like this
Thank you very much. Could you tell me how to do it? Basically, the - or + signs appear. The entries are shifted slightly to the left. How can you fix it? That would not particularly bother, immediately in this code and prescribe...
The issue of displaying trash is resolved, thanks to artmedia70
I had a lot of doubts about the performance.
I read a bunch of topics were people with a similar problem, but a clear answer I have not found.
what we have:
1) the producer in the Expert Advisor is lagging (when there are many of them and with different parameters).
2) The first tip: transfer the code of the indicator to the EA (it seems logical; an indicator does all sorts of strange things, draws charts and so on - but I only need one number from it)
3) I follow the link to porting the code - there is a three-volume article that looks like the ravings of a mad professor in some places, with the conclusion "what for - no one needs it".
4) I am searching for forum threads with the similar problem - some forum participants say that porting code changes nothing and acceleration does not occur, some suggest using iCustom instead
5) iCustom is a tool for calling a custom indicator. i dont understand if iCustom is used to call a standard indicator - will it do something differently?
is there any simple solution to speed up the indicator - or just tolerate the slow performance of the Expert Advisor?
I have a question how to place pending orders at a certain time. But we have to do this using computer time, because the time interval in which the orders should be placed is 10 seconds, and in 10 seconds there may be no new tick. Thanks in advance!
In the same way, in the same 10 seconds, the DC may not set them for you.
In general, TimeLocal() is your computer's time.
To set counters and high-resolution timers, use GetTickCount(), which outputs values in milliseconds.
And, of course, a looped EA, so that it does not depend on ticks.is there any simple solution to speed up the indicator - or just put up with the slow performance of the EA?
Точно так же, за эти же 10 секунд ДЦ может вам их и не выставить.
In general, TimeLocal() is your computer's time.
To organise counters and high-resolution timers, you need to use GetTickCount(), which gives values in milliseconds.
And, of course, looped EA, so that it does not depend on ticks.Thanks, I'll try it with TimeLocal().
You are asking questions that can be applied to a specific situation, yours at the moment. I don't know what indicators you use, so it's difficult to give you any specific advice.
ima, iadx, iwpr, imfi, istochastic
I made the program a bit more complicated - one tick now counts for 30 seconds even to run it on a demo account in real time - a bit long, a lot can change in half a minute