• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot start bug in N7 release 21 ?

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

    Plot start bug in N7 release 21 ?

    Hi,
    it seems to me there is something wrong, plots are not starting from the first bar.
    Plain new indicator using the following code looks like this on 60min and Daily chart (see the screenshot below).

    Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
    Plot0.Set(Close[0]);

    Regards
    Petr
    Attached Files
    Last edited by Peter Cherry; 04-17-2014, 06:03 AM.

    #2
    Peter, you see the so called unstable period omitted here by default, please try with BarsRequired == 0 in Initialize() and it should show all bars.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Perfect. Solved. It is fine now.
      Thank you

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Miguel_88, Today, 06:41 PM
      0 responses
      1 view
      0 likes
      Last Post Miguel_88  
      Started by spikeruk, Today, 01:49 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by Yandychang, Today, 02:16 PM
      5 responses
      17 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by priceisking, Today, 01:16 PM
      2 responses
      8 views
      0 likes
      Last Post priceisking  
      Started by kashyapjdave, 03-23-2017, 12:12 AM
      11 responses
      1,959 views
      0 likes
      Last Post forextrader2003  
      Working...
      X