Download MetaTrader 5
To add comments, please log in or register
Examine the Top MetaTrader 5 signals. Choose the best one and subscribe to it!
bobo1974
216
bobo1974 2016.04.05 18:13 

hi

i saw an indicator with the below declaration

Any idea what's function of the " . " ?

Thanks 

######### 

extern int       TVI.r=12; 

Osama Shaban
1348
Osama Shaban 2016.04.05 19:21  

Let me tell you that you must to remove this "." and compile it again as new meta editors versions don't accept this notation.

so, TVI.r will be TVIr 

It will work for sure if you have no any other code errors like "$" or so. 

Kaleem Haider
54246
Kaleem Haider 2016.04.05 19:31  
bobo1974:

hi

i saw an indicator with the below declaration

Any idea what's function of the " . " ?

Thanks 

######### 

extern int       TVI.r=12; 

Its used in the structure definitions.  Metatrade 4 version 600+ do not take "." unless explicitly defined in structure.  If you want to recompile remove "." just like Osama mentioned.
bobo1974
216
bobo1974 2016.04.06 16:25  
thanks all for the replies
/
To add comments, please log in or register