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

Recognizing market position

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

    #16
    Hello Tony,

    I don't have a ready answer.

    Possibly storing a multi-dimensional array of order and position updates and looping through these or writing custom logic that depends on order of events.

    Its not something I'm familiar with. Were it my task, it would be something I work out through coding experience and trial and error.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #17
      Hello,

      thank you for your reply. I´m lost after weeks of work because of this brick. Isn´t there anyone from support who can give me the snippet how to check if AccountPosition (from an entry outside the script) is flat?

      Thank you!
      Tony

      Comment


        #18
        Hello Tony,

        No, for Ninjatrader 7 it is not supported, as stated by multiple members of our support in the links I have provided you in Post #2.

        This is supported for NinjaTrader 8.

        If you want unsupported code for NinjaTrader 7, you will need to work with a professional consultant or wait for a community member to assist you on the forums.

        Not supported by NinjaTrader Support means that the NinjaTrader Support Team cannot provide code, samples, guidance, direction, tips, or documentation on the subject.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        1 view
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        6 views
        0 likes
        Last Post Javierw.ok  
        Started by timmbbo, Today, 08:59 AM
        2 responses
        10 views
        0 likes
        Last Post bltdavid  
        Started by alifarahani, Today, 09:40 AM
        6 responses
        41 views
        0 likes
        Last Post alifarahani  
        Working...
        X