Forum

Problem with extern vars and property library

Hi, I have the same problem that describes this post in this closed forum ... https://www.mql5.com/en/forum/45531 Well, I will try to explain easily... EA ... #include <my.mqh> extern int a= 1 ; void init(){ return ;} void start(){ return (a);} void deinit(){ return ;} file: my.mqh ... #property

About Compiling properties

Someone knows how to access to the value of a compiling property? if we Define this property in the head of our ea... #property link " http://www.yotrader.com/ " How may I access to this value set in "property link"? because this not works... Print(#property link) Print(#link) Is there any system to

Problem with ambit of variables between includes

Hi, when I declare a variable in a included file, if this var is called of a included file loaded from it, the compiling fails, examples... THIS WORKS FINE Script... #include <include1.mqh> // note: without this comment between include commands, the SRC style shows all in the same color #include