EQUITY
Your balance plus the unrealized profit of your open positions, in your account currency.
declare const EQUITY: number;Example
Section titled “Example”function onTick() { if (EQUITY < BALANCE * 0.95) { closeAllPositions(); }}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(); }}