NinjaScript > Language Reference > Strategy >

Slippage

Print this Topic Previous pageReturn to chapter overviewNext page

Definition

Sets the amount of slippage in ticks used in performance calculations during backtests.

 

Property Value

An double value representing the number ticks.

 

Syntax

Slippage

 

 

Examples

protected override void Initialize()
{
    Slippage = 2;
}