Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Are donchian channels supposed to move bounds when refreshing chart?

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

    Are donchian channels supposed to move bounds when refreshing chart?

    Hello

    I came with an issue in my Donchian Channel.

    Using Renko Bars supplied by Ninja Trader.

    Donchian Channel lower bar started to move to a higher position and renko bars was falling down.

    Both touched each other at the close of the candle at 5000 points for example.

    When reloading the chart, renko bar was still at 5000, but the lower band was now at 4980.

    There was enough candles to fill the price information. I was using a 100 bars for Donchian Channel.

    Is this a expected behavior?

    Thanks.

    #2
    Hello Eslej,

    Thank you for your post.

    Are you running the indicator with CalculateOnBarClose set to true or false?

    Additionally, indicators and bars can change when being reloaded with tick based charts, as there is a slight delay between the reload and the real time where ticks may not have been recorded on the char, thus when the reload is complete, the bars and indicator calculations are subject to change.

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hello Cal,

      CalculateOnBarClose is set to true.

      Market replay does not have the same behavior. It kept 5000 points for the lower band. I went back to my live connection and the chart also shows the same 5000 for lower band. I have no clue what happened when that refresh showed 4980. If I find a way to get the same behavior again I will post it.

      Is there any way to programmatically refresh the chart?

      Thanks.

      Comment


        #4
        Eslej,

        I am not aware of any way to code a refresh of the chart.
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by funk10101, Today, 12:02 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by GLFX005, Today, 03:23 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by nandhumca, Yesterday, 03:41 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by The_Sec, Yesterday, 03:37 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by vecnopus, Today, 06:15 AM
        0 responses
        1 view
        0 likes
        Last Post vecnopus  
        Working...
        X