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

Script EventHandlers on chart/manual trading

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

    Script EventHandlers on chart/manual trading

    Is it possible to have certain eventhandlers programmed on chart/manual trading?

    Example: i buy a specific instrument through the charttrader. I would like a custom script to perform certain actions on my buy action.

    #2
    Hello,

    Thank you for the question.

    This would not be something that NinjaTrader supports or is included with NinjaScript.

    Because NinjaScript is C#, this potentially could be possible but I am unsure exactly what would be required to accomplish it. Unfortunately I don't have any other information I could provide on this topic but this question will remain if anyone else would like to comment on this topic.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hello Jesse,

      The reason I ask is because I would like to have certain files created (EURUSD_OPEN_DateTime) when I place manual trades.

      Thanks anyhow. Maybe something for NT9

      Comment


        #4
        Hello,

        Yes NinjaTrader 8 has quite a few enhancements in the NinjaScript department so I could see this being much more possible going forward.

        NinjaTrader 7 was never really intended to have the ability to customize beyond Indicators or Strategies but as you know there is much more content than just strategies and indicators out there. Because of this it would lead to using unsupported code and more advanced programming tactics to do something along the lines of what you are asking.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          I think one way to accomplish this would be to be able to attach scripts with overriden eventhandlers to an ATM strategy.

          So have the ATM fire up certain OnPositionUpdate OnInit handlers and have custom code ran with your own script.

          Just thinking out loud.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Stanfillirenfro, Yesterday, 09:19 AM
          7 responses
          51 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by TraderCro, 04-12-2024, 11:36 AM
          4 responses
          69 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Mindset, Yesterday, 02:04 AM
          1 response
          15 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by agclub, 04-21-2024, 08:57 PM
          4 responses
          18 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by Irukandji, Today, 04:58 AM
          0 responses
          6 views
          0 likes
          Last Post Irukandji  
          Working...
          X