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 Brevo, Today, 01:45 AM
        0 responses
        3 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        239 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        6 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X