Download MetaTrader 5

What is different between extern and input

To add comments, please log in or register
Mohammad Ali
19972
Mohammad Ali 2014.08.04 05:54 

I can declare indicator parameter with any of two word = 'extern' or 'input'.

My question what is different between two word.  

extern mType      PendingOrderType         = 0; 
input  mType      PendingOrderType         = 0; 
qjol
3243
qjol 2014.08.04 06:22  
PCRider
27
PCRider 2017.01.05 09:31  
Unlike input variables, values of extern variables can be modified in the program during its operation. External variables are always reinitialized immediately before the OnInit() is called.
To add comments, please log in or register