Log output from a running test at ExitLimit / ExitStop evaluation time
Any formula returning a string (blank string "" means don't log anything)
If this formula is present in a strategy, it will be evaluated for every stock every day of the test, just prior to the ExitLimit and ExitStop formula evaluations.
If the DebugTargetStop formula returns a non-empty string, then whatever it returns is added to the log window text which is displayed at the end of the test run.
If the formula returns a numeric value, that number will be logged whenever it is non-zero.
To make the best use of this debugging feature, use the IF and Format functions, as in this example (from mr_sample_debug.rts):