Hi Vladimir, this is the complete code with de handle events created only once as you said, but it doesn't work either
because read the macd of the first bar of the opened graphic but doesn't read the macd of all symbols.
what do you think i have to modify? thanks.
The problem i see is that iMACD read just once and i need that read every symbol, but it can't because it's in Oninit.
The difference beetwen MT4 and MT5 is that in MT4 yes can read the iMACD in every symbol because it's in Oncalculate and the variable name change
in every candle.
Do you thing it's possible that it works in MT5?? thanks.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi Vladimir, this is the complete code with de handle events created only once as you said, but it doesn't work either
because read the macd of the first bar of the opened graphic but doesn't read the macd of all symbols.
what do you think i have to modify? thanks.
The problem i see is that iMACD read just once and i need that read every symbol, but it can't because it's in Oninit.
The difference beetwen MT4 and MT5 is that in MT4 yes can read the iMACD in every symbol because it's in Oncalculate and the variable name change in every candle.
Do you thing it's possible that it works in MT5?? thanks.