• 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

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 Skyfly1715, Yesterday, 03:36 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Marco  
      Started by samatron, Yesterday, 09:49 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Started by moulsworth, Today, 12:45 AM
      0 responses
      3 views
      0 likes
      Last Post moulsworth  
      Started by Dr3am, Yesterday, 05:10 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Started by Captain Jack, Yesterday, 02:53 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Working...
      X