Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Price AND Candle Plot different

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

    Price AND Candle Plot different

    Hello,
    yesterday I have reported that price shown on the right and candle drawings are not in Sync.

    Today I am using a 2 min chart. Data feed comes from IB. During the high volatile timr I see the same behaviour as yesterday. Candle isn't drawing properly - it lags behind price - as you can see on the attached pic.

    And, yes I have reloded the chart several times.

    See attached pic.
    Attached Files

    #2
    Hello Trader108,

    Thank you for the report.

    Can you verify the following setting:

    Right click on chart > Indicators > Highlight Heiken Ashi

    What is setting for CalculateOnBarClose?
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_RyanM View Post
      Hello Trader108,

      Thank you for the report.

      Can you verify the following setting:

      Right click on chart > Indicators > Highlight Heiken Ashi

      What is setting for CalculateOnBarClose?
      It is FALSE

      Comment


        #4
        Hi,
        even when I set it to TRUE there is still a difference between price and candle. Not big but still there. When I delete the indicator everything is fine.

        Comment


          #5
          Thank you for your patience here, Trader 108.

          This is just the nature of the indicator - the price you're using on the chart is the last traded price, and Heiken ashi will not always use this.

          Heiken Ashi close price is:
          (Open[0] + High[0] + Low[0] + Close[0]) * 0.25

          You can view code by clicking Tools > Edit NinjaScript > indicator > Open Heiken Ashi
          Ryan M.NinjaTrader Customer Service

          Comment


            #6
            Thanks for your clarification!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by kinfxhk, 07-13-2026, 10:18 AM
            0 responses
            34 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 09:50 AM
            0 responses
            29 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 07:21 AM
            0 responses
            37 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-11-2026, 02:11 AM
            0 responses
            33 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by SalmaTrader, 07-07-2026, 10:26 PM
            0 responses
            144 views
            0 likes
            Last Post SalmaTrader  
            Working...
            X