Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CurrentDayOHL problem

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

    CurrentDayOHL problem

    Hi - I just downloaded the NT 7 beta, and I must say - NICE improvements!

    I am having a problem with an indicator:

    Code:
    double HighMinusLow =  CurrentDayOHL().CurrentHigh[0] - CurrentDayOHL().CurrentLow[0];
    Plot0.Set(HighMinusLow);

    For some reason this is not calculating correctly. I am not sure what it is calculating, but it is not the current day high minus the current day low. Any suggestions?

    Thanks!

    EDIT: Actually, I should qualify this. It appears to be calculating and displaying correctly on a chart, but it is not calculating correctly on a market analyzer.
    Last edited by Day Trading Fool; 04-22-2010, 01:53 PM.

    #2
    Hi Day Trading Fool,

    Thank you for your post, someone will reply shortly.
    TimNinjaTrader Customer Service

    Comment


      #3
      Hi Day Trading Fool,

      I'm looking into this and it may be that the MA reports CurrentLow incorrectly. Allow me some time to test. Are you using the latest version of NT7? Beta 14?
      TimNinjaTrader Customer Service

      Comment


        #4
        Thanks for the reply.

        A little more info.

        I kept trying things yesterday after the market close. I have two additional indicators listed in columns as well: a last - daily low, and daily high - last. When I set all three columns to use 1 day data, and only allowed one day for look back, the calculation is as expected.

        Not sure if this will hold up during market hours (US Equities RTH) but I will let you know if it does.

        Comment


          #5
          Hi Day Trading Fool,

          Just wanted to check if you tried changing the Plot for the MA column to be the one you wanted to view? If you set the indicator to not show a certain value, but left the Plot selected on that Plot you would get improper values.
          Attached Files
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Thanks for the reply.

            Something strange is going on. I had 811 instruments in the MA and I was trying to use it as a screener. This morning I had about 6 crashes and 2 re-boots (BSOD). Most of these seemed to be related to the MA - usually as I was closing out changes in the column settings. I had to rename the database twice. I was using a TDA connection.

            This afternoon I only had one crash - I decided to try the IB connection as a primary, and set the TDA as a secondary for historical. Seems IB has a ticker limit so I tried to disconnect the IB and NT didn't take too kindly to the endeavor. I tried to send trace/logs via the help email option, but there is no response from the server.

            Back to the indicator - I am not trying to plot the OHL - just using it. There is only one plot for the indicator.

            I was trying to watch it closely today, sometimes it was spot on, other times it was not. I will try to pin it down tomorrow.

            Something else that came up - I have some bad historical data for a few instruments - $0 last just after market open. This of course throws the indicator off considerably. I thought I read somewhere that there will be a historical data filter - is it available yet?

            When it works - NT7 is very very nice. You have a new subscriber if I can get a couple of stable weeks in.

            Comment


              #7
              Hi,

              I don't believe it is. See here for the release notes:
              Vince B.NinjaTrader Customer Service

              Comment


                #8
                Day Trading Fool,

                To clarify, you can adjust your historical data by going into Historical Data Manager and excluding any bad ticks you may see in there. If you need this in real-time you would want to turn on the real-time tick filter in Tools>Options>Data.

                For your BSODs, there is nothing in NinjaTrader that would invoke a BSOD. This would actually be a symptom for more underlying computer issues you may be experiencing. Unfortunately we are not qualified to make any recommendations on the BSOD itself. You may want to consider a PC repair place to see if they can help with the BSOD.
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                581 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                338 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                103 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                554 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                552 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X