Navigation: Realtest Script Language > Syntax Element Details >






Strategy Elements


Specifies what assumptions to make when there is price sequence ambiguity in a test


Stop - always exit at the stop price if that price was touched (most pessimistic case)

Neither - do not exit if exit price can not be determined without ambiguity (default)

Target - always exit at the target (limit) price if that price was touched (most optimistic case)


This constant specifies what RealTest should do in a trade where more than one outcome could occur within the same bar and where a smaller timeframe bar would be required to know which outcome happened first.

One example is a target and stop both being hit within a wide-range bar.

Another is a limit order entry and target exit price within a single bar.

By default, RealTest does not exit a position on a target or stop if there’s any ambiguity.




Copyright © 2020-2021 Systematic Solutions, LLC