Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Open price problems in MTF

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

    Open price problems in MTF

    Hi guys!

    I use MTF and I'd like to get Current day open price or 3 days ago open price...etc

    When I use 15 min chart i get current open + 1 bar open price.
    When i use daily chart everything is working well. I see the correct price in tha data box

    Add(PeriodType.Day, 1);

    if (Bars.GetDayBar(2) != null && BarsInProgress == 0)
    {
    byestopen = Bars.GetDayBar(2).Open; // B. yest. open
    }

    if (Bars.GetDayBar(2) != null && BarsInProgress == 1)
    {
    dailyopen = Open[0];
    }




    I get 1,3064 open price
    Is it correct?
    What's wrong in my view? I use fxcm demo...

    thx
    w.
    Attached Files

    #2
    Hi wokitun,

    Thanks for your note.

    So that I may compare the data, what time zone are you in?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi ChelseaB!

      GMT+1

      thx
      w.

      Comment


        #4
        When I see EURUSD 15min chart...yesterday high is 1.3032
        Yesterday high on daily chart is 1.3030
        ??
        It's puzzling to me...
        I assume I shouldn't use to a demo fxcm account...
        This can cause it?

        Comment


          #5
          Hello wokitun,

          Thanks for that information.

          I am currently connected to FXCM and have redownloaded the data for July 2nd.

          I am showing both bars you have marked the bar at 11:00 PM and 11:15 PM have an open of 1.3062.

          I am also showing the high for July 4th session ending at 11:00 PM to be 1.3022 on both the 15 minute chart and the daily chart.


          Please re-download this data and see if this corrects the issue.

          Please use the steps I have provided below to delete your cache data:
          • Close NinjaTrader
          • Open (My) Documents/NinjaTrader 7/db/cache/
          • Delete all files within this folder
          • Go up one directory to the /db/ folder
          • Repeat this procedure for the tick, minute, and day folders as well
          • Restart NinjaTrader
          • Connect


          Open a new chart without any indicators or templates applied to see if you are able to load a chart.

          This initial load may take a little longer than normal since all new data is being loaded from the historical data servers. After everything has loaded please restart NinjaTrader and let me know if you continue to experience a slow load time.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          567 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          330 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
          548 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          548 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X