Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1027
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I want to get MACD indicator handles from three timeframes in the OnInit() block. On the chart - it works, but in the tester it doesn't work, and the terminal hangs tight! So I want to get the data that doesn't exist? Please, advise how to deal with it?
Maybe I should do it this way?
Is it like this?
Maybe that's the way to do it?
What difference does it make? It doesn't work either anyway)
What difference does it make? It doesn't work either anyway)
Why do you use a custom MACD? Have you tried it with the standard one?
I need the custom one because I use it... The MACD is just an example
I need the custom one because that's what I use... MACD is just an example
I need a custom one, because I use it... MACD is just an example
Don't you need to pass parameters for the MACD?
Are the handles created? Have you checked their values?
When I put an EA on a chart - handles are created .... When I run the Expert Advisor in the Strategy Tester - everything hangs
Don't you have to pass parameters to the MACD?
parameters are passed by default... they are not important in this case.
Don't you have to pass parameters to the MACD?
When I put an EA on a chart - handles are created .... When I run this EA in the tester - everything hangs