|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
| What is the equivalent to MQL "enum" and how can one use it? |
|
Jameswter
|
| Post subject: What is the equivalent to MQL "enum" and how can one use it? |
Post rating: 0
|
Posted: Wed 05 Oct, 2016, 11:30
|
|
User rating: 0
Joined: Tue 06 Sep, 2016, 11:04 Posts: 20 Location: United Kingdom,
|
|
I.E. how do I program this:
enum TF { One=1, Five=5, Fifteen=15, HalfHour=30, HOUR=60, };
extern TF timeFrame = HOUR;
Thanks
|
|
|
|
|
 |
|
drNice1000
|
| Post subject: Re: What is the equivalent to MQL "enum" and how can one use it? |
Post rating: 0
|
Posted: Wed 05 Oct, 2016, 13:07
|
|
User rating: 2
Joined: Sun 15 Apr, 2012, 22:19 Posts: 25 Location: GermanyGermany
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|