Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BzvOpeningRange

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

    BzvOpeningRange

    Hi

    For getting Todays low price value. We write the code.

    Syntax : double value = CurrentDayOHL().CurrentLow[0];


    Like that how do we use BzvOpeningRange Indicator in our strategy for getting Opening Range High/Low value.

    Syntax : ___________

    Thanks...
    Last edited by Sameer; 06-04-2013, 03:21 PM.

    #2
    Hello Sameer,

    Thanks for your note.

    The BzvOpeningRange indicator does not have these values in plots or in variables that are made public to call from another indicator.

    To get these values, you will need to edit the BzvOpeningRange indicator.

    You will need to add two dataseries which you will make public. Save the values for the highest high and lowest low to these dataseries.

    I have made these edits for you and called the edited indicator BzvOpeningRangeMod. Please look these edits over. The made differences are in the Variables region, the OnBarUpdate, and the Properties region.

    Once the edits are made the call syntax would be something like:

    double myDouble = BzvOpeningRange(Color.Orange, DashStyle.DashDotDot, 2, "0930", "0932").HighestHigh[0];


    Please let me know if this does not resolve your inquiry.
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thankssss a lot ChelseaB,

      I tried the code but it is not working and its giving an error : No overload for method BzvOpeningRangeMod takes '0' arguments.

      double OpenRangeLow = BzvOpeningRangeMod().lows[0];

      So please how to code it.

      Comment


        #4
        Hello,

        This indicator has properties that must be set. The arrangement/order of these properties that a indicator will take are called overload methods.

        For example:
        Code:
        double myDouble = BzvOpeningRange(Color.Orange, DashStyle.DashDotDot, 2, "0930", "0932").HighestHigh[0];
        or for the low
        Code:
        double myDouble = BzvOpeningRange(Color.Orange, DashStyle.DashDotDot, 2, "0930", "0932").LowestLow[0];
        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
        647 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X