Вы упускаете торговые возможности:
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Регистрация
Вход
Вы принимаете политику сайта и условия использования
Если у вас нет учетной записи, зарегистрируйтесь
Thanks fxsaber,
The script is great. I am new to MT5, and using your calendar script. For the historical data, how could I add the period that where the economic data are belonging to? (e.g Jan for the release data belongs to January) ?
Thanks and best regards,
Edwin
For the historical data, how could I add the period that where the economic data are belonging to? (e.g Jan for the release data belongs to January) ?
Hi fxsaber,
Thanks for your message. I am sorry that I might have interpret my question in a wrong way. Actually I am referring to the 'calendar window' in MT5 which normally has the "Jan" in the period column that indicating the economic data releasing today '2 Feb 2023' is actually referring to the January economic data (as attached picture). But from the script, I see that we only have the data releasing date, while the "Period" is not specified. (as attached picture).
I have tried to search for the MqlCalendarValue, and using the Value.period for the "Period" date, but it gives very strange value, being 1970.01.01. (as attached)
Just sincerely hope to know if the period could be available, and how to add that into your script? Thank you.
Actually I am referring to the 'calendar window' in MT5 which normally has the "Jan" in the period column that indicating the economic data releasing today '2 Feb 2023' is actually referring to the January economic data (as attached picture).
Потому что текущее значение новости не генерируется мгновенно? В вашем примере используется метод (Event.Actual!= LONG_MIN) && (Event.Forecast!= LONG_MIN), но значения не принимаются
Что нужно сделать, чтобы в реальном тесте он принимал именно это значение и выполнялась логика вашего примера?
Gracias
Потому что текущее значение новости не генерируется мгновенно? В вашем примере используется метод (Event.Actual!= LONG_MIN) && (Event.Forecast!= LONG_MIN), но значения не принимаются
Что нужно сделать, чтобы в реальном тесте он принимал именно это значение и выполнялась логика вашего примера?
Я не понял контекста разговора.
The current value of the news is not being updated, therefore the code (Event.Actual!= LONG_MIN) && (Event.Forecast!= LONG_MIN) does not work. Is there any other way to read the event at the minute it occurs?
Вы слишком кратко излагаете, чтобы понять однозначно, что имеете в виду. Приведите лаконичный код, который можно запустить и увидеть проблему, о которой хотите сказать.
Вы слишком кратко излагаете, чтобы понять однозначно, что имеете в виду. Приведите лаконичный код, который можно запустить и увидеть проблему, о которой хотите сказать.
Thank you
I am using the code from your example but the current value is not being updated when the event occurs. Any suggestion about it?
Thank you
it's not self refreshing library, use id, from calendar, for obtaining fresh data from mql5.