Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot Update Problem

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

    Plot Update Problem

    I have a basic traffic light indicator that plots a different color dot when certain conditions occur. CalculateOnBarClose is set to false. This indicator works correctly in 6.5. However, in nt7, the dots aren't updated correctly as the conditions change intrabar. Worked with this a while and then decided to confirm that the code wasn't causing the problem by writing another simple indicator. This test indicator plots a red dot where close < open, green dot when close > open and gray dot when close == open. Again CalculateOnBarClose is set to false. This indicator in 6.5 works correctly but in nt7 the dots do not get the correct color a lot of the time. Am attaching my indicator for you to verify.

    Exported it in nt7.

    Thanks,
    Mike
    Attached Files

    #2
    Thanks for reporting Mike, will test here shortly.

    Comment


      #3
      Please try the attached which would also reset the other plots as needed (demonstrated in the MultiColoredPlot reference sample), this should work well even with CalculateOnBarClose = false.
      Attached Files

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      605 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      351 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      561 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X