• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Create my own column in market analyzer

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

    Create my own column in market analyzer

    I see that under the Custom folder there is a MarketAnalyzer directory with all the columns. Can I create my own column like that? Is there any documentation for that?

    Onn

    #2
    Hello,

    Thank you for contacting us.

    Can you please elaborate on the type of column you wish to create? The steps required are dependent on what you wish to accomplish.
    KyleNinjaTrader Customer Service

    Comment


      #3
      I have a custom indicator that does some calculations on the OnBarUpdate method. I have a property called state that can either be 1,0,-1 and I currently use the Indicator column with cell conditions defined in order to display text based on the state. This works fine.

      That being said, this indicator is for distribution for a client and it would perhaps be better in terms of usability if I can create a column where the user can select it from the list.

      So is it possible to create a column and compile it?
      If I do implement a column, will it be included when I export NinjaScript archive?
      Are there any docs for this?

      Onn

      Comment


        #4
        Hi onnb1, thanks for clarifying for us, yes that would be possible via custom coding however generally not a process we have documented or could fully support. If you copyover for example a column into your bin > indicator folder you would be able to edit it via the NS editor and also export then from the wizard, that trick would be applicable to any type like bars or styles as well.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          This column that I copied over, when the user imports, would be placed in the into the indicator folder or the MarketAnalyzer folder?

          Comment


            #6
            Would be going to the Indicator folder from where it was exported...would be different only if you exported it as compiled assembly.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Should have mentioned that,sorry - its exported as compiled assembly. In that case I put the code in the indicator folder and its imported into the MarketAnalyzer folder?

              Comment


                #8
                No, only open source code cs files would go into those folders. Compiled assemblies all rest under bin > custom.
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by snbence, Today, 11:19 AM
                0 responses
                4 views
                0 likes
                Last Post snbence
                by snbence
                 
                Started by marwanco, Today, 10:54 AM
                1 response
                4 views
                0 likes
                Last Post NinjaTrader_ChrisL  
                Started by daqu40, Today, 11:01 AM
                0 responses
                0 views
                0 likes
                Last Post daqu40
                by daqu40
                 
                Started by n8dogg59, Today, 09:55 AM
                2 responses
                4 views
                0 likes
                Last Post n8dogg59  
                Started by ren37, Today, 09:42 AM
                2 responses
                4 views
                0 likes
                Last Post ren37
                by ren37
                 
                Working...
                X