Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tradestation indicator with ninja, and feedback to confirm we are in sync

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

    Tradestation indicator with ninja, and feedback to confirm we are in sync

    I am completely new to ninja,
    Im lookng for a tradestation indicator I can put on my chart that will trade ninja. I dont want to use trade station email format for sending. (I would rather a dll)
    I would also like the indicator to alert me if the brokerage account and ninja are out of sync. I also will have multiple trading systems in one account, so
    functions like if NTMarketPosition("") = will need to reference the market position relative to the chart. ie other systems may be taking the opposite position to what the chart is on.
    can anyone help?

    #2
    Hi,

    To accomplish a link between TS --> NT for automated trading execution, you have to program it into your Easy Language strategy. Everything you stated can be done but it requires some clever programming.

    If you are not an experienced progammer, then the Email interface is a viable option otherwise, you could contract any EL consultant to do this for you.
    RayNinjaTrader Customer Service

    Comment


      #3
      ts indicator

      Originally posted by NinjaTrader_Ray View Post
      Hi,

      To accomplish a link between TS --> NT for automated trading execution, you have to program it into your Easy Language strategy. Everything you stated can be done but it requires some clever programming.

      If you are not an experienced progammer, then the Email interface is a viable option otherwise, you could contract any EL consultant to do this for you.
      I am a very experienced ts programmer. (an official el expert) but I know ziltch about ninja. As my request is something that everyone should find usefull is there something on the forums to do this? Even if it just an indicator that buy / sells according to ts market position via dll. That would be a good place for me to start.

      Comment


        #4
        Great.

        There is a NTSample strategy that you can run that demonstrates some of the function calls in the DLL. This strategy is installed when you import the ELD that contains all of the DLL functions.

        Help Guide resource on this is available here - http://www.ninjatrader-support.com/H...tallation.html

        Function Reference - http://www.ninjatrader-support.com/H...Functions.html

        Apart from this reference sample, there is not additional NinjaTrader provided sample code.
        RayNinjaTrader Customer Service

        Comment


          #5
          ts indicator

          iM MAKING rapid progress. So far this is a postive expereince with Ninja

          How do we specify the account that the trades go into?


          ie when I sell

          int NTSellMarket(string orderId, int quantity)


          the reason I ask is that

          int NTMarketPosition(string account) specifies the account but

          int NTSellMarket(string orderId, int quantity) doesnt.
          thanks for rapid help in this.

          Comment


            #6
            It will use the default account that is set up in NinjaTrader under Tools > Options > ATI.

            You will notice that the many of the functions are just wrapper functions of the NTCommand() function. You could just use the NTCommand() function or ammend or create a new wrapper function that places orders with an account parameter.
            RayNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by cre8able, Today, 03:20 PM
            0 responses
            2 views
            0 likes
            Last Post cre8able  
            Started by Fran888, 02-16-2024, 10:48 AM
            3 responses
            46 views
            0 likes
            Last Post Sam2515
            by Sam2515
             
            Started by martin70, 03-24-2023, 04:58 AM
            15 responses
            114 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by The_Sec, Today, 02:29 PM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by jeronymite, 04-12-2024, 04:26 PM
            2 responses
            31 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Working...
            X