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
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
Hi fxsaber,
Thanks for your message. I am sorry that I might have interpreted 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).
Because the current news value is not generated instantly? Your example uses the method (Event.Actual!= LONG_MIN) && (Event.Forecast!= LONG_MIN), but the values are not accepted
What do I need to do so that in a real test it accepts this exact value and the logic of your example is executed?
Gracias
What should I do to make it accept this value in a real test and the logic of your example is executed?
I don't understand the context of the conversation.
You are being too concise to understand clearly what you mean. Provide concise code that you can run and see the problem you want to talk about.
You are being too concise to understand unambiguously what you mean. Provide concise code that you can run and see the problem you want to talk about.
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.