Navigation: Realtest Script Language > Syntax Element Details >

ExitStopTime

 

 

 

Category

Strategy Elements

Description

Specifies how a strategy exits positions when the ExitStop formula is used

Choices

Intraday - ExitStop specifies the price of a live stop order to be placed each day (default)

AtClose - exit at the close if the closing price touches or exceeds the ExitStop price

AtOpen - exit at the open if the most recent closing price touched or exceeded the ExitStop price

Notes

For a long position, an AtClose ExitStop at price N is equivalent to an ExitRule of "C <= N" with ExitTime of AtClose.

For a long position, an AtOpen ExitStop at price N is equivalent to an ExitRule of "C <= N" with ExitTime of AtOpen (or unspecified).

The main purpose ExitStopTime is to enable trailing at-close-only stop orders using PrevExitStop.

 

 

 

 

Copyright © 2020-2021 Systematic Solutions, LLC