Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why so many "References"

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

    Why so many "References"

    I'm creating a custom indicator and when I look at the references of it, it includes other third party references although I'm not using them within my code. Why does the indicator call out these references? It's causing an error because one of the third party indicators has an error which is causing an error in my new code. Any thoughts? Can I simply delete the reference without destroying all the work I've already put in?

    Thanks.

    #2
    Hello,

    Are you referring to when you right click on the code and select "References"?

    If so, these are general references to all of your NinjaScript indicators and strategies and not related to the particular project you're working on.

    What is the error you are receiving from the 3rd party? Does the DLL file that is being referenced actually exist in the target location?
    MatthewNinjaTrader Product Management

    Comment


      #3
      I guess I made some assumptions. The problem is when I enabled the strategy and viewed the strategy tab, it was yellow as opposed to the expected green. I looked at the log file and see many errors related to one of the third party indicators and therefore assumed it was causing the issue. I'm now in replay mode and my strategy is working fine. I'll experiment a bit more and let you know.... Thanks.

      Comment


        #4
        Hello,

        The strategies tab will display yellow while the strategy position is waiting to be flat before processing real-time orders.

        This is controlled under Tools--> Options--> Strategies tab--> NinjaScript tab--> "On starting a real-time strategy".

        When "Wait until flat" you will see the strategy turn yellow until it has determined the strategy position should be flat.

        Please see our Help Guide on Understanding the NinjaScript tab for more information:

        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        599 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        345 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        558 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        558 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X