Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Custom Indicator not working with ALL instruments...

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

    #16
    Hello dunwoodyjr,

    So I see that you are using multiple instruments prices and the SMA to calculate your plot value on your indicator.

    Calculating your plot values this way should not effect how your Plot is being calculated since it is not using a previous value of the plot.

    Testing this out on my end both values are .366 like on your chart. That being the case it maybe the other instruments values that maybe causing the differences.

    If you reload your Strategy Analyzer do the values match? If not, you may want to use the Print() method to make sure that both instruments are going to have the same values. Here is a thread that you may view that has an example of this.


    Let us know what the results are.
    JCNinjaTrader Customer Service

    Comment


      #17
      DUDE!! The WHOLE time the problem has been the data. ^ADV and ^DECL had 6 missing dates going back to 1995. This throws the WHOLE thing off as soon as you get to that first missing date. Meaning: 365 bars were no problem, but 3650 bars were because SPY had XXX bars and ^ADV, ^DEC had XXX-2 bars. And there you go...

      Comment


        #18
        Hello dunwoodyjr,

        Glad to hear that the discrepancy was found.

        Let us know if we can be of further assistance.
        JCNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,404 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by Shai Samuel, 07-02-2022, 02:46 PM
        4 responses
        95 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        8 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        159 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        8 views
        0 likes
        Last Post Belfortbucks  
        Working...
        X