I forgot that in that post the build information was placed in the description, not in the version. But that doesn't matter in the context of your question.
#property script_show_inputs#define MBuild ((string)__DATETIME__ + " WEST")
#property version"1.23"#property description"MetaTrader Expert Advisor (Build "MBuild")"#property copyright"Copyright \x00A9 3025, John Doe, No rights reserved"voidOnStart() {}
I forgot that in that post the build information was placed in the description, not in the version. But that doesn't matter in the context of your question.
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.
Just as explained in post #1, use macro substitution instead. This is my rendition ...
Regarding to:
May I know there is a way to define the MBuild dynamically during build time?
Instead of hardcode it every time.
Regarding to:
May I know there is a way to define the MBuild dynamically during build time?
Instead of hardcode it every time.
https://www.mql5.com/en/docs/constants/namedconstants/compilemacros
I forgot that in that post the build information was placed in the description, not in the version. But that doesn't matter in the context of your question.
I forgot that in that post the build information was placed in the description, not in the version. But that doesn't matter in the context of your question.
Thank you!!!