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 kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        91 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        92 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        70 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        87 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        66 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X