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

How to paint chart on different interval?

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

    How to paint chart on different interval?

    Can any body point me in the right direction in terms of class to add or extend or method to override which would allow me to have a chart that only changes 'bars' according to my rules?

    For example a range bar chart only shifts for a new bar when the range rules have been met.
    I am looking to do something similar but where the number of 'bar' intervals within a session
    is determined by my code.

    Do I create a new class inside the BarTypes.cs file?

    Any other guidelines or rules I should be aware of while trying this?

    Thanks for any help,
    Gary

    #2
    Hello GaryAlbers,

    This is beyond our scope of support but you might look at the system indicator HeikenAshi which accomplishes a lot of this.

    Tools > Edit NinjaScript > Indicator > Heiken ashi.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Procedures for custom BarTypes

      I would like to create a custom BarType.

      I understand that this is not supported by NinjaTrader.

      I would appreciate some insight from other developers who have created a
      custom bar type.

      When creating a custom bar type, does the code have to go in the type\@BarTypes
      file? Or can it be in a separate file as long as it extends the correct class and is in
      the same namespace?

      What steps are needed to make the new type recognized by Ninja and therefore
      show up in all the correct drop down boxes, etc?

      Thanks for any help you feel like providing

      Gary

      Comment


        #4
        Gary, as a hint : yes it could be in it's own CS type file - I suggest you check into one of the many addon types shared here on the forums by users, some I believe are also in our sharing section here.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          i'd like to create my own type too. so far I'm studying a renko type and trying to understand it but it's a bit complicated.

          if you make any progress please share your status and i'll do the same.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by dustydbayer, Today, 01:59 AM
          0 responses
          1 view
          0 likes
          Last Post dustydbayer  
          Started by inanazsocial, Today, 01:15 AM
          0 responses
          2 views
          0 likes
          Last Post inanazsocial  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          5 responses
          22 views
          0 likes
          Last Post trilliantrader  
          Started by Davidtowleii, Today, 12:15 AM
          0 responses
          3 views
          0 likes
          Last Post Davidtowleii  
          Started by guillembm, Yesterday, 11:25 AM
          2 responses
          10 views
          0 likes
          Last Post guillembm  
          Working...
          X