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

Indicator OnOrderUpdate / OnExecution

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

    Indicator OnOrderUpdate / OnExecution

    It looks like these are not available in an indicator....

    Indicator OnOrderUpdate / OnExecution

    is there any way to get this information

    I want to display it on a chart that I am manually trading

    specifically, I want to have a timer (on the chart) that starts when a trade is submitted, resets to zero and restarts when a trade is entered, and stops when a trade is exited

    that includes trades manually entered

    Is this possible in some way?

    Thank you.

    #2
    Hello Turtle Trader,

    Thank you for your post.

    There is no supported method for capturing this kind information from an Indicator.

    However, there is a script available that shows how this is possible.

    You will want to take a look at the Email Executions from our support forum -
    http://www.ninjatrader.com/support/f...atid=6&lpage=1

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Thank you

      Thank you...that looks good...is there also an example for OnOrderUpdate?

      Comment


        #4
        Turtle Trader,

        You can try using the same method that is used for the execution but try OrderUpdateEventArgs instead

        Note that this is unsupported programming and don't have any documentation on it.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          much thanks!

          I'm not a native C# guy...so that really helps...

          (my first coding language was IBM mainframe assembler code, before the PC)

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by PaulMohn, Today, 05:00 AM
          0 responses
          6 views
          0 likes
          Last Post PaulMohn  
          Started by ZenCortexAuCost, Today, 04:24 AM
          0 responses
          6 views
          0 likes
          Last Post ZenCortexAuCost  
          Started by ZenCortexAuCost, Today, 04:22 AM
          0 responses
          3 views
          0 likes
          Last Post ZenCortexAuCost  
          Started by SantoshXX, Today, 03:09 AM
          0 responses
          16 views
          0 likes
          Last Post SantoshXX  
          Started by DanielTynera, Today, 01:14 AM
          0 responses
          5 views
          0 likes
          Last Post DanielTynera  
          Working...
          X