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 WHICKED, Today, 12:56 PM
            0 responses
            2 views
            0 likes
            Last Post WHICKED
            by WHICKED
             
            Started by Spiderbird, Today, 12:15 PM
            2 responses
            10 views
            0 likes
            Last Post Spiderbird  
            Started by WHICKED, Today, 12:45 PM
            0 responses
            7 views
            0 likes
            Last Post WHICKED
            by WHICKED
             
            Started by FrazMann, Today, 11:21 AM
            2 responses
            6 views
            0 likes
            Last Post NinjaTrader_ChristopherJ  
            Started by rjbtrade1, 11-30-2023, 04:38 PM
            2 responses
            80 views
            0 likes
            Last Post DavidHP
            by DavidHP
             
            Working...
            X