Is there a way to fully cancel a backtest sequence of a data set programmatically? I have tried Abort, but that seems to just end the processing for the current symbol, and the backtest continues to run, continuously generating errors on each new symbol processed.
Size:
Color:
You can use a class-level variable, for example. Assuming the test is being run in MSB mode on a DataSet that includes 2+ symbols:
CODE:
Please log in to see this code.
Size:
Color:
Thanks. The class-level solution variable worked, and your example showing how to reference the items in the data set gave me an alternate and even better solution.
Size:
Color: