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

Custom Trading Panel like Chart Trader

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

    Custom Trading Panel like Chart Trader

    I have written a strategy in Ninja Trader 7 creating my own trading panel on my chart. One function that I can only do by restarting the Strat is
    changing trading accounts from Sim to Live. Does anyone know how to code that as a field in the panel like Chart Trader. I can do a drop box and find
    the account names.
    esmall
    NinjaTrader Ecosystem Vendor - Ed's Retrace Plan

    #2
    Hello esmall,

    Thanks for your post. We directed you to the forums in case any community members have insight for unsupported approaches as this would not be possible through supported code.

    Strategies will need to be disabled and reconfigured in order to have their account changed.

    Something to consider is if you build an AddOn for NinjaTrader 8, you can use AddOn Framework code to submit orders from an Account object and you can use an Account Selector to change accounts. AddOn framework code can be used in any NinjaScript type in NinjaTrader 8. You can read more about that below.

    AddOn Framework - https://ninjatrader.com/support/help...t_overview.htm

    We look forward to assisting.
    JimNinjaTrader Customer Service

    Comment


      #3
      Dear Jim,
      We are not ready or interested in porting to Ninja 8. This function, changing trading accounts, can be done in Ninja 7 Chart Trader so one can assume there must be a way to do it, change accounts in a custom panel as in my picture.
      esmall
      NinjaTrader Ecosystem Vendor - Ed's Retrace Plan

      Comment


        #4
        Try looking here and here.

        Comment


          #5
          Originally posted by esmall View Post
          One function that I can only do by restarting the Strat is changing trading accounts from Sim to Live. Does anyone know how to code that as a field in the panel like Chart Trader. I can do a drop box and find the account names.
          As far as changing the account while a strategy is running, I don't know.

          But if you're able to code a ChartTrader panel and build the dropdown to
          select an account name, you can enter orders against the selected
          account by using the OIF interface.

          Which begs this technical point: your ChartTrader panel does not necessarily
          have to be built as a Strategy.

          Comment


            #6
            Originally posted by esmall View Post
            This function, changing trading accounts, can be done in Ninja 7 Chart Trader so one can assume there must be a way to do it, change accounts in a custom panel as in my picture.
            IMHO, I don't think NT7's Chart Trader has a 'change trading account'
            function, per se. I'm betting that's not how they do it.

            You select the account in the NT7 Chart Trader, and, when a button is
            clicked, that account is specified as an argument to an internal order
            management routine,

            I suspect the OIF Interface may be the (somewhat crude) customer facing
            API to the internal order submission routines used by ChartTrader.

            Comment


              #7
              Hi Please contact me - I have an Indicator that I need written [email protected]. I have never seen change account in a panel only in Strat settings
              esmall
              NinjaTrader Ecosystem Vendor - Ed's Retrace Plan

              Comment


                #8
                This panel is from ViperTrading
                Attached Files
                esmall
                NinjaTrader Ecosystem Vendor - Ed's Retrace Plan

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by elderan, Today, 08:03 PM
                0 responses
                2 views
                0 likes
                Last Post elderan
                by elderan
                 
                Started by algospoke, Today, 06:40 PM
                0 responses
                10 views
                0 likes
                Last Post algospoke  
                Started by maybeimnotrader, Today, 05:46 PM
                0 responses
                8 views
                0 likes
                Last Post maybeimnotrader  
                Started by quantismo, Today, 05:13 PM
                0 responses
                7 views
                0 likes
                Last Post quantismo  
                Started by AttiM, 02-14-2024, 05:20 PM
                8 responses
                169 views
                0 likes
                Last Post jeronymite  
                Working...
                X