Reflection with MQL

 
Is there any means of reflection (such as on C# or Generics on Java) in MQL5 with OOP?
 
Rudinei Felipetto:
Is there any means of reflection (such as on C# or Generics on Java) in MQL5 with OOP?
No (for run-time reflections). MQL is a programming language with strict typing. What is your task? Maybe you can try templates - this is much the same as generics in Java.
Documentation on MQL5: Language Basics / Object-Oriented Programming / Class templates
Documentation on MQL5: Language Basics / Object-Oriented Programming / Class templates
  • www.mql5.com
Language Basics / Object-Oriented Programming / Class templates - Reference on algorithmic/automated trading language for MetaTrader 5
 
Stanislav Korotky:
No (for run-time reflections). MQL is a programming language with strict typing. What is your task? Maybe you can try templates - this is much the same as generics in Java.
I want to load indicators dynamically.