#property version not reflected

 

Hello community,

i have the problem that my version is always indicated as 1.00, when i attach my indicator to chart.

I mean what you see on page "Common" as version is always: 1.00, even my property is "1.20".


Could not figure out the problem. The property is defined correctly and i put it after all includes.
So there is no other version property in the way. Also no compile warning related to this.

Delete .ex5 file, recompile, no solution.


I created a new empty indicator, set the 

#property version   "1.20"

and this works fine.

Where should i look else ?

Thank you

 
Are you using a project ? (mproj file).
 
Alain Verleyen:
Are you using a project ? (mproj file).

The file is part of a project. But the project is not opened. The file compiles well as it is.

 

When i change the version in the .mqproj, nothing changes, compile the project, same problem. Always see version 1.0.

(The icon i can set there is taken)

 
chinaski:

When i change the version in the .mqproj, nothing changes, compile the project, same problem. Always see version 1.0.

(The icon i can set there is taken)

Are you sure you opening the right ".ex5" file? Since it is part of a project, it will compile to a different location. Look in the compile log at the bottom of MetaEditor, to see where it is actually being compiled to, and in MetaTrader's  Navigator Windows, also refresh it just in case.
 

Now it works. Don't know why. Sorry. It takes the version from 

.mqproj

file. Thank you.

Reason: