• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 Market Analyzer does not display values for PriorDayOHLC Indicator

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

    NT8 Market Analyzer does not display values for PriorDayOHLC Indicator

    Hi,
    I'm using Kinetic End Of Day data and am having issues displaying Close prices in Market Analyzer. I've tried using the PriorDayOHLC Indicator like I did in NT7 and have tried all combinations of settings but none display any prices.

    I attached Visual Studio 2015 in debug mode and have found that in the OnBarUpdate() method, the script keeps detecting Bars.BarsType.IsIntraday as false.

    Other indicators seem to work fine.

    Any thoughts on how to overcome this issue?

    Cheers,
    Scott.

    #2
    Hello proks,

    Thank you for your note.

    As far as the difference from NinjaTrader 7, I will look into that. However, it is correct in finding EOD data as not intra-day.
    Thank you for reporting this.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Hi Patrick,
      Yes, but once the indicator checks that value and finds it to be false, it exits the OnBarUpdate() method (and it is the first line in that method). That line of code is identical to that in the same indicator for NT7 but in NT7 it doesn't exit.

      I set the DataSeries Type to "Day" and the Setup to Calculate "On Each Tick".

      It would be nice to get this fixed because without the ability to scan prior day closing prices (among other factors) this version is essentially useless for me -- I can't get excited about migrating any strategies if I can't get the basic functionality of the Market Analyzer using prior day prices.

      Comment


        #4
        Hi Patrick,
        This code in the OnBarUpdate() method works -- commented out the test for IsIntraday and added the same check that was in the NT7 indicator for a null Bars object (although the code worked without the addition with the instruments I tested ... however, I hadn't tested it against instruments with no bars):

        if (Bars == null)
        return;

        // if (!Bars.BarsType.IsIntraday)
        // {
        // Draw.TextFixed(this, "error msg", "PriorDayOHLC only works on intraday intervals", TextPosition.BottomRight);
        // return;
        // }


        Obviously there is something that has changed with respect to Intraday -- or perhaps the order in which the data is being iterated has changed??

        Hope this helps in your investigation.

        Comment


          #5
          Hello proks,

          Thank you for your patience on this item.

          Can you provide a screenshot of the Market Analyzer settings for the Indicator Column?
          Patrick H.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Johnny Santiago, 10-11-2019, 08:21 AM
          7 responses
          109 views
          0 likes
          Last Post FMtrader  
          Started by HiddenPhilosopher, Today, 04:37 AM
          0 responses
          6 views
          0 likes
          Last Post HiddenPhilosopher  
          Started by Gerik, Today, 04:09 AM
          0 responses
          3 views
          0 likes
          Last Post Gerik
          by Gerik
           
          Started by dsxfcv, Today, 02:02 AM
          0 responses
          4 views
          0 likes
          Last Post dsxfcv
          by dsxfcv
           
          Started by FMtrader, Today, 01:57 AM
          0 responses
          10 views
          0 likes
          Last Post FMtrader  
          Working...
          X