Announcement

Collapse
No announcement yet.

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 DeskTroll, Today, 12:09 PM
          3 responses
          22 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Started by Pabulon, 12-02-2024, 03:42 PM
          14 responses
          90 views
          0 likes
          Last Post Pabulon
          by Pabulon
           
          Started by tfa2806trader, Today, 12:04 PM
          10 responses
          25 views
          0 likes
          Last Post tfa2806trader  
          Started by trdninstyle, 11-26-2024, 12:23 PM
          62 responses
          186 views
          0 likes
          Last Post trdninstyle  
          Started by lorien, 08-08-2021, 07:33 AM
          12 responses
          721 views
          0 likes
          Last Post AndyM871  
          Working...
          X