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 NichUK, Today, 10:51 AM
      0 responses
      7 views
      0 likes
      Last Post NichUK
      by NichUK
       
      Started by caseymour127, Today, 09:46 AM
      2 responses
      20 views
      0 likes
      Last Post caseymour127  
      Started by Apo84, Today, 09:37 AM
      1 response
      22 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by skblack1911, Today, 09:41 AM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_RyanS  
      Started by bedaine, Today, 09:40 AM
      3 responses
      16 views
      0 likes
      Last Post NinjaTrader_RyanS  
      Working...
      X