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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      161 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      310 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      350 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X