BULLMANIA
Sign in
Sign in
BullScript™ reference / strategy / strategy.cash
Docs / BullScript™ reference / strategy / strategy.cash

strategy.cash

strategy.cash

strategy.cash is a BullScript™ constant you can use in a strategy. The editor offers it. If the name is not known, the script stops on that line.

Example#

bullscript
strategy.cash

The script enters long on bar 0 and closes that entry on bar 3. On a 20-bar daily book, bar 0 logged cash and bar 19 logged cash.

Previousstrategy.wintradesNextstrategy.commission.cash_per_contract