Download MetaTrader 5

How to get Contract size?

To add comments, please log in or register
ngoc thach
61
ngoc thach  

I want to get Contract size value, how can i get it?

There is no Market information identifiers for this. MarketInfo()

whroeder1
16336
whroeder1  
Define your term so we know what your talking about.
ngoc thach
61
ngoc thach  

Thank for your reply.


Edward Hirsch
705
Edward Hirsch  
double dLotSize = MarketInfo(Symbol(), MODE_LOTSIZE);
ngoc thach
61
ngoc thach  
sxTed:

No.


I want contract size, not lot size.

Ian Flanagan
549
Ian Flanagan  

...... I'm pretty sure sxTed gave you exactly the right answer.

It's a contract of one lot, so contract size = lot size.

If not, EXPLAIN what you actually want. Don't make people guess and don't be so rude to someone helping you.

Simon Gniadkowski
Moderator
18042
Simon Gniadkowski  
alladir:

...... I'm pretty sure sxTed gave you exactly the right answer.

I tested it, I think you are correct.
Ian Flanagan
549
Ian Flanagan  

It's like going to Subway and asking how long their footlong sandwich is, they tell you a foot is 12 inches, and then you complain "no! how long is the sandwich!"

Yeh, I'm grumpy today

Simon Gniadkowski
Moderator
18042
Simon Gniadkowski  
alladir:


Yeh, I'm grumpy today

No ! what kind of a mood are you in ?
Keith Watford
Moderator
10566
Keith Watford  
alladir:

...... I'm pretty sure sxTed gave you exactly the right answer.

It's a contract of one lot, so contract size = lot size.

If not, EXPLAIN what you actually want. Don't make people guess and don't be so rude to someone helping you.


If I knew how to put a round of applause smiley I would be attaching one for your post.

The OP should be ashamed of him/herself with such a blunt ungrateful response, especially as sxTed answered the query correctly!

No wonder so many people get peed off with trying to help others.

Simon Gniadkowski
Moderator
18042
Simon Gniadkowski  
GumRai:


If I knew how to put a round of applause smiley I would be attaching one for your post.

GumRai:


No wonder so many people get peed off with trying to help others.

Just let it go over your head is the best advice I can give . . . be the better person and don't assume any malicious intent. Maybe rocky is just having a bad, out of character, day . . .
12
To add comments, please log in or register