How to buy with varying margin?
-
I don't want to have the same amount of leverage every time. I want to trade an engulfing candle strategy where the stop loss is at the low of the engulfing candle and I want to risk 20% on every trade. Sometimes (if the distance between the price and the stop loss is big) there doesn't need to be very much leverage. But if the distance is small there will need to be more leverage taken in order to be risking 20% of my collateral. How do I adjust this? What should I pick here:

And what should I do over on metatrader for this to work -
@davjack You don't need to touch meta trader all is done here, set to % of balance depending on SL, set two trees with different buy/sell trees, this way it will only open a trade with the desired settings for your particular set up.
-
@jstap ok thanks! what should I leave this on then?
(on mt5).
Or is it totally irrelevant? -
@davjack Probably doesn't matter unless your bot is placing lots of trades, I would set same as my live account.