Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Accessing BzwOpeningRange Indicator

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

    Accessing BzwOpeningRange Indicator

    Accessing BzwOpeningRange indicator which was built by Patrick - I am getting double conversion issues -
    does anyone know the right string for accessing this indicator high and low values? As you can see I use a multi-instrument series. Thanks to all


    if (BarsInProgress == 1)
    {
    ESFHOpeningRange = BzwOpeningRange4(Closes[1], @"1030");
    YMFHOpeningRange = BzwOpeningRange4(Closes[2], @"1030");
    NQFHOpeningRange = BzwOpeningRange4(Closes[3], @"1030");
    RTYFHOpeningRange = BzwOpeningRange4(Closes[4], @"1030");
    }

    if (BarsInProgress == 1)
    {
    ESFHHIGH = (ESFHOpeningRange.RangeHighSeries[0]);
    ESFHHIGH = (YMFHOpeningRange.RangeHighSeries[0]);
    ESFHHIGH = (NQFHOpeningRange.RangeHighSeries[0]);
    ESFHHIGH = (RTYFHOpeningRange.RangeHighSeries[0]);
    }

    #2
    Hi elliot5,
    Would you mind to share a link to the indicator?
    I'd like to take a look to see if I can help.
    NT-Roland

    Comment


      #3
      Did you receive the code for the indicator?


      BzwOpeningRange41 = BzwOpeningRange4(Closes[39], @"0330");

      if (GetCurrentAsk(39) >= BzwOpeningRange41.RangeLowSeries[0])

      {
      Print("false test range");
      }

      is not the correct string for this. Help appreciated.

      Comment


        #4
        Hi elliot5, thanks for your question.

        I am not able to find this script on our file sharing website. What do you mean by "double conversion errors"? Are you getting a compile error? If so could you share the compile error and the code causing it?

        I look forward to hearing from you.
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          8-20-19 Fixed a bug in the display of prior days. This indicator draws a line at the High and at the Low price of the range specified by the user. Features: User can specify Start Time and End time User can enable the indicator to draw a line at the mid price of the High […]


          I use a multi-instrument strategy and have added a 5 minute series dedicated to extracting the OpeningRangeIndicator1.LowOfRange[0] for each series. Not sure if this indicator .LowOfRange or HighOfRange is accessible via script. Your help much appreciated.
          Regards
          Last edited by elliot5; 06-24-2020, 01:37 AM.

          Comment


            #6
            Hello elliot5,

            Thanks for your post.

            I will also answer your e-mail to platformsupport on this same subject.

            The indicator OpenRangeIndicator does not provide public plots or data series that can be used. It uses the Draw.Line() method to present the visual data.

            Paul H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by frankthearm, Yesterday, 09:08 AM
            13 responses
            45 views
            0 likes
            Last Post frankthearm  
            Started by PaulMohn, Today, 12:36 PM
            2 responses
            16 views
            0 likes
            Last Post PaulMohn  
            Started by Conceptzx, 10-11-2022, 06:38 AM
            2 responses
            53 views
            0 likes
            Last Post PhillT
            by PhillT
             
            Started by Kaledus, Today, 01:29 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by yertle, Yesterday, 08:38 AM
            8 responses
            37 views
            0 likes
            Last Post ryjoga
            by ryjoga
             
            Working...
            X