IsBacktesting


Summary

True if a cBot is in the Backtesting mode, otherwise False.

Syntax

public bool IsBacktesting{ get; }

Example 1

if(IsBacktesting)
{
   Print(MarketSeries.OpenTime.LastValue);
}
Reference