Stop force lot size
-
Does anyone know how to stop an EA from forcing a lot size?
I have a risk percent based EA that will force a smaller entry lot size if my margin is too low. I’m wanting the EA to not trade at all if this is the case rather than lower the lotsize, which is what it’s doing now.
Say if my EA is risking 2% = 1 lot
If trades are already open or margin too low EA will force e.g 0.56 lots rather than 1 lot. I’d rather it not trade at all if this is the case.Cheers
-
You can create that lot size calculation BEFORE triggering the trade so that if lot size is below a minimum value, no trade is open. Both condition blocks should be positioned before the 'buy now' block.
-
Ah, perfect thank you, Is there a block for this or shall this be used in a variable?
-
@bb-2 No block is doing that. You will need a variable to do the calculation.
-
will give it a go. Cheers
-
@bb-2 You're welcome.