IF u Print("MODE_MINLOT=",MarketInfo(Symbol(), MODE_MINLOT));
u will most likely see:
IF ur broker support microlots
THEN MODE_MINLOT=0.01 //1microlot is 0.01 decimal
ELSE MODE_MINLOT=0.1 //1minilot is 0.1 decimal, and broker support minimum lot size of minilot
.
look also at Print("MODE_LOTSTEP=",MarketInfo(Symbol(), MODE_LOTSTEP));
which afaik always same as MODE_MINLOT
why? u can only have multiples/units of MODE_LOTSTEP 'lots' in Trade Order, else get nice system error code back... ;)
.
anyway, some ideas maybe 4 u
Microlot is smaller than Minilot.
For FX:
LOTSIZE = 100000 = "standard" lots base size
LOTSIZE = 10000 = "mini" lots base size
MINLOT is the smallest fraction of LOTSIZE for a new trade you can open.
LOTSTEP is the increment for closing/reducing a position.
Microlot is ability to open less than 0.1 of standard or less than 1.0 of mini
I have seen 0.5 as minimum lot with 0.1 as LOSTSTEP at one Dealer.
am going save your text... more learning :)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
double minLot = MarketInfo(Symbol(), MODE_MINLOT);
How do i define a microlot?