RealTest User Guide
RealTest User Guide

 

 

Navigation: RealTest Script Language > Syntax Element Details >

IsTracker

 

 

 

 

Category

Current Strategy Information

Description

Indicates whether the strategy is being processed as itself or as its tracking benchmark

Notes

When a strategy specifies Tracker as either Visible or Hidden, a Benchmark copy of the strategy is internally added.

This means that each formula defined by the strategy is evaluated twice per test day: once for the strategy and once for its tracking benchmark.

IsTracker returns 1 (true) while the benchmark copy is being evaluated and 0 (false) while the strategy itself is being evaluated, so it can be used in any formula that needs to behave differently depending on which one is being evaluated.

See the mr_sample_tracking.rts example script for a simple example of Tracker and IsTracker usage.

See the oex_tf_auto_track.rts example script and its description in the StratData section topic for a more complex example.

 

 

 

 

 

Copyright © 2020-2026 Systematic Solutions, LLC