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 NullPointStrategies, Today, 05:17 AM
        0 responses
        23 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        120 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        63 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        45 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X