How to Hide input tab , while all parameter are active

 

Hii 

am working to build  my expert and want to  Hide input tab window from users , while all variable parameter are active in hidden ?

thank you . 

 
takrooni:

Hii 

am working to build  my expert and want Hide input variable in input tab window from users , while all variable parameter are active in background ?

thank you . 

Make it a globalscope variable instead of an input.

 
Keith Watford:

Make it a globalscope variable instead of an input.

How??
 Please give some details,, 
 
takrooni:
How??
 Please give some details,, 

Link

Documentation on MQL5: Language Basics / Variables / Visibility Scope and Lifetime of Variables
Documentation on MQL5: Language Basics / Variables / Visibility Scope and Lifetime of Variables
  • www.mql5.com
A variable declared outside all functions is located into the global scope. Access to such variables can be done from anywhere in the program.These variables are located in the global pool of memory, so their lifetime coincides with the lifetime of the program. A variable declared inside a block (part of code enclosed in curly brackets) belongs...
 
takrooni:

Please don't contact me by PM to ask  questions.

Ask them in the topic.

This is an input variable

input int                   MAperiod      =21;//MA Period

This is a global scope variable

int                   MAperiod      =21;//MA Period

as long as it is declared outside of any function.

So you simply remove "input" and it becomes global scope.