Hi, i was able to find this code kicking around from MinionLabs and was trying to modify it to display the full contract name on the chart - so instead of saying @EP or EPM20 it would say "E-mini SP 500 June 2020". I think this datapoint may be stored here ENUM_SYMBOL_INFO_STRING and SYMBOL_DESCRIPTION. I've never used MQL (and don't plan on coding any trading strategies) so could someone tell me how to modify this code to replace with long-name? Seems like a pretty straightforward thing to change in this code -- does anyone know how to store the description in a string and then display that string on the chart rather than the Ticker Symbo (which works perfectly -- thanks coder!).
Seems like it would be somewhere under OnInit, but like i said, never used this programming language before.
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.
Hi, i was able to find this code kicking around from MinionLabs and was trying to modify it to display the full contract name on the chart - so instead of saying @EP or EPM20 it would say "E-mini SP 500 June 2020". I think this datapoint may be stored here ENUM_SYMBOL_INFO_STRING and SYMBOL_DESCRIPTION. I've never used MQL (and don't plan on coding any trading strategies) so could someone tell me how to modify this code to replace with long-name? Seems like a pretty straightforward thing to change in this code -- does anyone know how to store the description in a string and then display that string on the chart rather than the Ticker Symbo (which works perfectly -- thanks coder!).
Seems like it would be somewhere under OnInit, but like i said, never used this programming language before.
Thanks,
Sean