Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Inserting next bar hypothetically

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

    Inserting next bar hypothetically

    Hi,

    Is it possible to programatically insert the next bar hypothetically in ninja and calculate the usual indicator values ?

    thanks for your help

    #2
    buylosellhi, unfortunately that's not possible - you could modify though the last value for example of a custom DataSeries and then calculate your indicators on it to see the effects.

    Comment


      #3
      Bertrand, thanks much for your prompt reply...

      Comment


        #4
        Originally posted by buylosellhi View Post
        Hi,

        Is it possible to programatically insert the next bar hypothetically in ninja and calculate the usual indicator values ?

        thanks for your help
        That is called a "Time Series Forecast". You simply have to program your forecasting formula and project it one bar ahead.

        NinjaTrader ships with a linear TimeSeriesForecast indicator. If you need another function, you will have to program it, one way or another.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        174 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        329 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        252 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        356 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        183 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X