Download MetaTrader 5

Help to create global variables with separate words

To add comments, please log in or register
Tanvir Ahmed
183
Tanvir Ahmed  

Hi,

I want to create global variable's word with separation. 

I can create like below:

 

no space 

 But I want to create like below:

 with space


If any one help me this simple/ critical issue, I would be very grateful to him/ her.

Stuart Browne
6503
Stuart Browne  

Hi Tanvir

First, you need to declare in your indicator/EA/script:

 

#property strict

To then get MT to display something different to the variable name in the input box, just put whatever you want to appear in an inline comment like this:

input   MA_Period   = 14; // MA Period



Or even something like:

 

input   MA_Period   = 14; // Please enter the MA Period

Hope that helps

Tanvir Ahmed
183
Tanvir Ahmed  
Stuart Browne:

Hi Tanvir

First, you need to declare in your indicator/EA/script:

 

To then get MT to display something different to the variable name in the input box, just put whatever you want to appear in an inline comment like this:



Or even something like:

 

Hope that helps

Thank you very much Stuart Browne for your quick and helpful reply. its works!!. Thanks again.
Stuart Browne
6503
Stuart Browne  
Tanvir Ahmed:
Thank you very much Stuart Browne for your quick and helpful reply. its works!!. Thanks again.
Very welcome :)
To add comments, please log in or register