Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Execution information inside indicator

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

    Execution information inside indicator

    Hi,
    I would like to ask, if it is possible to get to execution information inside indicator code. I would like to create an indicator, which would track bid and ask volume (using OnMarketData()), but only from a point since (manual) order was executed.
    So I basicly do not need any other execution information than the time and whether it was entry or exit.
    Is there any way to do this? If there is not direct method, I would take also any kind of workaround, like checking for open positions changes..
    Thanks
    Daniel

    PS: someting similar is used in OrderFlowAnalytics plugin for NT, so I guess there must be some way.

    #2
    Welcome to our forums Daniel - unfortunately accessing manual trades is not supported from a NinjaScript indicator or strategy.

    Comment


      #3
      Thanks for the answer, just one more question: do you think it could be supported in newer versions of NT, or is there some fundamental reason, why it is unaccessible (and will remain so)?

      Comment


        #4
        Hi Daniel, I will make we note this on our product development / enhancement lists, however I feel supporting access for any script to access manual positions is debatable as potential would exist for malicious custom code to trigger unexpected actions.

        Comment


          #5
          Thanks again
          Perhaps if the access is only for reading, the potential to cause any harm would be eliminated..

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by sjsj2732, 03-23-2026, 04:31 AM
          0 responses
          69 views
          0 likes
          Last Post sjsj2732  
          Started by NullPointStrategies, 03-13-2026, 05:17 AM
          0 responses
          312 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          306 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          146 views
          1 like
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          105 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Working...
          X