there have a mistake in an code example at https://www.mql5.com/en/docs/event_handlers/onchartevent

 

original code:Print("Launched the EA ",MQLInfoString(MQL5_PROGRAM_NAME));  

should be:Print("Launched the EA ",MQLInfoString(MQL_PROGRAM_NAME)); 

 
Yes, but if you create a topic each time there is an error in the documentation you will open a lot of them.