Questions from Beginners MQL4 MT4 MetaTrader 4 - page 224

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
OnTick()
After these lines, further code will be executed once per candle. At the moment of its formation.
You call this indicator from the EA, as I understand it?
In the Expert Advisor, the first lines in
After these lines, further code will be executed once per candle. At the moment of its formation.
You are calling this indicator from the EA, as I understand it?
And what program opens the deal? It is the Expert Advisor. Isn't it?
Ah, well, maybe... But then things seem to get a lot more complicated... There's no way to fit it into this code, is there? And there's no code in the second indicator code either.
OnTick()
How the hell does that even work...:)))))By the way, the indicator still draws a lot of arrows as well,
Yes? Hmm, I'll have a look at it later.
You can try another way, where you call this indicator via iCustom, put 1 at the end of this function instead of 0 too.
You mean like this?
Like this?
Yes? Hmm, I'll have a look at it later.
Maybe it's that message. Shouldn't we do what it says?
https://www.mql5.com/ru/forum/160587/page223#comment_19618305
Anyway, thanks so much for fiddling with us here... :)))
Attaching the files for a better understanding of the situation.
Here's the working code:
Note that the arrow is drawn backwards BufferDn[i+1]=... This is unfortunate.