Questions from Beginners MQL4 MT4 MetaTrader 4 - page 214
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
UPS, I think I've found it:
According to the documentation:
If a custom indicator is called using theiCustom() function, this indicator runs in the thread of the calling program. The library (imported) functions also work in the thread of the calling program.
Generally speaking, for MQL4 it doesn't matter where you place calculations, because resources will be allocated for the single thread of the program and indicators used by it.
In this case, it is advisable, if possible, to transfer the code of the indicator to the Expert Advisor and optimize the number of calculated values by the array depth and the number of "buffers", though it doesn't concern the recursive algorithms - it's still easier to read them in the indicator, because the program has automatically indexed buffers for the price data only ...
The issue is in the convenience of reading and editing the code, and so mt4 is single-threaded in one window. It is easier for me to take the calculation part of an indicator into an Expert Advisor. But it is not always good. The code turns out long, while inludes or iQuest is the same. If you want to speed up, then mt5. mt4 is not fast enough, judging by forum participants.
The question is how easy it is to read and edit the code, and as it is, mt4 is single-threaded in one window. I find it easier to get the calculation part of an indicator into an EA. But it is not always good. The code turns out long, while inludes or iQuest is the same. If you want to speed up, go to mt5. mt4 is slower, judging by forum comments.
If you want to speed up, then it's mt5, but mt4 loses out, judging by forum comments. So simple formulas like averaging, zigzag, and not any kind. 5 is good, of course, but not everyone is providing it yet and you have to learn it
managing the calculation buffers in the EA will be more expensive than the indicator... So simple formulas like averaging, zigzag and not all of them. 5 is good, of course, but not everyone has access to it.
But to do it you need to take away the code of indicator logic, which is not always easy.
Yes, and also take all the gold jewellery out of the house from the casket
My friends, please advise me where I am going wrong (please don't kill me, I've been working in MQL4 for 3 days).
I am trying to open an SELL order from the market at a price indented Delta points (60) from the previously placed value (which I take when opening a previous order).
However, the script opens a new order at the same time as the previous order, at the current price, without waiting for the appropriate condition (a 60 point price drop). I know I have made it somewhere, but I still don't understand where it is.
I would be very grateful!
Help me out!!!
I can't figure out where my problem is. The EA requires EMA volumes. I used iMAonArray.
But the calculation is not similar to the real one.
Here is the code:
***
Good question, I have a car and something rattles in it, which bolt to tighten? Do you have any idea how much advice is possible and in the end they are all useless because you have to tighten the nut...
Look at the reason why it doesn't open for gold ?
***
Look at the reason why it doesn't open on gold ?
***
Look at the reason why it doesn't open on gold ?
***