Name
SetTradeDelays — Sets trade delays for the backtester
Synopsis
SetTradeDelays
|
( BuyDelay,
|
SellDelay, | |
ShortDelay, | |
CoverDelay) ;
|
Parameters
Name | Type | Default | Description |
---|---|---|---|
BuyDelay | number | ||
SellDelay | number | ||
ShortDelay | number | ||
CoverDelay | number |
Description
This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/settradedelays.html
Sets trade delays for the backtester