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

Is it possible to do order entry within an indicator?

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

    Is it possible to do order entry within an indicator?

    So far it has not recognized my attempt to do so with my indicator.

    #2
    So far it has not recognized my attempt to do so.

    Comment


      #3
      Hello Pete77,

      Yes that is possible. You would need to use the addon framework Account class and its methods. You can find an example of locating an account and also subscribing to order events in the following link:

      https://ninjatrader.com/support/help...ount_class.htm

      After using the above sample you could use the account variable and its Submit method: https://ninjatrader.com/support/help...nt8/submit.htm

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

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by futurenow, Yesterday, 07:03 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by Balage0922, 10-01-2019, 11:09 AM
      16 responses
      207 views
      0 likes
      Last Post rmez01
      by rmez01
       
      Started by SuperDude123, Yesterday, 07:45 PM
      1 response
      26 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by ezrollin, Yesterday, 08:34 PM
      1 response
      21 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by egar1234, Yesterday, 03:51 PM
      1 response
      18 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Working...
      X