Can we create the class in AFL on new version Amibroker

There is no struct because in AFL you don't need declarations at all and type is devised from data and variable type can change in runtime. Conceptually it is more similar to JScript, not C/C++.