Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

one entry after another one

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

    one entry after another one

    I have one entry and I want to have another one only if first one reached profit target. Second entry must start exactly when first entry reach the profit target.

    This is small part of my startegy. Look simple, but I have riddle with it. Please help.

    Thanks in advance

    #2
    wlodi, do you work with an automated NinjaScript strategy here or are you trading manually?

    Comment


      #3
      Hello

      I'm working on my own verssion of AutoBreakeven AutoTrail, but If somebody have simple working one I will be glad to see it. I'm working on automated strategy.

      Thanks

      Comment


        #4
        You could check into our sharing section, I believe there a generic trailstop posted.

        For your coding, you would want to use the IOrder objects then here - this would for example give you access to the exact fill event for target 1 in the OnExecution() method - from here you could issue the set of actions for example - http://www.ninjatrader.com/support/h...nt7/iorder.htm

        The OnOrderUpdate() and OnExecution() methods are reserved for experienced programmers. Instead of using Set() methods to submit stop-loss and profit target orders, you can submit and update them manually through the use of IOrder and IExecution objects in the OnOrderUpdate() and OnExecution() methods. The OnOrderUpdate()

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        71 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        43 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        25 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        28 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        56 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X