Download MetaTrader 5

What is different between extern and input

To add comments, please log in or register
Mohammad Ali
20010
Mohammad Ali  

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  
PCRider
26
PCRider  
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