Skip to content

Your balance plus the unrealized profit of your open positions, in your account currency.

declare const EQUITY: number;
function onTick() {
if (EQUITY < BALANCE * 0.95) {
closeAllPositions();
}
}