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
    BertrandNinjaTrader Customer Service

    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 -

        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by helpwanted, Today, 03:06 AM
        1 response
        12 views
        0 likes
        Last Post sarafuenonly123  
        Started by Brevo, Today, 01:45 AM
        0 responses
        9 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        5 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        387 views
        1 like
        Last Post Gavini
        by Gavini
         
        Working...
        X