Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Only plotting one value

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

    Only plotting one value

    I created a simple indicator to plot a blue dot when close is greater than open. Its only plotting one time(when value is true last time) vs. plotting every time it is true. I'm sure i must be doing something wrong, please help.

    Here is my code:

    if (Close[0] > Open[0])
    {

    Draw.Diamond(this, "MyDiamond", false, 0, High[0] + 2 * TickSize, Brushes.Blue);
    }

    #2
    I got it resolved from reading through earlier threads

    Comment


      #3
      Hello chakriare,

      Thank you for the update. Please let us know if we may be of assistance anytime and please enjoy your weekend!
      Michael M.NinjaTrader Quality Assurance

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Futurestrader00, Yesterday, 06:14 PM
      1 response
      17 views
      0 likes
      Last Post cincai
      by cincai
       
      Started by ballston, Today, 06:32 AM
      0 responses
      2 views
      0 likes
      Last Post ballston  
      Started by Danila, Today, 04:38 AM
      2 responses
      7 views
      0 likes
      Last Post Danila
      by Danila
       
      Started by sinpeople, Today, 04:38 AM
      0 responses
      7 views
      0 likes
      Last Post sinpeople  
      Started by kiffgj, Today, 04:23 AM
      0 responses
      8 views
      0 likes
      Last Post kiffgj
      by kiffgj
       
      Working...
      X