In NT7 I would use the following code to extract the trade results from WalkForwardAnalysis to a text file that allowed me to graph the complete PNL of an entire WFO execution that spanned many months.
I am converting from NT7 to NT8 and hoped you could tell me what the NT8 expression would be that I could place in if(State==State.Terminated).
In NT7 I used...
protected override void OnTermination()
{
if (BackTestMode == BackTestMode.WalkForward) { vExtractPerformanceTrades_ToFile(); }
}
I can`t find any references to BackTestMode in NT8 help or an equivalent property.
Can you please tell me if there is a way for a strategy to know if its being executed in WalkForward mode ?
Please let me know ?
Comment