What is the formula to reduce Lot

 
use CalcMargin Function and I calculate Lot Size to be 1.03 how can i step it down to 1.02?
 
wehsnim:
use CalcMargin Function and I calculate Lot Size to be 1.03 how can i step it down to 1.02?
Please show your code, asyour question isn't very clear.
 
angevoyageur:
Please show your code, asyour question isn't very clear.
I figured it out. "- LotStep" or create an incrementation "double incrementLot  = 0.01"
 
angevoyageur:
Please show your code, asyour question isn't very clear.

I still have a problem though getting an accurate 10 percent of account calculation.

EURUSD Account Balance = 10,000  , 10 Percent of the account would be 1,000  So margin would be 750 for 0.1 Lot

When the lot amount is incremented to 0.2  the formulation for 10 percent is now flawed due to the leverage. When the leverage is calculated in the formula is still wrong cause of the cost of 1 point per pip changes

and creating an unbalanced ratio an as the 10 percent calculation plays out we get a collapse of the account.

Basically I am try to create optimal allocations of lot sizes across all symbols while maintaining room for investments to grow.

Reason: