The market is always wrong - page 15

 
How do I make my EA start trading with 0.01 lot?
 
A1ex:
How to make the Expert Advisor start trading with 0.01 lot?

Open an appropriate type of account at one of the firms that allows trading with such volumes (usually one of the micro...).
 
Roman.:

Open an appropriate type of account at one of the offices, which allows trading with such volumes (usually it is one of the micro...).

I have an account with 0.01 lot minimum, but my Expert Advisor starts with 0.10 lot.

How do I make it trade 0.01 lot?

 

Opened an Alpari micro account - the owl sets the lot at 0.10 and raises it to 1.80.

1) How do I start with 0.01 lot?

2) When does the lot increase?

3) By what parameters are orders closed? Yesterday during the day hung a few orders in the plus, but then I lost them.

 
Well someone tell me how to make the EA trade with 0.01 lot
 
A1ex:
Somebody tell me how to make my Expert Advisor trade with 0.01 lot

double getLots(double lt) { double marginrequired = MarketInfo(Symbol(), MODE_MARGINREQUIRED); double freemargin = AccountFreeMargin(); if(freemargin > (marginrequired * lt)) { return(lt); } double result = freemargin / marginrequired; result = MathFloor(result * 100) / 100; // This is rounding return(result); }
 
Reshetov , is it necessaryto put 100 instead of 10in the line
result = MathFloor(result * 10) / 10;
? If so, this does not make the lot 0.01.
 
A1ex:
Reshetov , is it necessaryto put 100 instead of 10 in the line
result = MathFloor(result * 10) / 10;
?
If so, this does not make the lot 0.01.
Try putting 10 in the first case and 100 in the second.
 
Cmu4:
Try putting 10 in the first case and 100 in the second.

The best advice is to advise you to apply the 'rule of thumb' method.
 
PapaYozh:

The best advice is to apply the "poke method".
You mean "the SCIENTIFIC poke method"?! :)
Reason: