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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X