Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

open vs bar.Open

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

    open vs bar.Open

    Hi,

    Can anyone tell me the difference between

    open, high, low, close

    and

    bar.Open, bar.High, bar.Low, bar.Close


    Also,

    I tried using the print function inside a cs file for chart type, and it wouldn't recognise the print command.

    What's up with that?

    RJay
    RJay
    NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

    #2
    Hello,

    I believe it is the same, but post some code and I'll test it.

    Same thing with the chart type.
    DenNinjaTrader Customer Service

    Comment


      #3
      Working with Range Chart variations.

      ------------------------------------------------------------

      UpdateBar(bars, bar.Open, bar.High, bar.Low, bar.Close, time, 0);

      UpdateBar(bars, open, high, low, close, time, 0);

      --------------------------------------------------------------

      if (bars.Instrument.MasterInstrument.Compare(close, bar.Low + NewRangeValue) > 0)


      if (bars.Instrument.MasterInstrument.Compare(close, low + NewRangeValue) > 0)

      -----------------------------------------------------------------------
      RJay
      NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

      Comment


        #4
        Hello,

        So you are building a new range bar variation? This is beyond the level of support we provide. I do not know the answer to your question either given this context. However, I will show this to someone else and see if he can assist you further on Monday. Sorry.
        DenNinjaTrader Customer Service

        Comment


          #5
          rt6176,

          Unfortunately we do not support making chart types. I suggest you look at the various ones already made to investigate what they could be.
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            NT,

            Thank you for choosing to not answer any of my questions, again !!!

            Every time I post a question here, A voice in my head keeps saying "Why are you wasting your time asking them??? ".

            The definition of insanity is doing the same thing over and over again, expecting a different result.

            Somebody lock me up,

            RJay
            RJay
            NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

            Comment


              #7
              RJay,

              Unfortunately making of chart types is unsupported. When you work with unsupported features, unfortunately, you are on your own.
              Josh P.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by DanielSanMartin, Yesterday, 02:37 PM
              2 responses
              12 views
              0 likes
              Last Post DanielSanMartin  
              Started by DJ888, 04-16-2024, 06:09 PM
              4 responses
              12 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by terofs, Today, 04:18 PM
              0 responses
              11 views
              0 likes
              Last Post terofs
              by terofs
               
              Started by nandhumca, Today, 03:41 PM
              0 responses
              7 views
              0 likes
              Last Post nandhumca  
              Started by The_Sec, Today, 03:37 PM
              0 responses
              3 views
              0 likes
              Last Post The_Sec
              by The_Sec
               
              Working...
              X