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

Need help - to make copy of Range bar type

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

    Need help - to make copy of Range bar type

    Hello. I'm asking for help.

    I need to put 2 same range timeframes on one chart. (Reason is simple - I need to put different indicators on each panel.)

    NT forbiding to place same data series on one chart.

    I think desision - to copy standart Range bars type and make same data serie with another name ("Range2" for example).

    I trying do edit @BarsTypes.cs it - but I can't - lack of basic knowledge.
    And furthermore this is out of NT support.


    If someon know how to do it qiuck - please, help!
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    #2
    fx.practic, as a coutesy for testing please find attached a custom Range2 Type showing a different name thus it would allow for double plotting in a MultiSeries chart, this will however not look as 'nice' as you would expect since the Equidistant bars spacing could not be used then in this case. However perhaps it still serves a use for you. Please also keep in mind this is a unsupported technique and I provide this as is for you as courtesy.

    To import, please copy in the type folder - compile your scripts and then restart NT fresh, it should be showing up as Range2 from the DataSeries menu.
    Attached Files
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thank You! Thank You Thank You!

      Yes, I am a bit sad about not equidistant bars, but Your bars work grate! 2 same DataSeries - this is charmy!

      Thank You very mach!
      fx.practic
      NinjaTrader Ecosystem Vendor - fx.practic

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by AveryFlynn, Today, 04:57 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by Max238, Today, 01:28 AM
      4 responses
      37 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by r68cervera, Today, 05:29 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by geddyisodin, Today, 05:20 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by timko, Today, 06:45 AM
      2 responses
      14 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Working...
      X