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

learning about how to make custom bar types

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

    learning about how to make custom bar types

    Any advice on where to study / learn how to create a custom bar type?

    tutorials?

    cloning an existing and then modifying it?

    I don't have the final visualization of what I want and will need to make experiments....

    (I'm a coder, but am not a C# guru, I do ok by studying existing code)

    would that be the starting place -- to clone existing bar types?

    #2
    the first thing I want to do is to clone the Line-On-Close so that I can color it dynamically...

    advice?

    Comment


      #3
      Hello llanqui,

      Thanks or your post.

      We do not have tutorials available at this time for how to create custom BarsTypes.

      Further, Line-On-Close is a ChartStyles NinjaScript, not a BarsTypes NinjaScript.

      You could study the LineOnCloseStyle ChartStyles code to see how this ChartStyle is programmed and you could study the ChartStyles help guide documentation linked below. The other ChartStyles that comes with NinjaTrader could also be studied to see how they are programmed.

      To view the LineOnCloseStyles code, open a New > NinjaScript Editor window, open the ChartStyles folder, and double-click on the LineOnCloseStyle file.

      ChartStyles: https://ninjatrader.com/support/help...hart_style.htm
      Brandon H.NinjaTrader Customer Service

      Comment


        #4
        ok, thanks...didn't see the line on close in the bar types...with your suggestion I should be able to clone and adapt it...thx

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        12 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        15 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Working...
        X