Better to bind to the minimum lot. Like that:
LotB=m_symbol.LotsMin()*f; LotS=m_symbol.LotsMin()*f;
Thank you for your kind response! But what if I want to start with 0.02 lot? And I want it to continue with 0.03, 0.04, 0.05... ?
Well I think I got it - I just added this:
LotB=m_symbol.LotsMin()*f+0.01; LotS=m_symbol.LotsMin()*f+0.01;
But thank you very much, you helped a lot!
Lukas Kozubik :
Well I think I got it - I just added this:
But thank you very much, you helped a lot!
You are welcome :)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello! I would like to change martingale function to make my EA open lots adding just 0.01 (0.01, 0.02, 0.03, 0.04...).
Could somebody help me with my code?
Thank you!