Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Trouble

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

    Indicator Trouble

    I am having diffculty implementing a simple indicator with the following syntax:

    Close[0] - Close[1] / Close[1];

    It seems to be having trouble calling the Close["1"] bars

    because when I use Close[0] - Open[0] / Close[0]; it is outputting the indicator on the chart...


    I looked at other indicators and it seems to be fine calculating any bar Close[X] bars...


    I am doing this on a daily bar time series.

    #2
    Oil_Trader, you likely miss a vital check at your OnBarUpdate() start - http://www.ninjatrader.com/support/f...ead.php?t=3170

    Comment


      #3
      That worked great! Thanks

      Can an Indicator have 2 input Series of Data?

      Comment


        #4
        Yes, with NT7 MultiSeries indicators are possible, the basic framework is covered here -

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        20 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        120 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        174 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        92 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        134 views
        0 likes
        Last Post cmoran13  
        Working...
        X