Category
Strategy Elements
Description
Log output from a running test at ExitRule evaluation time
Input
Any formula returning a string (blank string "" means don't log anything)
Notes
If this formula is present in a strategy, it will be evaluated for every stock every day of the test, just prior to the ExitRule formula evaluation.
If the DebugExit 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):
.png)
|