Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Really simple and market analyzer not updating

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

    Really simple and market analyzer not updating

    Hello,

    I subscribed to a basic subscription with no exchanges fees or extras and I am trying to write my own indicator to run it in market analyzer. After doing some tests, I realized that even a really simple indicator like the one below never updates in the market analyzer.

    I close NJ. Let's say I open it at 10am and run the market analyzer with the indicator below in a column, I set the indicator to run on a 1 minute timeframe, 320 bars to look back, maximum bars to look back infinite, calculateonbarclose set to true, the rest is on default settings.

    When I click apply, it is going to print the close price of 9.59am but after that i never updates. The result is the same with calulcateonbarclose set to false.

    Does anyone know why ?

    Thanks for your help.

    Max

    protected override void Initialize()
    {
    Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
    Overlay = false;
    }

    /// <summary>
    /// Called on each bar update event (incoming tick)
    /// </summary>
    protected override void OnBarUpdate()
    {
    // Use this method for calculating your indicator values. Assign a value to each
    // plot below by replacing 'Close[0]' with your own formula.
    Plot0.Set(Close[1]);
    }

    #2
    Hello mlambole,

    Thank you for your post.

    Who is your basic subscription with?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hello NinjaTrader_Cal,

      It's with Kinetick.

      Comment


        #4
        Hello mlambole,

        With the Kinetick basic subscription you are only going to have delayed data. This can cause potential scenarios where your indicators can take a long time to update.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Ok I will update my service to include the exchange fees to get real time data and see if it works then.

          Thank you

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Shansen, 08-30-2019, 10:18 PM
          24 responses
          942 views
          0 likes
          Last Post spwizard  
          Started by Max238, Today, 01:28 AM
          0 responses
          9 views
          0 likes
          Last Post Max238
          by Max238
           
          Started by rocketman7, Today, 01:00 AM
          0 responses
          4 views
          0 likes
          Last Post rocketman7  
          Started by wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          28 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 02-22-2024, 01:11 AM
          5 responses
          33 views
          0 likes
          Last Post wzgy0920  
          Working...
          X