Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

base period type enum

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

    base period type enum

    greetings,

    reviewing the Kagi code and would like to know how to expose Range bars as a valid selection for BasePeriodType. any helpful pointers most appreciated.

    cheers,
    -e

    #2
    Hello,

    This would be officially unsupported unfortunately, but mabye others can assist here. Its most likely unsupported as the two would contradict eachother/ cause issue correct?

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      was hoping for something similar to this:

      Code:
              public override Gui.Chart.ChartStyleType[] ChartStyleTypesSupported
              {
                  get
                  {
                      return new Gui.Chart.ChartStyleType[]
                      {
                          Gui.Chart.ChartStyleType.Box,
                          Gui.Chart.ChartStyleType.CandleStick,
                          Gui.Chart.ChartStyleType.HiLoBars,
                          Gui.Chart.ChartStyleType.LineOnClose,
                          Gui.Chart.ChartStyleType.OHLC,
                      };
                  }
              }
      where i could just plug in the BasePeriodType[] values that were applicable.

      anyone else run into this limitation before? i understand the official unsupported response, but would still like to explore how to do this.

      cheers,
      -e

      EDIT: hmmm, i was close ... Supported : PeriodType[] may do the trick ... we'll see.
      Last edited by e-man; 02-14-2011, 04:49 PM.

      Comment


        #4
        ... denied ...

        'NinjaTrader.Data.NewBarType.Supported.get': cannot override inherited member 'NinjaTrader.Data.BarsType.Supported.get' because it is not marked virtual, abstract, or override
        any chance we can get this marked as virtual?

        cheers,
        -e

        Comment


          #5
          Thank you for the suggestion, e-man. Currently you can't use range bars for the Kagi bar type. I will forward this to our development team for consideration in a future release.
          Ryan M.NinjaTrader Customer Service

          Comment


            #6
            you can disregard that suggestion.

            i coded it up over here and made it work, but there is no business use for this type of bar. the bar-heights can get ridiculous large in range-bound markets.

            cheers,
            -e

            Comment


              #7
              Hello,

              Thanks for letting us know.
              BrettNinjaTrader Product Management

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              581 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              338 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              554 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              552 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X