Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator starts plotting at Bar 20

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

    Indicator starts plotting at Bar 20

    Hi,
    I have a simple indicator :
    protected override void OnBarUpdate()
    {
    if (CurrentBar < 1) Return;
    Indicator.Set(Close[0]);
    Print(Close[0]);
    }
    The print starts at bar 1, which I expect to do, but the indicator starts plotting only at bar 20 on the chart.
    How can I have the indicator starting at bar 1?

    #2
    Double click on the chart to bring up the Chart properties and set the value for "Show unstable...." to true.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thank you for your help, Ray

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by algospoke, 04-17-2024, 06:40 PM
      6 responses
      49 views
      0 likes
      Last Post algospoke  
      Started by arvidvanstaey, Today, 02:19 PM
      4 responses
      11 views
      0 likes
      Last Post arvidvanstaey  
      Started by samish18, 04-17-2024, 08:57 AM
      16 responses
      61 views
      0 likes
      Last Post samish18  
      Started by jordanq2, Today, 03:10 PM
      2 responses
      11 views
      0 likes
      Last Post jordanq2  
      Started by traderqz, Today, 12:06 AM
      10 responses
      21 views
      0 likes
      Last Post traderqz  
      Working...
      X