• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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 thecashguys, Today, 10:18 AM
        0 responses
        4 views
        0 likes
        Last Post thecashguys  
        Started by pjsmith, Today, 09:58 AM
        0 responses
        8 views
        0 likes
        Last Post pjsmith
        by pjsmith
         
        Started by bebbus, Today, 09:13 AM
        0 responses
        6 views
        0 likes
        Last Post bebbus
        by bebbus
         
        Started by roblogic, Today, 08:04 AM
        0 responses
        7 views
        0 likes
        Last Post roblogic  
        Started by williamzz, Yesterday, 04:18 PM
        2 responses
        10 views
        0 likes
        Last Post williamzz  
        Working...
        X