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 stafe, Today, 12:34 PM
      2 responses
      16 views
      0 likes
      Last Post stafe
      by stafe
       
      Started by asmmbillah, Today, 11:18 AM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by nickse2003, Today, 09:56 AM
      1 response
      26 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by ATMtrader0001, Today, 10:08 AM
      5 responses
      37 views
      0 likes
      Last Post ATMtrader0001  
      Started by WHICKED, Today, 09:47 AM
      1 response
      25 views
      0 likes
      Last Post NinjaTrader_Spencer  
      Working...
      X