I am trying to compile a file SMA Indicator in NT8 which works and but an error comes up from NET Frame and COT's file which is not use . please assist, enclosed is the picture. Thank you.
protected override void OnBarUpdate()
{
if (CotData.GetCotReportNames(Instrument.MasterInstru ment.Name).Count == 0)
{
Draw.TextFixed(this, "Error", Custom.Resource.CotDataError, TextPosition.BottomRight);
return;
}
if (!Core.Globals.MarketDataOptions.DownloadCotData)
Draw.TextFixed(this, "Warning", Custom.Resource.CotDataWarning, TextPosition.BottomRight);
Comment