Forum

Programmatically get enum value descriptions?

Hi, Is it possible to get enum value descriptions programmatically? I don't mean a switch-case lookup function but a way to programmatically get the description. Something like this: E.g. EnumValueToString(PERIOD_H1) => "1 hour"

Behavior of SendNotification() in Strategy Tester?

Hi, It seems like SendNotification() is ignored when executed in the Strategy Tester. Right? So there is no need to do a conditional check? MQL5InfoInteger(MQL5_TESTER)? Shouldn't this be documented? Are there more functions that are ignored in test mode? Regards, Erik