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

Available accounts as an indicator parameter

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

    Available accounts as an indicator parameter

    How do I get the available accounts as a drop down (as a parameter) for an indicator? I'd like to be able to select an account from a drop down when adding the indicator to the chart.

    Alternately, if I can get the currently selected Account in the Chart Trader, that'll work for me as well.

    Thanks!

    #2
    Hello gemify,

    You can do either. The account as a parameter can be accomplished using the following:

    Code:
    [TypeConverter(typeof(NinjaTrader.NinjaScript.Accou ntNameConverter))]
    public string AccountName { get; set; }
    To get the chart trader account you can see the following post: https://ninjatrader.com/support/foru...t=2#post787509

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jpeep, 08-16-2020, 08:31 AM
    17 responses
    502 views
    0 likes
    Last Post notenufftime  
    Started by ETFVoyageur, 05-07-2024, 07:05 PM
    15 responses
    123 views
    0 likes
    Last Post ETFVoyageur  
    Started by esmall, Today, 07:14 PM
    0 responses
    9 views
    0 likes
    Last Post esmall
    by esmall
     
    Started by Option Whisperer, 05-09-2024, 07:58 PM
    6 responses
    26 views
    0 likes
    Last Post Option Whisperer  
    Started by rayyyu12, Today, 05:38 PM
    0 responses
    12 views
    0 likes
    Last Post rayyyu12  
    Working...
    X