Forum

MT5: How to display indicators in chart while expert is running

Hello everybody, how can I display the indicatos used in my EA in my live chart window? Problem: While running the "MACD Sample" in Strategy Tester I can see the indicator but not when running the "MACD Sampe" in a live chart. Is there any #property of other function I can use to tell the terminal

How to get #property version from EA?

Hi, within the EA it is simple to get the name of my EA using following code: MQL5InfoString ( MQL5_PROGRAM_NAME ) But I couldn't figure out to get the version number of the version #property field. Is there a similar way to get the version number? My workaround at the moment is a #define after the