• 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 akitenge, 06-14-2019, 02:54 PM
        4 responses
        27 views
        0 likes
        Last Post chartish  
        Started by siriusm, Today, 09:15 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by Duval, Today, 09:27 AM
        2 responses
        5 views
        0 likes
        Last Post Duval
        by Duval
         
        Started by chazyang, Today, 08:11 AM
        2 responses
        6 views
        0 likes
        Last Post chazyang  
        Started by Erwin Beckers, 11-04-2018, 02:39 AM
        6 responses
        79 views
        2 likes
        Last Post koganam
        by koganam
         
        Working...
        X