Download MetaTrader 5
To add comments, please log in or register
Find out the latest MQL5.community news!
Mohammad Ali
18115
Mohammad Ali 2014.08.03 12:33 

Dear Guys,

How i create a property with custom multiple option. example My EA will two type of order 1. Stop order 2. Limit Order.

So i created a property  int Type  = 0    (0-mean Stop, 1-mean Limit order).

But now i want to text into multiple choose . like:

 

 

How can i write code like that. 

Alain Verleyen
Moderator
28651
Alain Verleyen 2014.08.03 12:37  
capilta:

Dear Guys,

How i create a property with custom multiple option. example My EA will two type of order 1. Stop order 2. Limit Order.

So i created a property  int Type  = 0    (0-mean Stop, 1-mean Limit order).

But now i want to text into multiple choose . like:

 

 

How can i write code like that. 

With an enumeration.
/
To add comments, please log in or register