Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Newbie Question: What causes re-painting of an indicator?

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

    Newbie Question: What causes re-painting of an indicator?

    I have noticed that an indicator I am developing gave a sell signal earlier upon application to a new chart with the all the same settings...

    It is a volume bar chart. This could be caused by the historical backfill data, as discussed here:



    beneath" Understanding why a chart may look different after reloading historical data from the server."

    I'm not sure if NT went out to the server or not... seems it would first look on my harddisk where I have the incoming data saved, then do a backfill if needed.

    I need to naildown if this indicator, which is using EMA's is repainting or if the signal change I noticed is due to reload of data. So, what exactly would cause an indicator like a moving average to change?

    What's a good way to nail down for sure that the indicator is repainting?

    How does one prevent it from happening?

    #2
    Crassius, the EMA is an infinite filter and thus would always take all the data on the chart into it's calcs (albeit very low weighted the farther back you look). When you create a new chart NinjaTrader would always try to reload the current day, thus likely a tick data change caused the issue you saw.

    Which CalculateOnBarClose setting were you using?

    Comment


      #3
      Thanks for the reply.

      I was using Calculate OnBarClose = True.

      I am leaning toward the just a change in the data on reload at this point. I have read many posts that complain about indicator re-painting as people developed them, and I am unclear as to what conditions must be present to cause that.

      In this specific case, I am just doing some calcs and taking a double EMA.

      I read a section on when NT reloads data from the server, and it would have in this case.
      Last edited by Crassius; 09-23-2010, 09:03 AM.

      Comment


        #4
        Yes, then it's very likely a data change causing this - the repaint for example happens easily if you run updates on each tick, where conditions become true intrabar then in realtime thus it appears the signal is present...but when the bar closes price has backed off and negates your signal.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        578 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X