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 sjsj2732, 03-23-2026, 04:31 AM
        0 responses
        76 views
        0 likes
        Last Post sjsj2732  
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        313 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        313 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        149 views
        1 like
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        113 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Working...
        X