SetTradeDelays
|
Trading system toolbox |
SYNTAX | SetTradeDelays( buydelay, selldelay, shortdelay, coverdelay ) |
RETURNS | nothing |
FUNCTION | Sets trade delays applied by the backtester. This function allows you to override trade delays from the "Settings" page. It is important do understand what trade delays really do. They in fact internally apply the following:
|
EXAMPLE | settradedelays( 1, 1, 1, 1 ) |
SEE ALSO |
The SetTradeDelays function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.