On FinFx the lowest start lot is 0.1 but lotstep is 0.01, so lot size cannot be less than 0.10, but can be 0.11, 0.12, 0.13 etc. And this is the case with most brokers - that the lotstep is 0.01.Dewey McG » Mon Aug 11, 2014 4:01 am wrote:Here is what I mean. I put this new one on FinFX's ECN Pro Demo. The progression of trades goes from .1 to .2 and on up but always rounds up. The correct 2nd trade for instance would be .14, not .2 See PICs of EA on chart and the spreadsheet
In he EA "ALR_with_Spread" the lot size is rounded up by adding the value 0.00499, which I don't believe is the the correct way to do it.
The picture below shows the lot increment (based on the same test for date 2014.01.06 - see my last post).
# = number of increments / number of opened hedged positions
A = Original ALR
B = ALR_with_Spread_v8.5-mod - my modded version without the added 0.00499 rounding value
C = ALR_with_Spread_v8.5 with this rounding
As can be seen, adding this rounding value of 0.00499 ( C ) makes the lot size to increase more and more far away from a non-rounded value ( B ). However, the original ALR ( A ) seem to make some rounding, but not in the way the ALR_with_Spread does it.
Personally, I don't think any of the 3 calculates the lot size correctly due to the fact that all 3 tests ended up with losses. Because if they had, then the result would have been about +50 (which was the profit goal in case the first position did not hit TP). Instead the results was as follows:
A = -407.92
B = -414.57
C = -433.26
I have now overruled this rounding in my modded version, which I have attached here! The reason for doing so, is that it's more like the original ALR.
< == Picture here! BTW, how to add pictures directly?! Img here does not automatically load external pics.