Sizing from equity or from balance in an EA, and the difference in a losing streak
Posted: Thu Oct 08, 2026 7:00 am
Sizing from equity or from balance in an EA, and the difference in a losing streak
my EA sizes positions as a percent of the account, but I had to decide which number to use: the balance or the equity. They differ when there are open trades, and the choice affects behaviour more than I expected.
Using the balance is stable. It only changes when trades close, so the size is predictable. The downside is that it ignores floating profit and loss, so if several trades are open and losing, the next one is still sized from the old balance.
Using the equity responds immediately to floating results. If I'm losing on open trades, the new trades are smaller, which is a kind of automatic brake. If I'm in floating profit, they get larger, which can be a problem if that profit then reverses.
I use the balance for the base risk and apply the equity as a cap. If the equity is lower than the balance by some amount, the size is reduced. If it's higher, I don't increase it. That gives me the stability of one and the safety of the other.
I tested the options in a long run, and the drawdown with the cap was smaller than with either alone.
my EA sizes positions as a percent of the account, but I had to decide which number to use: the balance or the equity. They differ when there are open trades, and the choice affects behaviour more than I expected.
Using the balance is stable. It only changes when trades close, so the size is predictable. The downside is that it ignores floating profit and loss, so if several trades are open and losing, the next one is still sized from the old balance.
Using the equity responds immediately to floating results. If I'm losing on open trades, the new trades are smaller, which is a kind of automatic brake. If I'm in floating profit, they get larger, which can be a problem if that profit then reverses.
I use the balance for the base risk and apply the equity as a cap. If the equity is lower than the balance by some amount, the size is reduced. If it's higher, I don't increase it. That gives me the stability of one and the safety of the other.
I tested the options in a long run, and the drawdown with the cap was smaller than with either alone.