Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NET Frame COTs Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    NET Frame COTs Error

    Hello Support ,
    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);




    Attached Files
    Last edited by Emma1; 05-23-2021, 07:20 AM.

    #2
    Hello Emma1,

    The .NET error typically occurs of you have used VisualStudio or another editor and then updated NinjaTrader to 8.0.23.0 or higher.

    Within the Documents\NinjaTrader 8\bin\Custom folder delete the \obj and \bin folders to resolve.

    With the @COT.cs file, try deleting this from Documents\NinjaTrader 8\bin\Custom\Indicators, and then run the re-pair from the NinjaTrader installer.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    75 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    146 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    79 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    50 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    54 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X