Announcement

Collapse
No announcement yet.

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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        602 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        347 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
        559 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        559 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X