Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1028
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 cannot check it - I am writing from mobile phone. Try to start with only one consciousness. Without loops and arrays of timeframes. Just directly create one handle. If it's ok, add a second, third...
I've already tried it. Only the current TF works.
Why do you use a custom MACD? Have you tried the standard one?
Tried it with the standard one - it's the same... the terminal hangs up
Already tried it. only the current TF works
I.e., does the non-native tf in the tester hang? Does the tester window hang? Does it get to OnTick()?
Not even coming out with OnInit... it feels like I'm requesting non-existent data. There should be a message in the log after each handle request, but there are no such messages. It just hangs and that's it. Can it be related to outputs and how should it be then?
Not even coming out with OnInit... it feels like I'm requesting non-existent data. There should be a message in the log after each handle request, but there are no such messages. It just hangs there...
Try referring to any timeseries of the desired characters first. Maybe the symbols in the tester are not selected.
does not work, only current period
Why during the visual testing the custom indicator is not drawn (although the data from its buffers are read)? But it is present in the chart after the test. What to dig?
You must be asking all the wrong questions... )))
advise how to determine the day in mt5 ? an analogue of DayOfYear from mt4
this is the function to write
if (TimeDayOfYear(transaction_time)==DayOfYear())