• 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

Market Analyzer column for Indicators

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

  • NinjaTrader_ZacharyG
    replied
    Hello uacvax,

    Thank you for your patience.

    Here is undocumented code on how you can grab the collection of indicators:
    Code:
    Type[] availableIndicatorTypes = NinjaTrader.Core.Globals.AssemblyRegistry.GetDerivedTypes(typeof(IndicatorBase));
    http://ninjatrader.com/support/forum....php?t=74729#7

    Please, let us know if we may be of further assistance.

    Leave a comment:


  • NinjaTrader_ZacharyG
    replied
    Hello uacvax,

    I apologize for the misunderstanding; I was thinking that you wanted an example of how to create a drop down menu for your properties.

    I will be investigating this further to see how a list of indicators can be obtained.

    Leave a comment:


  • uacvax
    replied
    Thanks Zachary. That is a nice example, however, I am looking for something more complex. There is something that NT is doing in the indicator column that allows it to pull in the full list of indicators into the drop down. Using enums would be hard coding items for the drop down whereas the indicators column in MA is somehow able to grab all the indicators dynamically.

    Leave a comment:


  • NinjaTrader_ZacharyG
    replied
    Hello uacvax,

    Thank you for writing in.

    You can add drop down menus for properties in your scripts by utilizing enums.

    More information about enums can be found here: http://www.dotnetperls.com/enum

    I have provided an example script that shows how this can be done.

    Please, let us know if we may be of further assistance.
    Attached Files

    Leave a comment:


  • uacvax
    started a topic Market Analyzer column for Indicators

    Market Analyzer column for Indicators

    Hi,

    In the NS Editor for MarketAnalyzerColumns there is no code to view for the "Indicator" column. How was this column programmed and achieved to have indicator and plot dropdown property menus?

    I want to make the same drop down selectors in my custom NS files. Is this possible? Thanks.

Latest Posts

Collapse

Topics Statistics Last Post
Started by Simon Thompson, Yesterday, 10:24 PM
0 responses
8 views
0 likes
Last Post Simon Thompson  
Started by RuthB, Yesterday, 09:41 PM
0 responses
7 views
0 likes
Last Post RuthB
by RuthB
 
Started by dtl-saw, Yesterday, 08:50 PM
0 responses
5 views
0 likes
Last Post dtl-saw
by dtl-saw
 
Started by waterman, Yesterday, 07:02 PM
0 responses
14 views
0 likes
Last Post waterman  
Started by authenticx, Yesterday, 03:51 PM
0 responses
22 views
0 likes
Last Post authenticx  
Working...
X